Class SimpleAuthConfigProvider
- java.lang.Object
- 
- org.apache.catalina.authenticator.jaspic.SimpleAuthConfigProvider
 
- 
- All Implemented Interfaces:
- AuthConfigProvider
 
 public class SimpleAuthConfigProvider extends java.lang.Object implements AuthConfigProvider Basic implementation primarily intended for use when using third-partyServerAuthModuleimplementations that only provide the module.
- 
- 
Constructor SummaryConstructors Constructor Description SimpleAuthConfigProvider(java.util.Map<java.lang.String,java.lang.String> properties, AuthConfigFactory factory)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ServerAuthConfigcreateServerAuthConfig(java.lang.String layer, java.lang.String appContext, javax.security.auth.callback.CallbackHandler handler, java.util.Map<java.lang.String,java.lang.String> properties)ClientAuthConfiggetClientAuthConfig(java.lang.String layer, java.lang.String appContext, javax.security.auth.callback.CallbackHandler handler)ServerAuthConfiggetServerAuthConfig(java.lang.String layer, java.lang.String appContext, javax.security.auth.callback.CallbackHandler handler)voidrefresh()
 
- 
- 
- 
Constructor Detail- 
SimpleAuthConfigProviderpublic SimpleAuthConfigProvider(java.util.Map<java.lang.String,java.lang.String> properties, AuthConfigFactory factory)
 
- 
 - 
Method Detail- 
getClientAuthConfigpublic ClientAuthConfig getClientAuthConfig(java.lang.String layer, java.lang.String appContext, javax.security.auth.callback.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(java.lang.String layer, java.lang.String appContext, javax.security.auth.callback.CallbackHandler handler) throws AuthException - Specified by:
- getServerAuthConfigin interface- AuthConfigProvider
- Throws:
- AuthException
 
 - 
createServerAuthConfigprotected ServerAuthConfig createServerAuthConfig(java.lang.String layer, java.lang.String appContext, javax.security.auth.callback.CallbackHandler handler, java.util.Map<java.lang.String,java.lang.String> properties) 
 - 
refreshpublic void refresh() - Specified by:
- refreshin interface- AuthConfigProvider
 
 
- 
 
-