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:

Create a new J2C authentication data entry

Perform the following steps in the WebSphere administrative console to create a new J2C authentication data entry:

  1. In the navigation menu, expand Security and then click JAAS Configuration --> J2C Authentication Data.
  2. In the J2C Authentication Data Entries panel, click New.
  3. Enter a unique alias, a value user ID, a valid password, and a short description (optional).
  4. Click OK or Apply. Note that no validation is performed on the user ID and password.
  5. Click Save.

You can 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:

  1. 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.
  2. In the navigation menu, expand Security and then click JAAS Configuration --> J2C Authentication Data.
  3. In the J2C Authentication Data panel, select the check boxes for the entries to delete and click Delete.