Configuring container-managed EIS sign-on

Although the method for configuring container-managed EIS sign-on is deprecated in WebSphere Application Server Version 6, this topic uses a Dynamic Web Project to illustrate how to configure a component for container-managed EIS sign-on.

This configuration setting is reflected by the <res-auth>Container</res-auth> directive of the resource reference used by your application.
  1. Set the <res-auth> directive to Container.
    1. In the J2EE perspective of the Project Explorer view, expand Dynamic Web Projects > PhoneBookWeb.
    2. Right-click Deployment Descriptor: PhoneBookWeb and select Open With > Deployment Descriptor Editor.
    3. In the Web Deployment Desccriptor view, click the References tab and select the J2C Connection factory reference for your Web application. For example, select imsCFacRef..
    4. In the Authentication field, select Container from the drop-down list, if it is not already selected.
    5. When you close the Web Deployment Descriptor Editor and click Yes to save your changes. The following code is added to the deployment descriptor of your Web application:
      <res-auth>Container</res-auth>
  2. Specify a method of providing the user ID and password that you want the application server. To use a JAAS authentication alias to provide the user ID and password that you can use for EIS sign-on, complete the following steps:
    1. In the Servers view, right-click the server and select Run administrative console.
    2. Expand Resources and select Resource Adapters.
    3. Select the resource adapter you want to modify.
    4. Under Additional Properties, click J2C connection factories.
    5. Under Related Items, click J2EE Connector Architecture (J2C) authentication data entries.
    6. Above the list of aliases, click New.
    7. Enter an alias name, your user ID, password, and optional description. Select OK.
  3. Select the JAAS authentication alias for the Container-managed authentication alias property of the J2C connection factory used by your application. You can do this when you first create the connection factory or later by editing the connection factory. To edit the connection factory:
    1. In the Administrative Console for the server you selected, navigate to the connection factory that you wish to modify. For example, Resource adapters > server_name > J2C connection factories > connection_factory_name.
    2. In the Container-managed authentication alias drop down list, select the JAAS authentication alias to be used for the container-managed authentication by applications using that connection factory.
    3. Select OK.

For information about the properties of a connection factory, see Connection Properties.

Note: The process for configuring container-managed sign-on in a standalone WebSphere® Application Server is the same as the process for a WebSphere Application Server in a unit test environment.

Related concepts
IMS resource adapter security
Component-managed EIS sign-on
Container-managed EIS sign-on
Overview of secure socket layer (SSL)
Related tasks
Configuring component-managed EIS sign-on
Using secure socket layer (SSL) support
Terms of use | Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.