WebSphere Application Server Version 6.1 Feature Pack for Web Services
             Operating Systems: i5/OS

             Personalize the table of contents and search results
This topic applies only on the i5/OS operating system.

Manually configuring the connection factory

The following steps help you manually configure the connection factory.

Before you begin

Configure the eim.jar and jt400.jar files.

About this task

After you configure the eim.jar and jt400.jar files, you can choose to manually or automatically configure the connection factory. If you choose to automatically configure the connection factory, see Automatically configuring the connection factory for more information. Perform the following steps to manually configure the Java 2 Connector (J2C) authentication data, the resource adapter, and the connection factory.

Procedure

  1. Configure the Java 2 Connector (J2C) authentication data.
    1. In the WebSphere Application Server administrative console, click Security >Secure administration, applications, and infrastructure.
    2. Under Java Authentication and Authorization Service, click J2C Authentication data > New
    3. Specify the values for each of the required fields. The User ID (cn=administrator for example) and Password values are those that are used by the connection factory to bind to the Lightweight Directory Access Protocol (LDAP) server that contains your Enterprise Identity Mapping (EIM) data.
    4. Click OK.
  2. Configure the resource adapter.
    1. In the WebSphere Application Server administrative console, click Resources > Resource adapters > Resource adapters.
    2. Select the node where you want to install the resource adapter.
    3. Click Apply.
    4. Click Install RAR.
    5. Select Local path if you have a drive that is mapped to your iSeries server. Otherwise, select Server path.
    6. Specify the path name or browse to the path name for the idTokenRA.JCA15.rar RAR file.
    7. Click Next.
    8. Specify the name of your adapter in the Name field. For example, specify identitytoken.
    9. Click OK.
  3. Configure the connection factory.
    1. On the Resource Adapters panel, click the name of your newly created resource adapter.
    2. Under Additional Properties, click J2C connection factories > New.
    3. Specify the name of your connection factory in the Name field. For example, specify idtokenconnection.
    4. Specify eis/IdentityToken in the Java Naming and Directory Interface (JNDI) name field. This name must match the JNDI name used during the deployment of the sample application. The name is used for reference binding.
    5. In the Component-managed authentication alias and Container-managed authentication alias fields, select the authentication data alias that you created earlier.
    6. In the Mapping-configuration alias field, select DefaultPrincipalMapping.
    7. Click Apply.
    8. Under Additional Properties, click Custom properties. The custom properties are used by the connection factory to communicate with the EIM controller. View the custom property descriptions, and determine whether the properties are required or optional. For more information, see Enterprise Identity Mapping identity token connection factory parameters.
      To set a property value, complete the following steps:
      1. Click the name of the custom property.
      2. Type the value of the property in the Value field.
      3. Click OK.
  4. Save your configuration changes.
    1. Expand System administration and click Save Changes to Master Repository.
    2. Click Save.

Results

You have manually configured the connection factory.

What to do next

After saving your configuration changes, 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.



In this information ...


IBM Redbooks, demos, education, and more


Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

IBM Suggests
Task topic    

Terms of Use | Feedback

Last updated: Nov 25, 2008 2:35:59 AM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.wsfep.multiplatform.doc/info/ae/ae/tsec_idtokenconfigman.html