Package com.sun.jaspic.config.helper
Class ClientAuthConfigImpl
- java.lang.Object
-
- com.sun.jaspic.config.helper.BaseAuthConfigImpl
-
- com.sun.jaspic.config.helper.ClientAuthConfigImpl
-
- All Implemented Interfaces:
jakarta.security.auth.message.config.AuthConfig,jakarta.security.auth.message.config.ClientAuthConfig
public class ClientAuthConfigImpl extends BaseAuthConfigImpl implements jakarta.security.auth.message.config.ClientAuthConfig
- Author:
- Ron Monzillo
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedClientAuthConfigImpl(String loggerName, EpochCarrier providerEpoch, BaseAuthContextImpl acHelper, MessagePolicyDelegate mpDelegate, 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.ClientAuthContextgetAuthContext(String authContextID, Subject subject, Map properties)protected voidinitializeContextMap()Only called from initialize (while lock is held).booleanisProtected()protected voidrefreshContextHelper()-
Methods inherited from class com.sun.jaspic.config.helper.BaseAuthConfigImpl
checkMessageTypes, getAppContext, getAuthContextID, getContext, getMessageLayer, isLoggable, logIfLevel, refresh
-
-
-
-
Constructor Detail
-
ClientAuthConfigImpl
protected ClientAuthConfigImpl(String loggerName, EpochCarrier providerEpoch, BaseAuthContextImpl acHelper, MessagePolicyDelegate mpDelegate, 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
-
refreshContextHelper
protected void refreshContextHelper()
-
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.ClientAuthContext getAuthContext(String authContextID, Subject subject, Map properties) throws jakarta.security.auth.message.AuthException
- Specified by:
getAuthContextin interfacejakarta.security.auth.message.config.ClientAuthConfig- Throws:
jakarta.security.auth.message.AuthException
-
isProtected
public boolean isProtected()
- Specified by:
isProtectedin interfacejakarta.security.auth.message.config.AuthConfig
-
-