com.sun.jaspic.config.helper
Class AuthConfigProviderHelper
java.lang.Object
com.sun.jaspic.config.helper.AuthConfigProviderHelper
- All Implemented Interfaces:
- AuthConfigProvider
- Direct Known Subclasses:
- JAASAuthConfigProvider
public abstract class AuthConfigProviderHelper
- extends java.lang.Object
- implements AuthConfigProvider
- Author:
- Ron Monzillo
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LAYER_NAME_KEY
public static final java.lang.String LAYER_NAME_KEY
- See Also:
- Constant Field Values
ALL_LAYERS
public static final java.lang.String ALL_LAYERS
- See Also:
- Constant Field Values
LOGGER_NAME_KEY
public static final java.lang.String LOGGER_NAME_KEY
- See Also:
- Constant Field Values
AUTH_MODULE_KEY
public static final java.lang.String AUTH_MODULE_KEY
- See Also:
- Constant Field Values
SERVER_AUTH_MODULE
public static final java.lang.String SERVER_AUTH_MODULE
- See Also:
- Constant Field Values
CLIENT_AUTH_MODULE
public static final java.lang.String CLIENT_AUTH_MODULE
- See Also:
- Constant Field Values
AuthConfigProviderHelper
protected AuthConfigProviderHelper()
getProperty
protected final java.lang.String getProperty(java.lang.String key,
java.lang.String defaultValue)
getLayer
protected java.lang.String getLayer()
getModuleTypes
protected java.lang.Class[] getModuleTypes()
oldSelfRegister
protected void oldSelfRegister()
selfRegister
protected void selfRegister()
getClientCallbackHandler
protected javax.security.auth.callback.CallbackHandler getClientCallbackHandler(javax.security.auth.callback.CallbackHandler cbh)
throws AuthException
- Throws:
AuthException
getServerCallbackHandler
protected javax.security.auth.callback.CallbackHandler getServerCallbackHandler(javax.security.auth.callback.CallbackHandler cbh)
throws AuthException
- Throws:
AuthException
getClientAuthConfig
public ClientAuthConfig getClientAuthConfig(java.lang.String layer,
java.lang.String appContext,
javax.security.auth.callback.CallbackHandler cbh)
throws AuthException
- Specified by:
getClientAuthConfig in interface AuthConfigProvider
- Throws:
AuthException
getServerAuthConfig
public ServerAuthConfig getServerAuthConfig(java.lang.String layer,
java.lang.String appContext,
javax.security.auth.callback.CallbackHandler cbh)
throws AuthException
- Specified by:
getServerAuthConfig in interface AuthConfigProvider
- Throws:
AuthException
contextsAreEqual
public boolean contextsAreEqual(AuthConfigFactory.RegistrationContext a,
AuthConfigFactory.RegistrationContext b)
oldRefresh
public void oldRefresh()
- to be called by refresh on provider subclass, and after subclass impl.
has reloaded its underlying configuration system.
Note: Spec is silent as to whether self-registrations should be reprocessed.
refresh
public void refresh()
- Specified by:
refresh in interface AuthConfigProvider
getLoggerName
public java.lang.String getLoggerName()
getProperties
public abstract java.util.Map<java.lang.String,?> getProperties()
getFactory
public abstract AuthConfigFactory getFactory()
getSelfRegistrationContexts
public abstract AuthConfigFactory.RegistrationContext[] getSelfRegistrationContexts()
getAuthContextHelper
public abstract AuthContextHelper getAuthContextHelper(java.lang.String appContext,
boolean returnNullContexts)
throws AuthException
- Throws:
AuthException
getMessagePolicyDelegate
public abstract MessagePolicyDelegate getMessagePolicyDelegate(java.lang.String appContext)
throws AuthException
- Throws:
AuthException
Copyright © 2012 GlassFish Community. All Rights Reserved.