Package com.sun.web.security
Class CNonceCacheFactoryImpl
java.lang.Object
com.sun.web.security.CNonceCacheFactoryImpl
- All Implemented Interfaces:
com.sun.enterprise.security.CNonceCacheFactory,org.glassfish.hk2.api.PostConstruct
@Service
@Singleton
public class CNonceCacheFactoryImpl
extends Object
implements com.sun.enterprise.security.CNonceCacheFactory, org.glassfish.hk2.api.PostConstruct
- Author:
- vbkumarjayanti
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected longMaximum number of client nonces to keep in the cache.protected longHow 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 -
Method Summary
Modifier and TypeMethodDescriptionorg.glassfish.security.common.CNonceCachecreateCNonceCache(String appName, String clusterName, String instanceName, String storeName) void
-
Field Details
-
cnonceCacheSize
protected long cnonceCacheSizeMaximum number of client nonces to keep in the cache. If not specified, the default value of 1000 is used. -
nonceValidity
protected long nonceValidityHow long server nonces are valid for in milliseconds. Defaults to 5 minutes.
-
-
Constructor Details
-
CNonceCacheFactoryImpl
public CNonceCacheFactoryImpl()
-
-
Method Details
-
postConstruct
public void postConstruct()- Specified by:
postConstructin interfaceorg.glassfish.hk2.api.PostConstruct
-
createCNonceCache
public org.glassfish.security.common.CNonceCache createCNonceCache(String appName, String clusterName, String instanceName, String storeName) - Specified by:
createCNonceCachein interfacecom.sun.enterprise.security.CNonceCacheFactory
-