com.sun.xml.wss.impl.misc
Class NonceCache
java.lang.Object
java.util.TimerTask
com.sun.xml.wss.impl.misc.NonceCache
- All Implemented Interfaces:
- java.lang.Runnable
@ManagedData
public class NonceCache
- extends java.util.TimerTask
|
Field Summary |
protected static java.util.logging.Logger |
log
logger |
| Methods inherited from class java.util.TimerTask |
scheduledExecutionTime |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final java.util.logging.Logger log
- logger
NonceCache
public NonceCache()
NonceCache
public NonceCache(long maxNonceAge)
validateAndCacheNonce
public boolean validateAndCacheNonce(java.lang.String nonce,
java.lang.String created)
throws NonceManager.NonceException
- Throws:
NonceManager.NonceException
isScheduled
@ManagedAttribute
public boolean isScheduled()
scheduled
public void scheduled(boolean flag)
wasCanceled
@ManagedAttribute
public boolean wasCanceled()
run
public void run()
- Specified by:
run in interface java.lang.Runnable- Specified by:
run in class java.util.TimerTask
cancel
public boolean cancel()
- Overrides:
cancel in class java.util.TimerTask
getMaxNonceAge
@ManagedAttribute
public long getMaxNonceAge()
removeExpired
public void removeExpired()
Copyright © 2005-2011 Oracle Corporation. All Rights Reserved.