Package com.sun.xml.wss.impl.misc
Class DefaultNonceManager
java.lang.Object
com.sun.xml.ws.commons.AbstractMOMRegistrationAware
com.sun.xml.wss.NonceManager
com.sun.xml.wss.impl.misc.DefaultNonceManager
- All Implemented Interfaces:
MOMRegistrationAware
@ManagedObject
@Description("per-endpoint NonceManager")
@AMXMetadata(type="WSNonceManager")
public class DefaultNonceManager
extends NonceManager
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sun.xml.wss.NonceManager
NonceManager.NonceException
-
Field Summary
Fields inherited from class com.sun.xml.wss.NonceManager
LOGGER, nonceManager
-
Constructor Summary
-
Method Summary
Methods inherited from class com.sun.xml.wss.NonceManager
deleteInstance, getInstance, getMaxNonceAge, setMaxNonceAge
Methods inherited from class com.sun.xml.ws.commons.AbstractMOMRegistrationAware
isRegisteredAtMOM, setRegisteredAtMOM
-
Field Details
-
log
logger
-
-
Constructor Details
-
DefaultNonceManager
public DefaultNonceManager()
-
-
Method Details
-
validateNonce
- Specified by:
validateNonce
in classNonceManager
- Parameters:
nonce
- the nonce to be validatedcreated
- the creation time of the nonce as indicated in the UsernameToken- Returns:
- true if the nonce is not a replay
- Throws:
NonceManager.NonceException
- if a replay is detected
-