Class AuthConfigFactory
java.lang.Object
jakarta.security.auth.message.config.AuthConfigFactory
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final SecurityPermissionDeprecated, for removal: This API element is subject to removal in a future version.Following JEP 411static final Stringstatic final SecurityPermissionDeprecated, for removal: This API element is subject to removal in a future version.Following JEP 411static final Stringstatic final SecurityPermissionDeprecated, for removal: This API element is subject to removal in a future version.Following JEP 411
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract String[]detachListener(RegistrationListener listener, String layer, String appContext) abstract AuthConfigProvidergetConfigProvider(String layer, String appContext, RegistrationListener listener) static AuthConfigFactorygetRegistrationContext(String registrationID) abstract String[]getRegistrationIDs(AuthConfigProvider provider) abstract voidrefresh()abstract StringregisterConfigProvider(AuthConfigProvider provider, String layer, String appContext, String description) abstract StringregisterConfigProvider(String className, Map<String, String> properties, String layer, String appContext, String description) abstract StringregisterServerAuthModule(ServerAuthModule serverAuthModule, Object context) Convenience method for registering aServerAuthModulethat should have the same effect as callingregisterConfigProvider(AuthConfigProvider, String, String, String)with the implementation providing the appropriateAuthConfigProvidergenerated from the provided context.abstract booleanremoveRegistration(String registrationID) abstract voidremoveServerAuthModule(Object context) Convenience method for deregistering aServerAuthModulethat should have the same effect as callingremoveRegistration(String).static voidsetFactory(AuthConfigFactory factory) 
- 
Field Details- 
DEFAULT_FACTORY_SECURITY_PROPERTY- See Also:
 
- 
GET_FACTORY_PERMISSION_NAME- See Also:
 
- 
SET_FACTORY_PERMISSION_NAME- See Also:
 
- 
PROVIDER_REGISTRATION_PERMISSION_NAME- See Also:
 
- 
getFactorySecurityPermissionDeprecated, for removal: This API element is subject to removal in a future version.Following JEP 411
- 
setFactorySecurityPermissionDeprecated, for removal: This API element is subject to removal in a future version.Following JEP 411
- 
providerRegistrationSecurityPermission@Deprecated(forRemoval=true) public static final SecurityPermission providerRegistrationSecurityPermissionDeprecated, for removal: This API element is subject to removal in a future version.Following JEP 411
 
- 
- 
Constructor Details- 
AuthConfigFactorypublic AuthConfigFactory()
 
- 
- 
Method Details- 
getFactory
- 
setFactory
- 
getConfigProviderpublic abstract AuthConfigProvider getConfigProvider(String layer, String appContext, RegistrationListener listener) 
- 
registerConfigProvider
- 
registerConfigProviderpublic abstract String registerConfigProvider(AuthConfigProvider provider, String layer, String appContext, String description) 
- 
removeRegistration
- 
detachListenerpublic abstract String[] detachListener(RegistrationListener listener, String layer, String appContext) 
- 
getRegistrationIDs
- 
getRegistrationContext
- 
refreshpublic abstract void refresh()
- 
registerServerAuthModuleConvenience method for registering aServerAuthModulethat should have the same effect as callingregisterConfigProvider(AuthConfigProvider, String, String, String)with the implementation providing the appropriateAuthConfigProvidergenerated from the provided context.- Parameters:
- serverAuthModule- The- ServerAuthModuleto register
- context- The associated application context
- Returns:
- A string identifier for the created registration
- Since:
- Authentication 3.0
 
- 
removeServerAuthModuleConvenience method for deregistering aServerAuthModulethat should have the same effect as callingremoveRegistration(String).- Parameters:
- context- The associated application context
- Since:
- Authentication 3.0
 
 
-