You can designate a specific user account attribute
in your authentication provider to map to the tenant. After you choose
the user account attribute that you want to map to the tenant, you
must create a custom property and map it to that attribute.
You
need to map the user account attribute to the property
in IBM® Cognos® Configuration.
Before you begin
The user account attribute that you choose to identify
the user's tenant should be used only for this purpose.
For
example, you can decide that the businessUnit attribute
of an LDAP user account will identify the user's tenant. In this case,
you set the Pattern type property as shown
in the following example: ~/parameters/parameter_name.
Next, you specify a custom property named parameter_name and
associate this property with the user account attribute businessUnit
Procedure
- Open IBM Cognos Configuration.
- Choose whether to configure multitenancy settings globally
for all namespaces, or for a specific namespace.
- To configure multitenancy for all namespaces, in the Explorer
window, for the Security category, click Authentication.
- To configure multitenancy for one namespace, in the Explorer window,
for the Security category, click Authentication.
Then, click the namespace that you want to configure.
- In the Multitenancy group of properties,
click the edit button for the Tenant ID Mapping property.
- In the Tenant ID Mapping box that
is displayed, specify your mapping in the following way:
- For Type, select Pattern.
- For Value, type the string that
you created that is based on the instructions earlier in this topic.
For example, type ~/parameters/parameter_name,
where ~/parameters is a constant part of the syntax
and parameter_name is the custom property name.
- Click OK.
- In the Account Mappings (Advanced) group
of properties, specify the custom property and map it to the account
attribute in the following way:
- Click in the Value column for Custom
properties, and click the edit button.
- In the Value - Custom properties window,
click Add.
- In the Name column, type the
custom property name. In the Value column,
type the name of the attribute. For the example that is used in step
4, the custom property should be: parameter_name for Name and businessUnit for Value.
- Click OK.
- Test your multitenancy configuration.
- Right-click either Authentication or
the namespace (depending on your choice in step 2) and click Test.
- Log on using the credentials of the system administrator,
and click OK.
- Click the Details button, and
read the information that is displayed.
If multitenancy is properly configured, your tenant
ID is displayed in the details. If the tenant ID is not displayed,
update and correct the values and test again.
- If the testing was successful, from the File menu,
click Save.
- Restart the IBM Cognos service for the changes
to take effect.