Package com.sun.jaspic.config.helper
Class BaseAuthConfigImpl
- java.lang.Object
-
- com.sun.jaspic.config.helper.BaseAuthConfigImpl
-
- Direct Known Subclasses:
ClientAuthConfigImpl,ServerAuthConfigImpl
public abstract class BaseAuthConfigImpl extends Object
Base class for theClientAuthConfigImplandServerAuthConfigImpl.- Author:
- Ron Monzillo
-
-
Constructor Summary
Constructors Constructor Description BaseAuthConfigImpl(String loggerName, EpochCarrier providerEpoch, MessagePolicyDelegate mpDelegate, String layer, String appContext, CallbackHandler cbh)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidcheckMessageTypes(Class<?>[] supportedMessageTypes)protected abstract <M> McreateAuthContext(String authContextID, Map<String,Object> properties)StringgetAppContext()StringgetAuthContextID(jakarta.security.auth.message.MessageInfo messageInfo)protected <M> MgetContext(Map<String,Map<Integer,M>> contextMap, String authContextID, Subject subject, Map<String,Object> properties)StringgetMessageLayer()protected abstract voidinitializeContextMap()Only called from initialize (while lock is held).protected booleanisLoggable(Level level)protected voidlogIfLevel(Level level, Throwable t, String... msgParts)voidrefresh()
-
-
-
Constructor Detail
-
BaseAuthConfigImpl
public BaseAuthConfigImpl(String loggerName, EpochCarrier providerEpoch, MessagePolicyDelegate mpDelegate, String layer, String appContext, CallbackHandler cbh) throws jakarta.security.auth.message.AuthException
- Throws:
jakarta.security.auth.message.AuthException
-
-
Method Detail
-
getMessageLayer
public String getMessageLayer()
-
getAppContext
public String getAppContext()
-
getAuthContextID
public String getAuthContextID(jakarta.security.auth.message.MessageInfo messageInfo)
-
refresh
public void refresh()
-
getContext
protected final <M> M getContext(Map<String,Map<Integer,M>> contextMap, String authContextID, Subject subject, Map<String,Object> properties) throws jakarta.security.auth.message.AuthException
- Throws:
jakarta.security.auth.message.AuthException
-
isLoggable
protected boolean isLoggable(Level level)
-
checkMessageTypes
protected void checkMessageTypes(Class<?>[] supportedMessageTypes) throws jakarta.security.auth.message.AuthException
- Throws:
jakarta.security.auth.message.AuthException
-
initializeContextMap
protected abstract void initializeContextMap()
Only called from initialize (while lock is held).
-
-