com.sun.jaspic.config.helper
Class ClientAuthConfigHelper

java.lang.Object
  extended by com.sun.jaspic.config.helper.AuthConfigHelper
      extended by com.sun.jaspic.config.helper.ClientAuthConfigHelper
All Implemented Interfaces:
AuthConfig, ClientAuthConfig

public class ClientAuthConfigHelper
extends AuthConfigHelper
implements ClientAuthConfig

Author:
Ron Monzillo

Constructor Summary
protected ClientAuthConfigHelper(java.lang.String loggerName, EpochCarrier providerEpoch, AuthContextHelper acHelper, MessagePolicyDelegate mpDelegate, java.lang.String layer, java.lang.String appContext, javax.security.auth.callback.CallbackHandler cbh)
           
 
Method Summary
protected  ClientAuthContext createAuthContext(java.lang.String authContextID, java.util.Map properties)
           
 ClientAuthContext getAuthContext(java.lang.String authContextID, javax.security.auth.Subject subject, java.util.Map properties)
           
protected  void initializeContextMap()
          Only called from initialize (while lock is held).
 boolean isProtected()
           
protected  void refreshContextHelper()
           
 
Methods inherited from class com.sun.jaspic.config.helper.AuthConfigHelper
checkMessageTypes, getAppContext, getAuthContextID, getContext, getMessageLayer, isLoggable, logIfLevel, refresh
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.security.auth.message.config.AuthConfig
getAppContext, getAuthContextID, getMessageLayer, refresh
 

Constructor Detail

ClientAuthConfigHelper

protected ClientAuthConfigHelper(java.lang.String loggerName,
                                 EpochCarrier providerEpoch,
                                 AuthContextHelper acHelper,
                                 MessagePolicyDelegate mpDelegate,
                                 java.lang.String layer,
                                 java.lang.String appContext,
                                 javax.security.auth.callback.CallbackHandler cbh)
                          throws AuthException
Throws:
AuthException
Method Detail

initializeContextMap

protected void initializeContextMap()
Description copied from class: AuthConfigHelper
Only called from initialize (while lock is held).

Specified by:
initializeContextMap in class AuthConfigHelper

refreshContextHelper

protected void refreshContextHelper()

createAuthContext

protected ClientAuthContext createAuthContext(java.lang.String authContextID,
                                              java.util.Map properties)
                                       throws AuthException
Specified by:
createAuthContext in class AuthConfigHelper
Throws:
AuthException

getAuthContext

public ClientAuthContext getAuthContext(java.lang.String authContextID,
                                        javax.security.auth.Subject subject,
                                        java.util.Map properties)
                                 throws AuthException
Specified by:
getAuthContext in interface ClientAuthConfig
Throws:
AuthException

isProtected

public boolean isProtected()
Specified by:
isProtected in interface AuthConfig


Copyright © 2012 GlassFish Community. All Rights Reserved.