Manually configure the connection factory
Perform the following steps to manually configure the connection factory:
Configure the J2C authentication data
- Navigate to Global security (Security -> Global security).
- Click to open JAAS Configuration under Authentication.
- Click J2C Authentication data.
- Click New
- Enter the values for each of the required fields. The User ID (cn=administrator for example) and Password values are those used by the connection factory to bind to the LDAP server that contains your EIM data.
- Click OK
Configure the resource adapter
- Navigate to Resource Adapters (Resources -> Resource Adapters)
- Select the Node where you wish to install the resource adapter
- Click Apply
- Click Install RAR
- Select Local Path if you have mapped a drive to your iSeries system. Otherwise, select Server path
- Type or browse to provide the path name for the RAR file idTokenRA.rar (/QIBM/ProdData/OS400/Java400/ext/idTokenRA.rar on your iSeries V5R2 system)
- Click Next
- Type the name of your adapter in the name field (identitytoken for example).
- Click OK
Configure the connection factory
- On the Resource Adapters page, click the name of your resource adapter (i.e. identitytoken)
- Under Additional Properties click J2C Connection Factories
- Click New
- Type the name of your connection factory in the name field (idtokenconnection for example).
- Type eis/IdentityToken in the JNDI name field. Note that this name must match the JNDI name used later for reference binding when deploying the sample application.
- Select the Authentication Data Alias that you created earlier for the Container-managed and Component-managed Authentication Alias fields
- Select DefaultPrincipalMapping for the Mapping-Configuration Alias field
- Click Apply
- Under Additional Properties click Custom Properties
- The custom properties (see Identity Token Parameters above) are used by the connection factory to communicate with the EIM controller. Observe the custom property descriptions and whether the properties are required or optional. To set a property value:
- Click on the name of the custom property
- Type the value of the property in the Value field
- Click OK
Save your configuration changes
- Navigate to Save Changes to Master Repository (System administration > Save Changes to Master Repository).
- Click Save.