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 Details

    • cnonceCacheSize

      protected long cnonceCacheSize
      Maximum number of client nonces to keep in the cache. If not specified, the default value of 1000 is used.
    • nonceValidity

      protected long nonceValidity
      How 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:
      postConstruct in interface org.glassfish.hk2.api.PostConstruct
    • createCNonceCache

      public org.glassfish.security.common.CNonceCache createCNonceCache(String appName, String clusterName, String instanceName, String storeName)
      Specified by:
      createCNonceCache in interface com.sun.enterprise.security.CNonceCacheFactory