public abstract class AuthConfigHelper extends Object
| Constructor and Description |
|---|
AuthConfigHelper(String loggerName,
EpochCarrier providerEpoch,
MessagePolicyDelegate mpDelegate,
String layer,
String appContext,
CallbackHandler cbh) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkMessageTypes(Class[] supportedMessageTypes) |
protected abstract <M> M |
createAuthContext(String authContextID,
Map properties) |
String |
getAppContext() |
String |
getAuthContextID(javax.security.auth.message.MessageInfo messageInfo) |
protected <M> M |
getContext(HashMap<String,HashMap<Integer,M>> contextMap,
String authContextID,
Subject subject,
Map properties) |
String |
getMessageLayer() |
protected abstract void |
initializeContextMap()
Only called from initialize (while lock is held).
|
protected boolean |
isLoggable(Level level) |
protected void |
logIfLevel(Level level,
Throwable t,
String... msgParts) |
void |
refresh() |
public AuthConfigHelper(String loggerName, EpochCarrier providerEpoch, MessagePolicyDelegate mpDelegate, String layer, String appContext, CallbackHandler cbh) throws javax.security.auth.message.AuthException
protected final <M> M getContext(HashMap<String,HashMap<Integer,M>> contextMap, String authContextID, Subject subject, Map properties) throws javax.security.auth.message.AuthException
protected boolean isLoggable(Level level)
protected void checkMessageTypes(Class[] supportedMessageTypes) throws javax.security.auth.message.AuthException
protected abstract void initializeContextMap()
protected abstract <M> M createAuthContext(String authContextID, Map properties) throws javax.security.auth.message.AuthException
public String getAppContext()
public String getAuthContextID(javax.security.auth.message.MessageInfo messageInfo)
public String getMessageLayer()
public void refresh()
Copyright © 2017. All rights reserved.