public class SimpleAuthConfigProvider extends Object implements AuthConfigProvider
ServerAuthModule
implementations
that only provide the module.Constructor and Description |
---|
SimpleAuthConfigProvider(Map<String,String> properties,
AuthConfigFactory factory) |
Modifier and Type | Method and Description |
---|---|
protected ServerAuthConfig |
createServerAuthConfig(String layer,
String appContext,
CallbackHandler handler,
Map<String,String> properties) |
ClientAuthConfig |
getClientAuthConfig(String layer,
String appContext,
CallbackHandler handler)
This implementation does not support client-side authentication and
therefore always returns
null . |
ServerAuthConfig |
getServerAuthConfig(String layer,
String appContext,
CallbackHandler handler) |
void |
refresh() |
public SimpleAuthConfigProvider(Map<String,String> properties, AuthConfigFactory factory)
public ClientAuthConfig getClientAuthConfig(String layer, String appContext, 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(String layer, String appContext, CallbackHandler handler) throws AuthException
getServerAuthConfig
in interface AuthConfigProvider
AuthException
protected ServerAuthConfig createServerAuthConfig(String layer, String appContext, CallbackHandler handler, Map<String,String> properties)
public void refresh()
refresh
in interface AuthConfigProvider
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.