public class SimpleServerAuthConfig extends Object implements ServerAuthConfig
ServerAuthModule
implementations that only provide the module. This
implementation supports configuring the ServerAuthContext
with
multiple modules.Constructor and Description |
---|
SimpleServerAuthConfig(String layer,
String appContext,
CallbackHandler handler,
Map<String,String> properties) |
Modifier and Type | Method and Description |
---|---|
protected ServerAuthContext |
createServerAuthContext(List<ServerAuthModule> modules) |
String |
getAppContext() |
ServerAuthContext |
getAuthContext(String authContextID,
Subject serviceSubject,
Map properties) |
String |
getAuthContextID(MessageInfo messageInfo) |
String |
getMessageLayer() |
boolean |
isProtected() |
void |
refresh() |
public String getMessageLayer()
getMessageLayer
in interface AuthConfig
public String getAppContext()
getAppContext
in interface AuthConfig
public String getAuthContextID(MessageInfo messageInfo)
getAuthContextID
in interface AuthConfig
public void refresh()
refresh
in interface AuthConfig
public boolean isProtected()
isProtected
in interface AuthConfig
public ServerAuthContext getAuthContext(String authContextID, Subject serviceSubject, Map properties) throws AuthException
getAuthContext
in interface ServerAuthConfig
AuthException
protected ServerAuthContext createServerAuthContext(List<ServerAuthModule> modules)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.