public class HANonceManager extends NonceManager
| Modifier and Type | Class and Description |
|---|---|
static class |
HANonceManager.HAPojo |
class |
HANonceManager.nonceCleanupTask |
NonceManager.NonceExceptionLOGGER, nonceManager| Constructor and Description |
|---|
HANonceManager(org.glassfish.ha.store.api.BackingStore<StickyKey,HANonceManager.HAPojo> backingStore,
long maxNonceAge) |
HANonceManager(long maxNonceAge) |
| Modifier and Type | Method and Description |
|---|---|
void |
remove(String key) |
boolean |
validateNonce(String nonce,
String created) |
deleteInstance, getInstance, getMaxNonceAge, setMaxNonceAgeisRegisteredAtMOM, setRegisteredAtMOMpublic HANonceManager(long maxNonceAge)
public HANonceManager(org.glassfish.ha.store.api.BackingStore<StickyKey,HANonceManager.HAPojo> backingStore, long maxNonceAge)
public boolean validateNonce(String nonce, String created) throws NonceManager.NonceException
validateNonce in class NonceManagernonce - the nonce to be validatedcreated - the creation time of the nonce as indicated in the UsernameTokenNonceManager.NonceException - if a replay is detectedpublic void remove(String key) throws org.glassfish.ha.store.api.BackingStoreException
org.glassfish.ha.store.api.BackingStoreExceptionCopyright © 2005–2018 Oracle Corporation. All rights reserved.