Configure the client for identity assertion: Collecting the authentication method

This task is used to configure identity assertion authentication. The purpose of identity assertion is to assert the authenticated identity of the originating client from a Web service to a downstream Web service. Do not attempt to configure identity assertion from a pure client. Identity assertion works only when you configure on the client-side of a Web service acting as a client to a downstream Web service.

In order for the downstream Web service to accept the identity of the originating client (just the user name), supply a special trusted BasicAuth credential that the downstream Web service trusts and can authenticate successfully.  You must specify the user ID of the special BasicAuth credential in a trusted ID evaluator on the downstream Web service configuration. For more information on trusted ID evaluators, see Trusted ID evaluators.

Complete the following steps to specify how the client collects the authentication information...

  1. Launch the Assembly Toolkit.

  2. Open the J2EE perspective by clicking Window > Open Perspective > Other > J2EE.

  3. Select the Web services-enabled Enterprise JavaBean (EJB) or Web module.

  4. In the Project Navigator window, locate the META-INF directory for an EJB module or the WEB-INF directory for a Web module.

  5. Right-click the webservicesclient.xml file, and click Open With > Web Services Client Editor.

  6. Click the Port Binding tab, which is located at the bottom of the Web Services Client Editor within the Assembly Toolkit.

  7. Expand the Security Request Sender Binding Configuration > Login Binding section.

  8. Click Edit to view the login binding information and select IDAssertion. The login binding dialog is displayed. Select or enter the following information...

    Authentication method The authentication method specifies the type of authentication that occurs. Select IDAssertion to use identity assertion.

    Token value type URI and Token value type Local name When you select IDAssertion, you cannot edit the token value type Universal Resource Identifier (URI) and the local name. Specifies custom authentication types.  For IDAssertion authentication, leave these values blank.

    Callback handler Specifies the JAAS callback handler implementation for collecting the BasicAuth information.  Specify the implementation for IDAssertion.

    Basic authentication User ID and Basic authentication Password In this field the trust mode entered in the extensions is BasicAuth. Specifies the trusted user ID and password in these fields. The user ID specified must be an ID that is trusted by the downstream Web service. The Web service trusts the user ID if it is entered as a trusted ID in a trusted ID evaluator in the downstream Web service bindings. If the trust mode entered in the extensions is Signature, you do not need to specify any information in this field.

    Property Name and Property Value Specifies properties with name and value pairs, for use by custom callback handlers. For IDAssertion, you do not need to specify any information in this field.

To use the identity assertion authentication method, specify the method in the Security Extentions section of the Assembly Toolkit. See Configuring the client for identity assertion authentication: specifying the method if you have not previously specified this information.


See Also

Trusted ID evaluator
Securing Web services using identity assertion authentication
Configuring the client for identity assertion: specifying the method
Configuring the client security bindings using the Assembly Toolkit