Class SimpleAuthConfigProvider
java.lang.Object
org.apache.catalina.authenticator.jaspic.SimpleAuthConfigProvider
- All Implemented Interfaces:
- AuthConfigProvider
Basic implementation primarily intended for use when using third-party
 
ServerAuthModule implementations that only provide the module.- 
Constructor SummaryConstructorsConstructorDescriptionSimpleAuthConfigProvider(Map<String, Object> properties, AuthConfigFactory factory) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected ServerAuthConfigcreateServerAuthConfig(String layer, String appContext, CallbackHandler handler, Map<String, Object> properties) getClientAuthConfig(String layer, String appContext, CallbackHandler handler) getServerAuthConfig(String layer, String appContext, CallbackHandler handler) voidrefresh()
- 
Constructor Details- 
SimpleAuthConfigProvider
 
- 
- 
Method Details- 
getClientAuthConfigpublic ClientAuthConfig getClientAuthConfig(String layer, String appContext, CallbackHandler handler) throws AuthException This implementation does not support client-side authentication and therefore always returns null.- Specified by:
- getClientAuthConfigin interface- AuthConfigProvider
- Throws:
- AuthException
 
- 
getServerAuthConfigpublic ServerAuthConfig getServerAuthConfig(String layer, String appContext, CallbackHandler handler) throws AuthException - Specified by:
- getServerAuthConfigin interface- AuthConfigProvider
- Throws:
- AuthException
 
- 
createServerAuthConfigprotected ServerAuthConfig createServerAuthConfig(String layer, String appContext, CallbackHandler handler, Map<String, Object> properties) 
- 
refreshpublic void refresh()- Specified by:
- refreshin interface- AuthConfigProvider
 
 
-