com.sun.xml.wss.impl.misc
Class NonceCache

java.lang.Object
  extended by java.util.TimerTask
      extended by com.sun.xml.wss.impl.misc.NonceCache
All Implemented Interfaces:
Runnable

@ManagedData
public class NonceCache
extends TimerTask


Field Summary
protected static Logger log
          logger
 
Constructor Summary
NonceCache()
           
NonceCache(long maxNonceAge)
           
 
Method Summary
 boolean cancel()
           
 long getMaxNonceAge()
           
 boolean isScheduled()
           
 void removeExpired()
           
 void run()
           
 void scheduled(boolean flag)
           
 boolean validateAndCacheNonce(String nonce, String created)
           
 boolean wasCanceled()
           
 
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
 

Field Detail

log

protected static final Logger log
logger

Constructor Detail

NonceCache

public NonceCache()

NonceCache

public NonceCache(long maxNonceAge)
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()

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.