Use this page to specify settings for a connection factory.
To view this administrative console page, click Resources > Resource Adapters > resource_adapter > J2C connection factories > J2C_connection_factory.
The scope of the resource adapter that connects applications to an enterprise information system (EIS) through this connection factory. Only applications that are installed within this scope can use this connection factory.
Specifies a list of connection factory display names.
This is a required property.
Data type | String |
The JNDI name of this connection factory.
For example, the name could be eis/myECIConnection.
After you set this value, save it and restart the server. You can see this string when you run the dumpNameSpace tool. This is a required property. If you do not specify a JNDI name, it is filled in by default using the Name field.
Data type | String |
Default | eis/display name |
Specifies a text description of this connection factory.
Data type | String |
The fully qualified name of the Connection Factory Interfaces supported by the resource adapter.
This is a required property. For new objects, the list of available classes is provided by the resource adapter in a drop-down list. After you create the connection factory, the field is a read only text field.
Data type | Drop-down list or text |
Specifies a string that you can use to classify or group this connection factory.
Data type | String |
Specifies authentication data for component-managed signon to the resource.
Choose from aliases defined under Security > JAAS Configuration > J2C Authentication Data. To define a new alias not already appearing in the pick list:
Data type | List |
This optional field is used to specify the authentication alias that should be used during XA recovery processing.
If the resource adapter does not support XA transactions, then this field will not be displayed. The default value will come from the selected alias for application authentication (if specified).
Data type | Radio button |
Data type | Radio button |
The authentication mechanisms defined for this connection factory.
Note: Beginning with WebSphere Application Server Version 6.0, the authentication preference is superseded by the combination of the <res-auth> application component deployment descriptor setting and the specification of a login configuration on the resource-reference mapping at deployment time.
This setting specifies which of the authentication mechanisms defined for the corresponding
resource adapter applies to this connection factory. Common values, depending on the capabilities of the resource adapter, are: KERBEROS, BASIC_PASSWORD
, and None. If None is chosen, the application component is expected to manage authentication (<res-auth>Application</res-auth>).
In this case, the user ID and password are taken from one of the following:
For example, if two authentication mechanism entries are defined for a resource adapter in the ra.xml document:
the authentication preference specifies the mechanism to use for container-managed authentication. An exception is issued during server startup if a mechanism that is not supported by the resource adapter is selected.
Data type | Pick-list |
Default | BASIC_PASSWORD |
The authentication alias for the Java Authentication and Authorization Service (JAAS) mapping configuration that is used by this connection factory.
Note: Beginning with WebSphere Application Server Version 6.0, the Mapping-Configuration Alias is superseded by the specification of a login configuration on the resource-reference mapping at deployment time, for components with res-auth=Container .
Click Security > JAAS Configuration > Application Logins Configuration and select an alias from the list.
The DefaultPrincipalMapping JAAS configuration maps the authentication alias to the userid and password. You may define and use other mapping configurations.
Data type | Pick-list |
Related concepts
Resource adapter
Connection factory
JDBC providers
Related tasks
Configuring J2EE Connector