com.sun.xml.wss.provider.wsit
Class ConfigHelper
java.lang.Object
com.sun.xml.wss.provider.wsit.ConfigHelper
- Direct Known Subclasses:
- PipeHelper
public abstract class ConfigHelper
- extends Object
This is based Helper class for 196 Configuration.
This class implements RegistrationListener.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
protected AuthConfigFactory factory
layer
protected String layer
appCtxt
protected String appCtxt
map
protected Map<Object,Object> map
cbh
protected CallbackHandler cbh
listenerWrapper
protected ConfigHelper.AuthConfigRegistrationWrapper listenerWrapper
ConfigHelper
public ConfigHelper()
init
protected void init(String layer,
String appContext,
Map<Object,Object> map,
CallbackHandler cbh)
setJmacProviderRegisID
public void setJmacProviderRegisID(String jmacProviderRegisID)
getRegistrationWrapper
public ConfigHelper.AuthConfigRegistrationWrapper getRegistrationWrapper()
setRegistrationWrapper
public void setRegistrationWrapper(ConfigHelper.AuthConfigRegistrationWrapper wrapper)
getRegistrationListener
public ConfigHelper.AuthConfigRegistrationWrapper.AuthConfigRegistrationListener getRegistrationListener()
disable
public void disable()
getProperty
public Object getProperty(String key)
getAppContextID
public String getAppContextID()
getClientAuthConfig
public ClientAuthConfig getClientAuthConfig()
throws AuthException
- Throws:
AuthException
getServerAuthConfig
public ServerAuthConfig getServerAuthConfig()
throws AuthException
- Throws:
AuthException
getClientAuthContext
public ClientAuthContext getClientAuthContext(MessageInfo info,
Subject s)
throws AuthException
- Throws:
AuthException
getServerAuthContext
public ServerAuthContext getServerAuthContext(MessageInfo info,
Subject s)
throws AuthException
- Throws:
AuthException
getAuthConfig
protected AuthConfig getAuthConfig(AuthConfigProvider p,
boolean isServer)
throws AuthException
- Throws:
AuthException
getAuthConfig
protected AuthConfig getAuthConfig(boolean isServer)
throws AuthException
- Throws:
AuthException
hasExactMatchAuthProvider
protected boolean hasExactMatchAuthProvider()
- Check if there is a provider register for a given layer and appCtxt.
loadFromClasspath
public static URL loadFromClasspath(String configFileName,
ClassLoader cl)
getDefaultCallbackHandler
public CallbackHandler getDefaultCallbackHandler()
loadGFHandler
protected CallbackHandler loadGFHandler(String jmacHandler,
ClassLoader loader)
Copyright © 2005-2011 Oracle Corporation. All Rights Reserved.