public class SimpleAuthConfigProvider extends java.lang.Object implements AuthConfigProvider
ServerAuthModule implementations that only provide the module.| Constructor and Description |
|---|
SimpleAuthConfigProvider(java.util.Map<java.lang.String,java.lang.String> properties,
AuthConfigFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
protected 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) |
ClientAuthConfig |
getClientAuthConfig(java.lang.String layer,
java.lang.String appContext,
javax.security.auth.callback.CallbackHandler handler)
This implementation does not support client-side authentication and therefore always returns
null. |
ServerAuthConfig |
getServerAuthConfig(java.lang.String layer,
java.lang.String appContext,
javax.security.auth.callback.CallbackHandler handler) |
void |
refresh() |
public SimpleAuthConfigProvider(java.util.Map<java.lang.String,java.lang.String> properties,
AuthConfigFactory factory)
public 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.
getClientAuthConfig in interface AuthConfigProviderAuthExceptionpublic ServerAuthConfig getServerAuthConfig(java.lang.String layer, java.lang.String appContext, javax.security.auth.callback.CallbackHandler handler) throws AuthException
getServerAuthConfig in interface AuthConfigProviderAuthExceptionprotected 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)
public void refresh()
refresh in interface AuthConfigProviderCopyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.