Configure J2C authentication data entries
Java 2 Connector (J2C) authentication data entries are used by resource adapters and JDBC data sources. A Java 2 Connector authentication data entry contains authentication data, which contains the following information:
Alias
An identifier used to identify the authenticated data entry. When configuring resource adapters or Java database connectivity (JDBC) data sources, the administrator can specify which authentication data to choose for the corresponding alias.User ID
A user identity that is used to connect to the resource adapter of the intended security domain.Password
The password of the user identity is encoded in the configuration respository.Description
A short text description.
Create a new J2C authentication data entry
Perform the following steps in the WebSphere administrative console to create a new J2C authentication data entry:
- In the navigation menu, expand Security and then click JAAS Configuration --> J2C Authentication Data.
- In the J2C Authentication Data Entries panel, click New.
- Enter a unique alias, a value user ID, a valid password, and a short description (optional).
- Click OK or Apply. Note that no validation is performed on the user ID and password.
- Click Save.
- For a Network Deployment installation, make sure a file-synchronized operation is performed to propagate the changes to other nodes.
Use the newly created entry without restarting the application server process. Specifically, the authentication data is loaded by an application server when starting an application and is shared among applications in the same application server.
Delete a J2C authentication data entry
Perform the following steps in the WebSphere administrative console to delete a J2C authentication data entry:
- Before you delete or remove an authentication data entry, make sure that it is not used or referenced by any resource adapter or JDBC data source. If the deleted authentication data entry is used or referenced by a resource, the application that uses the resource adapter or JDBC data source fails to connect to the resources.
- In the navigation menu, expand Security and then click JAAS Configuration --> J2C Authentication Data.
- In the J2C Authentication Data panel, select the check boxes for the entries to delete and click Delete.