Class AuthConfigFactoryImpl
java.lang.Object
jakarta.security.auth.message.config.AuthConfigFactory
org.apache.catalina.authenticator.jaspic.AuthConfigFactoryImpl
-
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]detachListener(RegistrationListener listener, String layer, String appContext) getConfigProvider(String layer, String appContext, RegistrationListener listener) getRegistrationContext(String registrationID) String[]getRegistrationIDs(AuthConfigProvider provider) voidrefresh()registerConfigProvider(AuthConfigProvider provider, String layer, String appContext, String description) registerConfigProvider(String className, Map<String, String> properties, String layer, String appContext, String description) registerServerAuthModule(ServerAuthModule serverAuthModule, Object context) Convenience 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.booleanremoveRegistration(String registrationID) voidremoveServerAuthModule(Object context) Convenience method for deregistering aServerAuthModulethat should have the same effect as callingAuthConfigFactory.removeRegistration(String).Methods inherited from class jakarta.security.auth.message.config.AuthConfigFactory
getFactory, setFactory
-
Constructor Details
-
AuthConfigFactoryImpl
public AuthConfigFactoryImpl()
-
-
Method Details
-
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
- Specified by:
removeRegistrationin classAuthConfigFactory
-
detachListener
- Specified by:
detachListenerin classAuthConfigFactory
-
getRegistrationIDs
- Specified by:
getRegistrationIDsin classAuthConfigFactory
-
getRegistrationContext
- Specified by:
getRegistrationContextin classAuthConfigFactory
-
refresh
public void refresh()- Specified by:
refreshin classAuthConfigFactory
-
registerServerAuthModule
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
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
-