public class TomcatAuthConfig extends Object implements ServerAuthConfig
Modifier and Type | Field and Description |
---|---|
protected static StringManager |
sm |
Constructor and Description |
---|
TomcatAuthConfig(String layer,
String appContext,
CallbackHandler callbackHandler,
Context context,
Map<String,String> properties) |
Modifier and Type | Method and Description |
---|---|
String |
getAppContext() |
ServerAuthContext |
getAuthContext(String authContextID,
Subject serviceSubject,
Map properties) |
String |
getAuthContextID(MessageInfo messageInfo) |
String |
getMessageLayer() |
boolean |
isProtected() |
void |
refresh() |
protected static final StringManager sm
public TomcatAuthConfig(String layer, String appContext, CallbackHandler callbackHandler, Context context, Map<String,String> properties) throws AuthException
AuthException
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
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.