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 Summary
ConstructorsConstructorDescriptionSimpleAuthConfigProvider(Map<String, String> properties, AuthConfigFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionprotected ServerAuthConfigcreateServerAuthConfig(String layer, String appContext, CallbackHandler handler, Map<String, String> properties) getClientAuthConfig(String layer, String appContext, CallbackHandler handler) getServerAuthConfig(String layer, String appContext, CallbackHandler handler) voidrefresh()
-
Constructor Details
-
SimpleAuthConfigProvider
-
-
Method Details
-
getClientAuthConfig
public 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 interfaceAuthConfigProvider- Throws:
AuthException
-
getServerAuthConfig
public ServerAuthConfig getServerAuthConfig(String layer, String appContext, CallbackHandler handler) throws AuthException - Specified by:
getServerAuthConfigin interfaceAuthConfigProvider- Throws:
AuthException
-
createServerAuthConfig
protected ServerAuthConfig createServerAuthConfig(String layer, String appContext, CallbackHandler handler, Map<String, String> properties) -
refresh
public void refresh()- Specified by:
refreshin interfaceAuthConfigProvider
-