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, GET_FACTORY_PERMISSION_NAME, getFactorySecurityPermission, PROVIDER_REGISTRATION_PERMISSION_NAME, providerRegistrationSecurityPermission, SET_FACTORY_PERMISSION_NAME, setFactorySecurityPermission
-
Constructor Summary
-
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) void
refresh()
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 aServerAuthModule
that should have the same effect as callingAuthConfigFactory.registerConfigProvider(AuthConfigProvider, String, String, String)
with the implementation providing the appropriateAuthConfigProvider
generated from the provided context.boolean
removeRegistration
(String registrationID) void
removeServerAuthModule
(Object context) Convenience method for deregistering aServerAuthModule
that 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:
getConfigProvider
in classAuthConfigFactory
-
registerConfigProvider
public String registerConfigProvider(String className, Map<String, String> properties, String layer, String appContext, String description) - Specified by:
registerConfigProvider
in classAuthConfigFactory
-
registerConfigProvider
public String registerConfigProvider(AuthConfigProvider provider, String layer, String appContext, String description) - Specified by:
registerConfigProvider
in classAuthConfigFactory
-
removeRegistration
- Specified by:
removeRegistration
in classAuthConfigFactory
-
detachListener
- Specified by:
detachListener
in classAuthConfigFactory
-
getRegistrationIDs
- Specified by:
getRegistrationIDs
in classAuthConfigFactory
-
getRegistrationContext
- Specified by:
getRegistrationContext
in classAuthConfigFactory
-
refresh
public void refresh()- Specified by:
refresh
in classAuthConfigFactory
-
registerServerAuthModule
Description copied from class:jakarta.security.auth.message.config.AuthConfigFactory
Convenience method for registering aServerAuthModule
that should have the same effect as callingAuthConfigFactory.registerConfigProvider(AuthConfigProvider, String, String, String)
with the implementation providing the appropriateAuthConfigProvider
generated from the provided context.- Specified by:
registerServerAuthModule
in classAuthConfigFactory
- Parameters:
serverAuthModule
- TheServerAuthModule
to registercontext
- The associated application context- Returns:
- A string identifier for the created registration
-
removeServerAuthModule
Description copied from class:jakarta.security.auth.message.config.AuthConfigFactory
Convenience method for deregistering aServerAuthModule
that should have the same effect as callingAuthConfigFactory.removeRegistration(String)
.- Specified by:
removeServerAuthModule
in classAuthConfigFactory
- Parameters:
context
- The associated application context
-