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 AuthConfigProvider
AuthException
public ServerAuthConfig getServerAuthConfig(java.lang.String layer, java.lang.String appContext, javax.security.auth.callback.CallbackHandler handler) throws AuthException
getServerAuthConfig
in interface AuthConfigProvider
AuthException
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)
public void refresh()
refresh
in interface AuthConfigProvider
Copyright © 2000-2023 Apache Software Foundation. All Rights Reserved.