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 AuthConfigpublic String getAppContext()
getAppContext in interface AuthConfigpublic String getAuthContextID(MessageInfo messageInfo)
getAuthContextID in interface AuthConfigpublic void refresh()
refresh in interface AuthConfigpublic boolean isProtected()
isProtected in interface AuthConfigpublic ServerAuthContext getAuthContext(String authContextID, Subject serviceSubject, Map properties) throws AuthException
getAuthContext in interface ServerAuthConfigAuthExceptionprotected ServerAuthContext createServerAuthContext(List<ServerAuthModule> modules)
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.