public class AuthConfigFileFactory extends BaseAuthConfigFactory
javax.security.auth.message.config.AuthConfigFactory.RegistrationContext
CONF_FILE_NAME, readLock, writeLock
DEFAULT_FACTORY_SECURITY_PROPERTY, GET_FACTORY_PERMISSION_NAME, getFactorySecurityPermission, PROVIDER_REGISTRATION_PERMISSION_NAME, providerRegistrationSecurityPermission, SET_FACTORY_PERMISSION_NAME, setFactorySecurityPermission
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
protected RegStoreFileParser |
getRegStore() |
_loadFactory, detachListener, doReadLocked, doWriteLocked, doWriteLocked, getConfigProvider, getRegistrationContext, getRegistrationIDs, refresh, registerConfigProvider, registerConfigProvider, removeRegistration
getFactory, setFactory
public AuthConfigFileFactory()
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 default Entries MUST HAVE BEEN CONSTRUCTED USING THE FOLLOWING CONSTRUCTOR:
EntryInfo(String className, Map
protected RegStoreFileParser getRegStore()
getRegStore
in class BaseAuthConfigFactory
Copyright © 2019. All rights reserved.