ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzamy_5.4.0.1/50/sec/seccj2c.htm

59 lines
3.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
<title>Configure J2C authentication data entries</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h3><a name="seccjca"></a>Configure J2C authentication data entries</h3>
<p>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:</p>
<ul>
<li><p><strong>Alias</strong>
<br>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.</p></li>
<li><p><strong>User ID</strong>
<br>A user identity that is used to connect to the resource adapter of the intended security domain.</p></li>
<li><p><strong>Password</strong>
<br>The password of the user identity is encoded in the configuration respository.</p></li>
<li><p><strong>Description</strong>
<br>A short text description.</p></li>
</ul>
<p><strong>Create a new J2C authentication data entry</strong></p>
<p>Perform the following steps in the WebSphere administrative console to create a new J2C authentication data entry:</p>
<ol>
<li>In the navigation menu, expand <strong>Security</strong> and then click <strong>JAAS Configuration --&gt; J2C Authentication Data</strong>.</li>
<li>In the J2C Authentication Data Entries panel, click <strong>New</strong>.</li>
<li>Enter a unique alias, a value user ID, a valid password, and a short description (optional).</li>
<li>Click <strong>OK</strong> or <strong>Apply</strong>. Note that no validation is performed on the user ID and password.</li>
<li>Click <strong>Save</strong>.</li>
</ol>
<p>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.</p>
<p><strong>Delete a J2C authentication data entry</strong></p>
<p>Perform the following steps in the WebSphere administrative console to delete a J2C authentication data entry:</p>
<ol>
<li>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.</li>
<li>In the navigation menu, expand <strong>Security</strong> and then click <strong>JAAS Configuration --&gt; J2C Authentication Data</strong>.</li>
<li>In the J2C Authentication Data panel, select the check boxes for the entries to delete and click <strong>Delete</strong>.</li>
</ol>
</body>
</html>