Package com.sun.jaspic.config.helper
Class ServerAuthConfigImpl
- java.lang.Object
-
- com.sun.jaspic.config.helper.BaseAuthConfigImpl
-
- com.sun.jaspic.config.helper.ServerAuthConfigImpl
-
- All Implemented Interfaces:
jakarta.security.auth.message.config.AuthConfig,jakarta.security.auth.message.config.ServerAuthConfig
public class ServerAuthConfigImpl extends BaseAuthConfigImpl implements jakarta.security.auth.message.config.ServerAuthConfig
- Author:
- Ron Monzillo
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedServerAuthConfigImpl(String loggerName, EpochCarrier providerEpoch, BaseAuthContextImpl authContextHelper, MessagePolicyDelegate policyDelegate, String layer, String appContext, CallbackHandler cbh)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <M> McreateAuthContext(String authContextID, Map<String,Object> properties)jakarta.security.auth.message.config.ServerAuthContextgetAuthContext(String authContextID, Subject subject, Map properties)protected voidinitializeContextMap()Only called from initialize (while lock is held).booleanisProtected()-
Methods inherited from class com.sun.jaspic.config.helper.BaseAuthConfigImpl
checkMessageTypes, getAppContext, getAuthContextID, getContext, getMessageLayer, isLoggable, logIfLevel, refresh
-
-
-
-
Constructor Detail
-
ServerAuthConfigImpl
protected ServerAuthConfigImpl(String loggerName, EpochCarrier providerEpoch, BaseAuthContextImpl authContextHelper, MessagePolicyDelegate policyDelegate, String layer, String appContext, CallbackHandler cbh) throws jakarta.security.auth.message.AuthException
- Throws:
jakarta.security.auth.message.AuthException
-
-
Method Detail
-
initializeContextMap
protected void initializeContextMap()
Description copied from class:BaseAuthConfigImplOnly called from initialize (while lock is held).- Specified by:
initializeContextMapin classBaseAuthConfigImpl
-
createAuthContext
protected <M> M createAuthContext(String authContextID, Map<String,Object> properties) throws jakarta.security.auth.message.AuthException
- Specified by:
createAuthContextin classBaseAuthConfigImpl- Throws:
jakarta.security.auth.message.AuthException
-
getAuthContext
public jakarta.security.auth.message.config.ServerAuthContext getAuthContext(String authContextID, Subject subject, Map properties) throws jakarta.security.auth.message.AuthException
- Specified by:
getAuthContextin interfacejakarta.security.auth.message.config.ServerAuthConfig- Throws:
jakarta.security.auth.message.AuthException
-
isProtected
public boolean isProtected()
- Specified by:
isProtectedin interfacejakarta.security.auth.message.config.AuthConfig
-
-