Class CNonceCacheFactoryImpl
- java.lang.Object
-
- com.sun.enterprise.security.auth.digest.impl.CNonceCacheFactoryImpl
-
- All Implemented Interfaces:
CNonceCacheFactory
,org.glassfish.hk2.api.PostConstruct
@Service @Singleton public class CNonceCacheFactoryImpl extends Object implements CNonceCacheFactory, org.glassfish.hk2.api.PostConstruct
- Author:
- vbkumarjayanti
-
-
Field Summary
Fields Modifier and Type Field Description protected long
cnonceCacheSize
Maximum number of client nonces to keep in the cache.protected long
nonceValidity
How long server nonces are valid for in milliseconds.-
Fields inherited from interface com.sun.enterprise.security.CNonceCacheFactory
CLUSTER_NAME_PROP, INSTANCE_NAME_PROP
-
-
Constructor Summary
Constructors Constructor Description CNonceCacheFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CNonceCache
createCNonceCache(String appName, String clusterName, String instanceName, String storeName)
void
postConstruct()
-
-
-
Method Detail
-
postConstruct
public void postConstruct()
- Specified by:
postConstruct
in interfaceorg.glassfish.hk2.api.PostConstruct
-
createCNonceCache
public CNonceCache createCNonceCache(String appName, String clusterName, String instanceName, String storeName)
- Specified by:
createCNonceCache
in interfaceCNonceCacheFactory
-
-