Package 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classConfigHelper.AuthConfigRegistrationWrapper
-
Field Summary
Fields Modifier and Type Field Description protected StringappCtxtprotected CallbackHandlercbhprotected AuthConfigFactoryfactoryprotected Stringlayerprotected ConfigHelper.AuthConfigRegistrationWrapperlistenerWrapperprotected Map<Object,Object>map
-
Constructor Summary
Constructors Constructor Description ConfigHelper()
-
Method Summary
-
-
-
Field Detail
-
factory
protected AuthConfigFactory factory
-
layer
protected String layer
-
appCtxt
protected String appCtxt
-
cbh
protected CallbackHandler cbh
-
listenerWrapper
protected ConfigHelper.AuthConfigRegistrationWrapper listenerWrapper
-
-
Method Detail
-
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()
-
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)
-
-