Configure the server to validate signature authentication information

Use this task to configure signature authentication at the server. Signature authentication refers to an X.509 certificate sent by the client to the server. The certificate is used to authenticate to the user registry configured at the server.  Once a request is received by the server that contains the certificate, the server needs to log in to form a credential.  The credential is used for authorization.  If the certificate supplied cannot be mapped to an entry in the user registry, an exception is thrown and the request ends without invoking the resource. For more information on signature authentication, see Signature authentication method.

Complete the following steps to configure the server to validate signature authentication...

  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 webservices.xml file, and click Open With > Web Services Editor.

  6. Click the Binding Configurations tab, which is located at the bottom of the Web services editor within the Assembly Toolkit.

  7. Expand the Request Receiver Binding Configuration Details > Login Mapping section.

  8. Click Edit to view the login mapping information or click Add to add new login mapping information.The login mapping dialog is displayed and you select (or enter) the following information:

    Authentication method Specifies the type of authentication. Select Signature to use signature authentication.

    Configuration name Specifies the JAAS login configuration name.  For the signature authentication method, enter system.wssecurity.Signature for the JAAS login configuration name.  This specification logs in with the com.ibm.wsspi.wssecurity.auth.module.SignatureLoginModule JAAS login module.

    Use token value type Determines if you want to specify a custom token type.  For the default authentication method selections, you can leave this field blank.

    URI and local name When you select Signature method, you cannot edit the token value type URI and local name values.  Specifies custom authentication types.  For signature authentication, you can leave this field blank.

    Callback handler factory class name Creates a JAAS CallbackHandler implementation that understands the following callback handlers...

    For any of the default authentication methods (BasicAuth, IDAssertion, and Signature), use the callback handler factory default implementation.  Enter the following class name for any of the default authentication methods including signature: 

    com.ibm.wsspi.wssecurity.auth.callback.WSCallbackHandlerFactoryImpl
    

    This implementation creates the correct callback handler for the default implementations.

    Callback handler factory property name and callback handler factory property value Specifies callback handler properties for custom callback handler factory implementations. You do not need to specify any properties for the default callback handler factory implementation.  For signature, you can leave this field blank.

    Login mapping property name and login mapping property value Specifies properties for a custom login mapping to use.  For the default implementations including signature, you can leave this field blank.

Specify how the server handles the signature authentication method. See Configuring the server to handle signature authentication if you have not previously specified this information.

 

See Also

Signature authentication method
Securing Web services using signature authentication
Configuring the server to support signature authentication
Configuring the server security bindings using the Assembly Toolkit