Operating Systems: i5/OS
             Personalize the table of contents and search results

This topic applies only on the i5/OS operating system.

 

Automatically configuring the connection factory

 

You can use the cfgIdToken.jacl script to automatically configure the Java 2 Connector (J2C) authentication data, the resource adapter, and the connection factory. Configure the eim.jar and jt400.jar files.

 

Overview

After you configure the eim.jar and the jt400.jar files, you can choose to manually or automatically configure the connection factory. If you choose to manually configure the connection factory, see Manually configuring the connection factory for more information.

Perform the following steps to create a connection factory named CF1 in the my_profile WebSphere Application Server profile:

 

Procedure

  1. Verify your deployment manager is started.

  2. On the CL command line, enter QSH. This command starts the Qshell environment.

  3. Change to the app_server_root/bin directory and specify the following command:

    Note: The /QIBM/ProdData/OS400/security/eim directory contains two resource adapter archive files, idTokenRA.rar and idTokenRA.JCA15.rar. The resource adapter contained in idTokenRA.rar is implemented to the J2EE Connector Architecture (JCA) 1.0 specification, while the adapter in idTokenRA.JCA15.rar is implemented to the JCA 1.5 specification. The JCA 1.5 specification is included in the J2EE 1.4 specification. See J2EE specification for more information.

    wsadmin -profileName my_profile -f /QIBM/ProdData/OS400/security/eim/cfgIdToken.jacl
      CF1 sys1.ibm.com 389 "Eim Domain 1" "Registry For my_profile" 
      -rarFile /QIBM/ProdData/OS400/security/eim/idTokenRA.JCA15.rar -authAlias myAlias1 
      -authUserName cn=administrator -authPassword pwd1 -nodeName SYS1_my_profile
    
    where:

    Notes:

 

Results

You have automatically configured the connection factory.

 

What to do next

After performing the previous steps, you can deploy the EIM sample application into the WebSphere Application Server environment. The source code files that are used in the sample application can be used as a model for creating your own applications. See Deploying the Enterprise Identity Mapping sample application for more information.


}

 

Related tasks


Configuring single sign-on capability with Enterprise Identity Mapping