Configure pluggable tokens using the administrative console
Overview
This document describes how to configure a pluggable token in the request sender files...
ibm-webservicesclient-ext.xmi
ibm-webservicesclient-bnd.xmi...and in the request receiver files...
ibm-webservices-ext.xmi
ibm-webservices-bnd.xmiThe pluggable token is required for the request sender and request receiver as they are a pair. The request sender and the request receiver must match for a request to be accepted by the receiver.
Configuration Steps
- Click...
Console | Applications | Enterprise Applications | enterprise_application- Under Related Items, click either...
EJB Modules | URIModule...or...
Web Modules | URIModule- Under Additional Properties, click...
Web Services: Client Security Bindings...to edit the response sender binding information, if Web services is acting as the client.
- Under Response Sender Binding, click Edit.
- Under Additional Properties, click Login Binding.
- Select Dedicated Login Binding to define a new login binding or select None to clear the login binding.
- Enter the authentication method in the Authentication Method field. This entry must match the authentication method defined in the extension deployment descriptor. The authentication method must be unique in the binding file.
- Enter an implementation of the JAAS javax.security.auth.callback.CallbackHandler interface in the Callback Handler field.
- (Optional) Enter the basic authentication user ID and password in the Basic Auth User ID and Basic Auth Password fields, respectively.The basic authentication information is passed to the construct of the CallbackHandler implementation. The usage of the basic authentication information is determined by the CallbackHandler implementation.
- Enter the token value type URI and local name in the Token Type URI and Token Type Local Name fields.
This information is optional for the BasicAuth, Signature and IDAssertion authentication methods, but required for any other authentication method. The token value type is inserted into the element...
<wsse:BinarySecurityToken>@ValueType...for binary security token and used as the namespace of the XML based token.
- Click Apply.
- Under Additional Properties, click Properties.
Define the property with name and value pairs. These pairs are passed to the construct of the CallbackHandler implementation as java.util.Map values.
- Click...
Applications | Enterprise Applications | enterprise_application.- Under Related Items, click either EJB Modules > URI or Web Modules > URI.The URI is the Web services-enabled module.
- Under Additional Properties, click...
Web Services: Server Security Bindings...to edit the request receiver binding information.
- Under Request Receiver Binding, click Edit.
- Under Additional Properties, click Login Mappings.
- Click New to create a new login mapping.
You also can edit an existing login mapping by clicking the name. You can delete a login mapping by selecting the box next to the login mapping name and clicking Remove.
- Enter the authentication method in the Authentication Method field. This entry must match the authentication method defined in the extension deployment descriptor. The authentication method must be unique in the login mapping collection of the binding file.
- Select a JAAS login configuration name from the JAAS Configuration Name menu.
Security | JAAS Configuration | Application Logins.- Enter an implementation of...
com.ibm.wsspi.wssecurity.auth.callback.CallbackHandlerFactoryinterface in the Callback Handler Factory Classname field. This field is mandatory.
- Enter the token value type URI and local name in the Token Type URI and Token Type Local Name fields. This information is optional for the BasicAuth, Signature and IDAssertion authentication methods, but required for any other authentication method. The token value type is inserted into the element...
<wsse:BinarySecurityToken>@ValueType...for binary security token and used as the namespace of the XML based token.- Click Apply.
- Under Additional Properties, click Properties.
- Click New and enter the name and value pairs in the Property Name and Property Value fields.These name and value pairs are available to the JAAS login modules by JAAS Callback interface...
com.ibm.wsspi.wssecurity.auth.callback.PropertyCallbackThese pairs are available when editing existing login mappings, but not when creating new login mappings.
- Return to the Additional Properties heading and click Callback Handler Factory Property.The Callback Handler Factory Property option is located on the same menu where you previously clicked Properties.
- Click New and enter the name and value pairs in the Property Name and Property Value fields.These name and value pairs are passed as java.util.Map values to the method...
com.ibm.wsspi.wssecurity.auth.callback.CallbackHandlerFactory.init()The usage of these name and value pairs is determined by the CallbackHandlerFactory implementation.
- Click Save in the upper-left section of the administrative console.
The previous steps define how to configure the request sender to create security tokens in the SOAP message and the request receiver to validate the security tokens found in the incoming SOAP message. WAS supports pluggable security tokens.
You can use the authentication method defined in the login bindings and login mappings to generate security tokens in the request sender and validate security tokens in the request receiver.
Once you have configured pluggable tokens, configure both the client and the server to support pluggable tokens. See the following topics to configure the client and the server...
- Configure the client for LTPA token authentication: specifying LTPA token authentication
- Configure the client for LTPA token authentication: collecting the authentication information
- Configure the server to handle LTPA token authentication
- Configure the server to validate LTPA token authentication information
See Also
Pluggable token support
Authentication method overview
Binary security token
XML token
Username token element
Security token
Token type overview
Securing Web services using a pluggable token
Configure pluggable tokens using the Assembly Toolkit
Configure the client security bindings using the Assembly Toolkit
Configure the security bindings on a server acting as a client using the administrative console
Configure the server security bindings using the Assembly Toolkit
Configure the server security bindings using the administrative console
Developing Web services based on Web Services for J2EE
Configure JAAS login
Configuring the client for LTPA token authentication: specifying LTPA token authentication
Configuring the client for LTPA token authentication: Collecting the authentication method information
Configuring the server to handle LTPA token authentication information
Configuring the server to validate LTPA token authentication information