If you have two ATG instances pointed at a single ACI installation, each ATG instance can use different custom authentication provider properties.
First, use Cognos Configuration to register and add a new namespace:
Start Cognos Configuration.
Navigate to Security > Authentication.
Right-click Authentication and select New resource > Namespace....
Provide a name for the namespace.
Set the type to Custom Java Provider.
Set the Java class name to
atg.cognos.security.AuthenticationProvider
.Set the namespace ID property to a unique ID for this namespace.
Then create a new AuthenticationProvider.properties
file. The /atg/cognos/CognosAuthenticationProvider.properties
file is used when there is only one custom authentication provider. To configure multiple providers, copy the existing file and name the new file as shown:
AuthenticationProvider_namespaceID
.properties
In this case, namespaceID
represents the namespace ID of the authentication provider as configured in Cognos Configuration. Add one such configuration file for each custom authentication provider you want to access your ACI installation.
See the Custom Authentication Provider SDK Developer Guide for additional information on authentication.