Before you configure your applications to use EIM, you will need
to import an external connector resource archive (RAR) file into your workspace.
If you are using WebSphere Development Studio Client for iSeries V5.1.2, refer
to the section at the end of this document.
- From the IDE, select .
- Select RAR file and click Next.
- In the Connector Import dialog, select Browse and
navigate to \Program Files\IBM\Rational\SDP\6.0\radi_prod\eclipse\plugins\com.ibm.etools.iseries.webtools.ae_6.0.0\lib.
- Select the eimIdTokenRA.rar file and click Open to
add it to the Connector Import dialog.
- Select your EAR project from the list.

Note: Two RAR files are provided. eimIdTokenRA.rar encapsulates
eim.jar and facilitates deployment. idTokenRA.rar does not
contain eim.jar, and requires the user to add it and configure the Server
classpath.
- Click Finish to import the RAR file into
a new project.
Now configure the resource adapter to use the
EIM domain created previously.
- In the Project Navigator, expand the EAR folder for your project
and double-click the EAR Deployment Descriptor file (application.xml) under
META-INF to open it in the editor.
- Click the Deployment tab and expand the Authentication section.
- Click Add to configure JAAS authentication
for the LDAP administrator. Enter the user ID and password for this administrator
and click OK.

- Expand the J2C Options section.
- Click Add next to J2C Resource
Adapters. The Create Resource Adapter dialog
is displayed with the resource adapter name eimIdTokenRA in
the Resource Adapter Name field. Click OK to
close the dialog.
- Click Add next to J2C Connection
Factories. The Create Connection Factory dialog
is displayed.
- Enter a name for the connection factory.
- Enter a JNDI name for this connection factory in the JNDI
name field (for example, eis/idTokenRoot).
- Set Max connections to 6.
- Select the LDAP administrator for the Container-managed and Component-managed authentication
aliases and click OK.

- Under Resource Properties, enter your iSeries
host name as the value for LdapHostName, the name of
your EIM domain (specified during EIM configuration) as the value for EimDomainName,
and System_A_WAS as the value for SourceRegistryName.
- LDAPHostName - enter your LDAP host name
- EimDomainName - enter the name of your EIM domain, specified during
EIM configuration
- ParentDomain - enter the base distinguished name for the directory
service. This value was also used during LDAP and WAS configuration.
- SourceRegistryName - enter the name of your LDAP registry, for
example, System_A_WAS

- Save and close the server configuration.
- In the Servers view, right-click the test
server and select Restart to start it.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.