Package com.sun.jaspic.config.factory
Class AuthConfigFileFactory
- java.lang.Object
-
- jakarta.security.auth.message.config.AuthConfigFactory
-
- com.sun.jaspic.config.factory.BaseAuthConfigFactory
-
- com.sun.jaspic.config.factory.AuthConfigFileFactory
-
public class AuthConfigFileFactory extends BaseAuthConfigFactory
- Author:
- ronmonzillo
-
-
Field Summary
-
Fields inherited from class com.sun.jaspic.config.factory.BaseAuthConfigFactory
CONF_FILE_NAME, readLock, writeLock
-
Fields inherited from class jakarta.security.auth.message.config.AuthConfigFactory
DEFAULT_FACTORY_SECURITY_PROPERTY, GET_FACTORY_PERMISSION_NAME, getFactorySecurityPermission, PROVIDER_REGISTRATION_PERMISSION_NAME, providerRegistrationSecurityPermission, SET_FACTORY_PERMISSION_NAME, setFactorySecurityPermission
-
-
Constructor Summary
Constructors Constructor Description AuthConfigFileFactory()
To specialize the defaultEntries passed to theRegStoreFileParser
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RegStoreFileParser
getRegStore()
-
Methods inherited from class com.sun.jaspic.config.factory.BaseAuthConfigFactory
_loadFactory, detachListener, doReadLocked, doWriteLocked, doWriteLocked, getConfigProvider, getRegistrationContext, getRegistrationIDs, refresh, registerConfigProvider, registerConfigProvider, registerServerAuthModule, removeRegistration, removeServerAuthModule
-
-
-
-
Constructor Detail
-
AuthConfigFileFactory
public AuthConfigFileFactory()
To specialize the defaultEntries passed to theRegStoreFileParser
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 default Entries MUST HAVE BEEN CONSTRUCTED USING THE FOLLOWING CONSTRUCTOR:
EntryInfo(String className, Map
properties);
-
-
Method Detail
-
getRegStore
protected RegStoreFileParser getRegStore()
- Specified by:
getRegStore
in classBaseAuthConfigFactory
-
-