java.lang.Object
com.sun.xml.ws.commons.AbstractMOMRegistrationAware
com.sun.xml.wss.NonceManager
com.sun.xml.wss.impl.misc.HANonceManager
- All Implemented Interfaces:
com.sun.xml.ws.commons.MOMRegistrationAware
- Author:
- suresh
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclassNested 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
ConstructorsConstructorDescriptionHANonceManager(long maxNonceAge) HANonceManager(org.glassfish.ha.store.api.BackingStore<com.sun.xml.ws.commons.ha.StickyKey, HANonceManager.HAPojo> backingStore, long maxNonceAge) -
Method Summary
Methods inherited from class com.sun.xml.wss.NonceManager
deleteInstance, getInstance, getMaxNonceAge, setMaxNonceAgeMethods inherited from class com.sun.xml.ws.commons.AbstractMOMRegistrationAware
isRegisteredAtMOM, setRegisteredAtMOM
-
Constructor Details
-
HANonceManager
public HANonceManager(long maxNonceAge) -
HANonceManager
public HANonceManager(org.glassfish.ha.store.api.BackingStore<com.sun.xml.ws.commons.ha.StickyKey, HANonceManager.HAPojo> backingStore, long maxNonceAge)
-
-
Method Details
-
validateNonce
- Specified by:
validateNoncein 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
-
remove
- Throws:
org.glassfish.ha.store.api.BackingStoreException
-