Class JaspiAuthConfigProvider
- All Implemented Interfaces:
- jakarta.security.auth.message.config.AuthConfigProvider
A Jetty implementation of the AuthConfigProvider to allow registration of a ServerAuthModule
 directly without having to write a custom AuthConfigProvider.
If this is being constructed by an AuthConfigFactory after being passed in as a className, then
 you will need to provide the property ServerAuthModule containing the fully qualified name of
 the ServerAuthModule class you wish to use.
- 
Constructor SummaryConstructorsConstructorDescriptionJaspiAuthConfigProvider(jakarta.security.auth.message.module.ServerAuthModule serverAuthModule) JaspiAuthConfigProvider(jakarta.security.auth.message.module.ServerAuthModule serverAuthModule, Map properties) JaspiAuthConfigProvider(String className) JaspiAuthConfigProvider(String className, Map properties) JaspiAuthConfigProvider(Map properties, jakarta.security.auth.message.config.AuthConfigFactory factory) Constructor with signature and implementation that's required by API.
- 
Method SummaryModifier and TypeMethodDescriptionjakarta.security.auth.message.config.ClientAuthConfiggetClientAuthConfig(String layer, String appContext, CallbackHandler handler) jakarta.security.auth.message.config.ServerAuthConfiggetServerAuthConfig(String layer, String appContext, CallbackHandler handler) voidrefresh()
- 
Constructor Details- 
JaspiAuthConfigProviderpublic JaspiAuthConfigProvider(Map properties, jakarta.security.auth.message.config.AuthConfigFactory factory) Constructor with signature and implementation that's required by API. The property map must contain the ServerAuthModuleproperty containing the fully qualified name of theServerAuthModuleclass you wish to use. If this constructor is being used for self-registration an optional property ofappContextcan be used specify the appContext value to register the provider.- Parameters:
- properties- A Map of initialization properties.
- factory- The- AuthConfigFactoryto register on.
 
- 
JaspiAuthConfigProvider- Parameters:
- className- The fully qualified name of a- ServerAuthModuleclass.
 
- 
JaspiAuthConfigProvider- Parameters:
- className- The fully qualified name of a- ServerAuthModuleclass.
- properties- A Map of initialization properties.
 
- 
JaspiAuthConfigProviderpublic JaspiAuthConfigProvider(jakarta.security.auth.message.module.ServerAuthModule serverAuthModule) - Parameters:
- serverAuthModule- The instance of- ServerAuthModuleto use.
 
- 
JaspiAuthConfigProviderpublic JaspiAuthConfigProvider(jakarta.security.auth.message.module.ServerAuthModule serverAuthModule, Map properties) - Parameters:
- serverAuthModule- The instance of- ServerAuthModuleto use.
- properties- A Map of initialization properties.
 
 
- 
- 
Method Details- 
getClientAuthConfigpublic jakarta.security.auth.message.config.ClientAuthConfig getClientAuthConfig(String layer, String appContext, CallbackHandler handler) - Specified by:
- getClientAuthConfigin interface- jakarta.security.auth.message.config.AuthConfigProvider
 
- 
getServerAuthConfigpublic jakarta.security.auth.message.config.ServerAuthConfig getServerAuthConfig(String layer, String appContext, CallbackHandler handler) - Specified by:
- getServerAuthConfigin interface- jakarta.security.auth.message.config.AuthConfigProvider
 
- 
refreshpublic void refresh()- Specified by:
- refreshin interface- jakarta.security.auth.message.config.AuthConfigProvider
 
 
-