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 javax.security.auth.message.config.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 javax.security.auth.message.config.ClientAuthConfig getClientAuthConfig()
throws javax.security.auth.message.AuthException
- Throws:
javax.security.auth.message.AuthException
getServerAuthConfig
public javax.security.auth.message.config.ServerAuthConfig getServerAuthConfig()
throws javax.security.auth.message.AuthException
- Throws:
javax.security.auth.message.AuthException
getClientAuthContext
public javax.security.auth.message.config.ClientAuthContext getClientAuthContext(javax.security.auth.message.MessageInfo info,
Subject s)
throws javax.security.auth.message.AuthException
- Throws:
javax.security.auth.message.AuthException
getServerAuthContext
public javax.security.auth.message.config.ServerAuthContext getServerAuthContext(javax.security.auth.message.MessageInfo info,
Subject s)
throws javax.security.auth.message.AuthException
- Throws:
javax.security.auth.message.AuthException
getAuthConfig
protected javax.security.auth.message.config.AuthConfig getAuthConfig(javax.security.auth.message.config.AuthConfigProvider p,
boolean isServer)
throws javax.security.auth.message.AuthException
- Throws:
javax.security.auth.message.AuthException
getAuthConfig
protected javax.security.auth.message.config.AuthConfig getAuthConfig(boolean isServer)
throws javax.security.auth.message.AuthException
- Throws:
javax.security.auth.message.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-2015 Oracle Corporation. All Rights Reserved.