com.sun.jaspic.config.helper
Class AuthConfigHelper
java.lang.Object
com.sun.jaspic.config.helper.AuthConfigHelper
- Direct Known Subclasses:
- ClientAuthConfigHelper, ServerAuthConfigHelper
public abstract class AuthConfigHelper
- extends java.lang.Object
- Author:
- Ron Monzillo
|
Method Summary |
protected void |
checkMessageTypes(java.lang.Class[] supportedMessageTypes)
|
protected abstract
|
createAuthContext(java.lang.String authContextID,
java.util.Map properties)
|
java.lang.String |
getAppContext()
|
java.lang.String |
getAuthContextID(MessageInfo messageInfo)
|
protected
|
getContext(java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.Integer,M>> contextMap,
java.lang.String authContextID,
javax.security.auth.Subject subject,
java.util.Map properties)
|
java.lang.String |
getMessageLayer()
|
protected abstract void |
initializeContextMap()
Only called from initialize (while lock is held). |
protected boolean |
isLoggable(java.util.logging.Level level)
|
protected void |
logIfLevel(java.util.logging.Level level,
java.lang.Throwable t,
java.lang.String... msgParts)
|
void |
refresh()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthConfigHelper
public AuthConfigHelper(java.lang.String loggerName,
EpochCarrier providerEpoch,
MessagePolicyDelegate mpDelegate,
java.lang.String layer,
java.lang.String appContext,
javax.security.auth.callback.CallbackHandler cbh)
throws AuthException
- Throws:
AuthException
getContext
protected final <M> M getContext(java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.Integer,M>> contextMap,
java.lang.String authContextID,
javax.security.auth.Subject subject,
java.util.Map properties)
throws AuthException
- Throws:
AuthException
isLoggable
protected boolean isLoggable(java.util.logging.Level level)
logIfLevel
protected void logIfLevel(java.util.logging.Level level,
java.lang.Throwable t,
java.lang.String... msgParts)
checkMessageTypes
protected void checkMessageTypes(java.lang.Class[] supportedMessageTypes)
throws AuthException
- Throws:
AuthException
initializeContextMap
protected abstract void initializeContextMap()
- Only called from initialize (while lock is held).
createAuthContext
protected abstract <M> M createAuthContext(java.lang.String authContextID,
java.util.Map properties)
throws AuthException
- Throws:
AuthException
getAppContext
public java.lang.String getAppContext()
getAuthContextID
public java.lang.String getAuthContextID(MessageInfo messageInfo)
getMessageLayer
public java.lang.String getMessageLayer()
refresh
public void refresh()
Copyright © 2012 GlassFish Community. All Rights Reserved.