Configure the client for LTPA token authentication: Collecting the authentication method information

Use this task to configure Lightweight Third Party authentication (LTPA) token authentication. Do not configure the client for LTPA token authentication unless the authentication mechanism configured in WAS is LTPA. When a client authenticates to a WebSphere Application Server, the credential created contains an LTPA token. When a Web service calls a downstream Web service, you can configure the first Web service to send the LTPA token from the originating client. Do not attempt to configure LTPA from a pure client. LTPA works only when you configure the client-side of a Web service acting as a client to a downstream Web service. In order for the downstream Web service to validate the LTPA token, the LTPA keys on both servers must be the same.

Complete the following steps to specify how to collect the LTPA token 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 LTPA.  If LTPA is not already there, enter it as an option. The login binding dialog is displayed. Select or enter the following information...

    Authentication method Specifies the type of authentication that occurs. Select LTPA to use identity assertion.

    Token value type URI and token value type local name When you select LTPA, edit the token value type URI and the local name fields. Specifies values for custom authentication types, which are authentication methods not mentioned in the specification.  For the token value type URI field, enter the following string: http://www.ibm.c../WAS51/appserver/tokentype/5.0.2.  For the local name field, enter the following string:  LTPA.

    Callback handler Specifies the JAAS callback handler implementation for collecting the LTPA information.  Specify the com.ibm.wsspi.wssecurity.auth.callback.LTPATokenCallbackHandler implementation for LTPA.

    Basic authentication user ID and basic authentication password For LTPA, you can leave these fields empty.

    Property name and property value For LTPA, you can leave these fields empty.

See Configuring the client for LTPA token authentication: Specifying LTPA token authentication if you have not previously specified this information.

 

See Also

Lightweight Third Party Authentication
Securing Web services using a pluggable token
Configuring the client for LTPA token authentication: specifying LTPA token authentication
Configuring the client security bindings using the Assembly Toolkit
Configuring the security bindings on a server acting as a client using the administrative console