com.sun.jaspic.config.factory
Class AuthConfigFileFactory

java.lang.Object
  extended by javax.security.auth.message.config.AuthConfigFactory
      extended by com.sun.jaspic.config.factory.BaseAuthConfigFactory
          extended by com.sun.jaspic.config.factory.AuthConfigFileFactory

public class AuthConfigFileFactory
extends BaseAuthConfigFactory

Author:
ronmonzillo

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.security.auth.message.config.AuthConfigFactory
AuthConfigFactory.RegistrationContext
 
Field Summary
 
Fields inherited from class com.sun.jaspic.config.factory.BaseAuthConfigFactory
CONF_FILE_NAME, rLock, wLock
 
Fields inherited from class javax.security.auth.message.config.AuthConfigFactory
DEFAULT_FACTORY_SECURITY_PROPERTY
 
Constructor Summary
AuthConfigFileFactory()
          to specialize the defaultEntries passed to the RegStoreFileParser constructor, create another subclass of BaseAuthconfigFactory, that is basically a copy of this class, with a change to the third argument of the call to new ResSToreFileParser.
 
Method Summary
protected  RegStoreFileParser getRegStore()
           
 
Methods inherited from class com.sun.jaspic.config.factory.BaseAuthConfigFactory
_loadFactory, detachListener, getConfigProvider, getRegistrationContext, getRegistrationIDs, refresh, registerConfigProvider, registerConfigProvider, removeRegistration
 
Methods inherited from class javax.security.auth.message.config.AuthConfigFactory
getFactory, setFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthConfigFileFactory

public AuthConfigFileFactory()
to specialize the defaultEntries passed to the RegStoreFileParser constructor, create another subclass of BaseAuthconfigFactory, that is basically a copy of this class, with a change to the third argument of the call to new ResSToreFileParser. to ensure runtime use of the the associated regStore, make sure that the new subclass also contains an implementation of the getRegStore method. As done within this class, use the locks defined in BaseAuthConfigFactory to serialize access to the regStore (both within the class constructor, and within getRegStore) All EentyInfo OBJECTS PASSED as deualtEntries MUST HAVE BEEN CONSTRCTED USING THE FOLLOWING CONSTRUCTOR: EntryInfo(String className, Map properties);

Method Detail

getRegStore

protected RegStoreFileParser getRegStore()
Specified by:
getRegStore in class BaseAuthConfigFactory


Copyright © 2012 GlassFish Community. All Rights Reserved.