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

java.lang.Object
  extended by com.sun.xml.wss.NonceManager
      extended by com.sun.xml.wss.impl.misc.HANonceManager

public class HANonceManager
extends NonceManager

Author:
suresh

Nested Class Summary
static class HANonceManager.HAPojo
           
 class HANonceManager.nonceCleanupTask
           
 
Nested 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
HANonceManager(org.glassfish.ha.store.api.BackingStore<StickyKey,HANonceManager.HAPojo> backingStore, long maxNonceAge)
           
HANonceManager(long maxNonceAge)
           
 
Method Summary
 void remove(String key)
           
 boolean validateNonce(String nonce, String created)
           
 
Methods inherited from class com.sun.xml.wss.NonceManager
deleteInstance, getInstance, getMaxNonceAge, setMaxNonceAge
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HANonceManager

public HANonceManager(long maxNonceAge)

HANonceManager

public HANonceManager(org.glassfish.ha.store.api.BackingStore<StickyKey,HANonceManager.HAPojo> backingStore,
                      long maxNonceAge)
Method Detail

validateNonce

public boolean validateNonce(String nonce,
                             String created)
                      throws NonceManager.NonceException
Specified by:
validateNonce in class NonceManager
Parameters:
nonce - the nonce to be validated
created - 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

public void remove(String key)
            throws org.glassfish.ha.store.api.BackingStoreException
Throws:
org.glassfish.ha.store.api.BackingStoreException


Copyright © 2005-2011 Oracle Corporation. All Rights Reserved.