com.sun.xml.wss.impl.misc
Class NonceCache
java.lang.Object
java.util.TimerTask
com.sun.xml.wss.impl.misc.NonceCache
- All Implemented Interfaces:
- Runnable
@ManagedData
public class NonceCache
- extends TimerTask
|
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
NonceCache
public NonceCache()
NonceCache
public NonceCache(long maxNonceAge)
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()
run
public void run()
- Specified by:
run in interface Runnable- Specified by:
run in class TimerTask
cancel
public boolean cancel()
- Overrides:
cancel in class TimerTask
getMaxNonceAge
@ManagedAttribute
public long getMaxNonceAge()
removeExpired
public void removeExpired()
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.