Class AuthConfigFactoryImpl
- java.lang.Object
-
- jakarta.security.auth.message.config.AuthConfigFactory
-
- org.apache.catalina.authenticator.jaspic.AuthConfigFactoryImpl
-
public class AuthConfigFactoryImpl extends AuthConfigFactory
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jakarta.security.auth.message.config.AuthConfigFactory
AuthConfigFactory.RegistrationContext
-
-
Field Summary
-
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 AuthConfigFactoryImpl()
-
Method Summary
-
Methods inherited from class jakarta.security.auth.message.config.AuthConfigFactory
getFactory, setFactory
-
-
-
-
Method Detail
-
getConfigProvider
public AuthConfigProvider getConfigProvider(String layer, String appContext, RegistrationListener listener)
- Specified by:
getConfigProviderin classAuthConfigFactory
-
registerConfigProvider
public String registerConfigProvider(String className, Map<String,String> properties, String layer, String appContext, String description)
- Specified by:
registerConfigProviderin classAuthConfigFactory
-
registerConfigProvider
public String registerConfigProvider(AuthConfigProvider provider, String layer, String appContext, String description)
- Specified by:
registerConfigProviderin classAuthConfigFactory
-
removeRegistration
public boolean removeRegistration(String registrationID)
- Specified by:
removeRegistrationin classAuthConfigFactory
-
detachListener
public String[] detachListener(RegistrationListener listener, String layer, String appContext)
- Specified by:
detachListenerin classAuthConfigFactory
-
getRegistrationIDs
public String[] getRegistrationIDs(AuthConfigProvider provider)
- Specified by:
getRegistrationIDsin classAuthConfigFactory
-
getRegistrationContext
public AuthConfigFactory.RegistrationContext getRegistrationContext(String registrationID)
- Specified by:
getRegistrationContextin classAuthConfigFactory
-
refresh
public void refresh()
- Specified by:
refreshin classAuthConfigFactory
-
registerServerAuthModule
public String registerServerAuthModule(ServerAuthModule serverAuthModule, Object context)
Description copied from class:jakarta.security.auth.message.config.AuthConfigFactoryConvenience method for registering aServerAuthModulethat should have the same effect as callingAuthConfigFactory.registerConfigProvider(AuthConfigProvider, String, String, String)with the implementation providing the appropriateAuthConfigProvidergenerated from the provided context.- Specified by:
registerServerAuthModulein classAuthConfigFactory- Parameters:
serverAuthModule- TheServerAuthModuleto registercontext- The associated application context- Returns:
- A string identifier for the created registration
-
removeServerAuthModule
public void removeServerAuthModule(Object context)
Description copied from class:jakarta.security.auth.message.config.AuthConfigFactoryConvenience method for deregistering aServerAuthModulethat should have the same effect as callingAuthConfigFactory.removeRegistration(String).- Specified by:
removeServerAuthModulein classAuthConfigFactory- Parameters:
context- The associated application context
-
-