Configuring multitenancy that is based on a custom tenant provider
You can create a custom Java class and reference
it when configuring multitenancy. You can use this method when you
need to join data from multiple authentication providers, or from
an authentication provider and a relational database. You must use
the IBM® Cognos® Software Development Kit for this method.
When using this method, you map the
property in IBM Cognos Configuration to a custom Java™ class.Before you begin
Before you can configure multitenancy by using this method, you must perform the following tasks:
- Compile any required custom Java class files into JAR files and either place the files into the c10_location/webapps/p2pd/WEB-INF/lib directory with any associated files, or update the CLASSPATH environment variable to include the path to these files.
- Implement the ITenantProvider interface by using
the IBM Cognos Custom Authentication Provider and
define the custom Java class
in that interface. For example, the custom Java class name can be com.example.class.
For more information, see the IBM Cognos Software Development Kit
Custom Authentication Provider Developer Guide.Tip: IBM Cognos Custom Authentication Provider includes a sample custom Java class that you can use. You can find the sample files in the c10_location\sdk\java\AuthenticationProvider\MultiTenancyTenantProviderSample directory.