public class NonceCache extends AbstractUniqueMessageAttributeCache
| Constructor and Description |
|---|
NonceCache() |
NonceCache(int maxLifeTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToCache(String id,
String userName)
Add value to a cache.
|
void |
clearCache()
Clears all recorded nonce values/sequence numbers.
|
boolean |
valueExistsInCache(String id,
String userName)
Checks whether value already exists in the cache for a given user name.
|
getMaximumLifeTimeOfAnAttribute, setMaximumLifeTimeOfAnAttributepublic void addToCache(String id, String userName)
UniqueMessageAttributeCacheid - - Nonce value or sequence number.userName - - User name parameter value of the UserNameToken.public boolean valueExistsInCache(String id, String userName)
UniqueMessageAttributeCacheid - - Nonce or sequence id value of the newly received message.userName - - User name parameter value of the UserName token.public void clearCache()
UniqueMessageAttributeCacheCopyright © Apache Software Foundation. All Rights Reserved.