The J2EE connector architecture enables you to write portable Java applications that can access multiple transactional enterprise information systems. A resource adapter is a specialized connection factory that provides connections for EJBs, Java servlets, JSPs, and CORBA-Java components.
Each resource adapter has a set of managed connection factories with their own property files. The Java Connection Manager (JCM) classes create the connection factories and manage a pool of connections for a resource adapter. You can use JAAS to authenticate a resource adapter, resource principal, or the application component’s caller principal when accessing enterprise information systems.
See “Configuring connectors” Chapter 4, “Database Access” in the EAServer System Administration Guide for more information about connectors.
To use JAAS for authentication, you must enable JAAS on the EAServer where the resource adapter is located. See “JAAS in EAServer”.
An entry in the login configuration file is identified by the name of the resource adapter for which JAAS is used. If container-managed authentication is set, any component that tries to obtain a connection from resource adapter’s connection factory is authenticated by the login module defined by the configuration file entry.