com.sun.xml.wss.impl.misc
Class HANonceManager
java.lang.Object
com.sun.xml.ws.commons.AbstractMOMRegistrationAware
com.sun.xml.wss.NonceManager
com.sun.xml.wss.impl.misc.HANonceManager
- All Implemented Interfaces:
- MOMRegistrationAware
public class HANonceManager
- extends NonceManager
- Author:
- suresh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HANonceManager
public HANonceManager(long maxNonceAge)
HANonceManager
public HANonceManager(BackingStore<StickyKey,HANonceManager.HAPojo> backingStore,
long maxNonceAge)
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
remove
public void remove(String key)
throws BackingStoreException
- Throws:
BackingStoreException
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.