Configuring your application to use EIM

Configuring authentication settings for your WebFacing application

If you are using the WebFacing Tool, configure authentication settings in the Run Time properties for your project. See Setting authentication options for more information on setting authentication options for WebFacing applications.

  1. To open your WebFacing project properties, right-click the project in the WebFacing Projects view, and select Properties. The host name in the project settings is the system containing the target registry.
  2. Click the Authentication tab to view the authentication settings.
  3. Click the Use single signon radio button.
  4. For this example, check the Specify EIM resource reference field and enter idTokenRR.
    Note: The string idTokenRR can be any string. It is used when mapping this resource reference to the actual adapter name configured in WAS. This string is case sensitive.
  5. Click OK to finish.

Adding a resource reference to the Web Deployment Descriptor

Now update the Web Deployment Descriptor for WebFacing applications.

  1. In the Navigator view, expand the Web project folder and double-click the Web Deployment Descriptor (web.xml) file in the WebContent\WEB-INF folder.
  2. Start of changeIn the Design tab select the Web Application (name of the application) and click the Add button in the Overview area. In the popup scroll down to select Resource Reference and click OK to configure the resource references. End of change
  3. Start of changeIn this example, type idTokenRR for the Name field, select javax.jms.ConnectionFactory in the Type list, and select Container from the Authentication list. End of change
  4. Click Finish.
  5. Start of changeOn the WebSphere Deployment Descriptors Window, click WebSphere Bindings Descriptor. On the Design tab, select Web Bindings and click the Add button. Select Resource Reference in the pop up window and click OK. Enter eis/idTokenRR for the Binding name field. Enter idTokenRR in the Name field. End of change
  6. Start of changeSave and close the Web Deployment Descriptor file and Web Bindings file.End of change

Feedback