public abstract class BaseAuthConfigImpl extends Object
ClientAuthConfigImpl
and ServerAuthConfigImpl
.Constructor and Description |
---|
BaseAuthConfigImpl(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<String,?> properties) |
String |
getAppContext() |
String |
getAuthContextID(javax.security.auth.message.MessageInfo messageInfo) |
protected <M> M |
getContext(Map<String,Map<Integer,M>> contextMap,
String authContextID,
Subject subject,
Map<String,?> 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 BaseAuthConfigImpl(String loggerName, EpochCarrier providerEpoch, MessagePolicyDelegate mpDelegate, String layer, String appContext, CallbackHandler cbh) throws javax.security.auth.message.AuthException
public String getMessageLayer()
public String getAppContext()
public String getAuthContextID(javax.security.auth.message.MessageInfo messageInfo)
public void refresh()
protected final <M> M getContext(Map<String,Map<Integer,M>> contextMap, String authContextID, Subject subject, Map<String,?> 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<String,?> properties) throws javax.security.auth.message.AuthException
Copyright © 2019. All rights reserved.