com.sun.jaspic.config.helper
Class ServerAuthConfigHelper

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

public class ServerAuthConfigHelper
extends AuthConfigHelper
implements ServerAuthConfig

Author:
Ron Monzillo

Constructor Summary
protected ServerAuthConfigHelper(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  ServerAuthContext createAuthContext(java.lang.String authContextID, java.util.Map properties)
           
 ServerAuthContext 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

ServerAuthConfigHelper

protected ServerAuthConfigHelper(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 ServerAuthContext createAuthContext(java.lang.String authContextID,
                                              java.util.Map properties)
                                       throws AuthException
Specified by:
createAuthContext in class AuthConfigHelper
Throws:
AuthException

getAuthContext

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

isProtected

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


Copyright © 2012 GlassFish Community. All Rights Reserved.