When you specify the token generators at the application level, the information is used on the generator side to generate the security token.
Complete the following steps to configure the token generator on the application level:
On the application level, if you do not specify a security token in your deployment descriptor, the Part reference field is not displayed. If you define a security token called user_tgen in your deployment descriptor, user_tgen is displayed as an option in the Part reference field. You can specify a security token in the deployment descriptor when you assemble your application using an assembly tool.
also see the information about configuring a collection certificate store.
Property name | Default value | Explanation |
---|---|---|
com.ibm.ws.wssecurity.config.token. BasicAuth.Nonce.cacheTimeout | 600 seconds | Timeimeout value, in seconds, for the nonce value that is cached on the server. |
com.ibm.ws.wssecurity.config.token. BasicAuth.Nonce.clockSkew | 0 seconds | Timeime, in seconds, before the nonce time stamp expires. |
com.ibm.ws.wssecurity.config.token. BasicAuth.Nonce.maxAge | 300 seconds | Specifies the clock skew value, in seconds, to consider when WebSphere Application Server checks the timeliness of the message. |
On the cell and server levels, you can specify these additional properties for a nonce on the Default bindings for Web services security panel within the administrative console.
For an LTPA token, you can use LTPA for the value type local name and http://www.ibm.com/websphere/appserver/tokentype/5.0.2 for the value type Uniform Resource Identifier (URI). For LTPA token propagation, you can use LTPA_PROPAGATION for the value type local name and http://www.ibm.com/websphere/appserver/tokentype for the value type URI.
MyCallbackHandler(String username, char[] password, java.util.Map properties)Where:
MyCallbackHandler(java.util.Map properties)WebSphere Application Server provides the following default callback handler implementations:
The callback handler implementation obtains the required security token and passes it to the token generator. The token generator inserts the security token in the Web services security header within the SOAP message. Also, the token generator is a plug-in point for the pluggable security token framework. Service providers can provide their own implementation, but the implementation must use the com.ibm.wsspi.wssecurity.token.TokenGeneratorComponent interface.