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(value="per-endpoint NonceManager")
@AMXMetadata(type="WSNonceManager")
public class DefaultNonceManager
- extends NonceManager
|
Field Summary |
protected static Logger |
log
logger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final Logger log
- logger
DefaultNonceManager
public DefaultNonceManager()
validateNonce
public boolean validateNonce(String nonce,
String created)
throws NonceManager.NonceException
- Specified by:
validateNonce in class NonceManager
- 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
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.