Important: The information in this article supports version 5.x applications only that are used with WebSphere Application Server Version 6. The information does not apply to version 6 applications.
Nonce is a randomly generated, cryptographic token used to thwart the highjacking of username tokens used with Simple Object Access Protocol (SOAP) messages. Nonce is used in conjunction with the BasicAuth authentication method.
This task provides instructions on how to configure nonce for the application level using the WebSphere Application Server administrative console.
You can configure nonce at the application level, the server level, and cell level. However, consider the order of precedence:
If you configure nonce on the application level and the server level, the values specified for the application level take precedence over the values specified for the server level.
Likewise, the values specified for the application level take precedence over the values specified for the server level and cell level.
Nonce is not supported for authentication methods other than
BasicAuth .
If you specify BasicAuth ,
but do not specify values for the Nonce maximum age field, the Web services
security run time searches for a Nonce Maximum Age value on the server level.
If a value is not found on the server level, the run time searches the cell level. If a value is not found on either the server level or the cell level,
the default is 300 seconds.
The value specified for the Nonce Maximum Age field indicates how long the nonce is valid. You must specify a minimum of 300 seconds, but the value cannot exceed the number of seconds specified for the Nonce Cache Timeout field for either the server level or the cell level You can specify the Nonce Cache Timeout value for the server level by completing the following steps:
You can specify the Nonce Cache Timeout value for the cell level by clicking Security > Web services .
Nonce is not supported for authentication methods other than
BasicAuth .
If you specify BasicAuth ,
but do not specify values for the Nonce clock skew field, the Web services
security run time searches for a Nonce clock skew value on the server level.
If a value is not found on the server level, the run time searches the cell level. If a value is not found on either the server level or the cell level,
the default is 0 seconds. Consider the following information when you set this value:
Related concepts
Nonce, a randomly generated token
Username token element
Related tasks
Configuring nonce for the cell level
Configuring nonce for the server level
Related reference
Default bindings for Web services security