Package org.glassfish.security.common
Interface CNonceCache
-
- All Known Implementing Classes:
CNonceCacheImpl,HACNonceCacheImpl
@Contract public interface CNonceCache extends Map<String,NonceInfo>
- Author:
- vbkumarjayanti
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddestroy()destroylonggetCnonceCacheSize()longgetNonceValidity()voidinit(long size, String name, long validity, Map<String,String> props)Initialize the cachevoidsetCnonceCacheSize(long cnonceCacheSize)voidsetNonceValidity(long nonceValidity)-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Method Detail
-
setCnonceCacheSize
void setCnonceCacheSize(long cnonceCacheSize)
- Parameters:
cnonceCacheSize- the cnonceCacheSize to set
-
setNonceValidity
void setNonceValidity(long nonceValidity)
- Parameters:
nonceValidity- the nonceValidity to set
-
getCnonceCacheSize
long getCnonceCacheSize()
- Returns:
- the cnonceCacheSize
-
getNonceValidity
long getNonceValidity()
- Returns:
- the nonceValidity
-
init
void init(long size, String name, long validity, Map<String,String> props)Initialize the cache
-
destroy
void destroy()
destroy
-
-