Package com.sun.xml.wss.impl.misc
Class NonceCache
- java.lang.Object
-
- java.util.TimerTask
-
- com.sun.xml.wss.impl.misc.NonceCache
-
-
Constructor Summary
Constructors Constructor Description NonceCache()NonceCache(long maxNonceAge)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancancel()longgetMaxNonceAge()booleanisScheduled()voidremoveExpired()voidrun()voidscheduled(boolean flag)booleanvalidateAndCacheNonce(String nonce, String created)booleanwasCanceled()-
Methods inherited from class java.util.TimerTask
scheduledExecutionTime
-
-
-
-
Field Detail
-
log
protected static final Logger log
logger
-
-
Method Detail
-
validateAndCacheNonce
public boolean validateAndCacheNonce(String nonce, String created) throws NonceManager.NonceException
- Throws:
NonceManager.NonceException
-
isScheduled
@ManagedAttribute public boolean isScheduled()
-
scheduled
public void scheduled(boolean flag)
-
wasCanceled
@ManagedAttribute public boolean wasCanceled()
-
getMaxNonceAge
@ManagedAttribute public long getMaxNonceAge()
-
removeExpired
public void removeExpired()
-
-