Configure the server to support signature authentication
Overview
Important distinction between V5.x and v6.x applicationsNote: The information in this article supports v5.x applications only that are used with WAS v6.x. The information does not apply to v6.0.x applications.
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. After 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.
Procedure
- Launch an assembly tool. For more information on the assembly tools, see Assembly tools.
- Open the J2EE perspective by clicking Window > Open perspective > Other > J2EE.
- Click EJB Projects > appname > ejbModule > META-INF.
- Right-click the webservices.xml file, and click Open with > Web services editor.
- Click the Extensions tab, which is located at the bottom of the Web Services Editor within the assembly tool.
- Expand the Request receiver service configuration details > Login configuration section. We can select from the following options:
- Select Signature to authenticate the client using an X509 certificate. The certificate that is sent from the client is the certificate that issued for signing the message. You must be able to map this certificate to the configured user registry. For Local operating system (OS) registries, the common name (cn) of the distinguished name (DN) is mapped to a user ID in the registry. For Lightweight Directory Access Protocol (LDAP), one can configure multiple mapping modes:
- EXACT_DN is the default mode that directly maps the DN of the certificate to an entry in the LDAP server.
- CERTIFICATE_FILTER is the mode that provides the LDAP advanced configuration with a place to specify a filter that maps specific attributes of the certificate to specific attributes of the LDAP server.
What to do next
For more information on getting started with the Web services editor within the assembly tool, see Configuring the server security bindings using an assembly tool.After you specify how the server handles signature authentication information, specify how the server validates the authentication information. See Configuring the server to validate signature authentication information for more information.
See Also
Signature authentication method
Related Tasks
Configuring the server to validate signature authentication information
Configuring the server security bindings using an assembly tool