Package com.sun.xml.wss.provider.wsit
Class ConfigHelper
java.lang.Object
com.sun.xml.wss.provider.wsit.ConfigHelper
- Direct Known Subclasses:
PipeHelper
This is based Helper class for 196 Configuration.
This class implements RegistrationListener.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected CallbackHandler
protected jakarta.security.auth.message.config.AuthConfigFactory
protected String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
disable()
protected jakarta.security.auth.message.config.AuthConfig
getAuthConfig
(boolean isServer) protected jakarta.security.auth.message.config.AuthConfig
getAuthConfig
(jakarta.security.auth.message.config.AuthConfigProvider p, boolean isServer) jakarta.security.auth.message.config.ClientAuthConfig
jakarta.security.auth.message.config.ClientAuthContext
getClientAuthContext
(jakarta.security.auth.message.MessageInfo info, Subject s) getProperty
(String key) jakarta.security.auth.message.config.ServerAuthConfig
jakarta.security.auth.message.config.ServerAuthContext
getServerAuthContext
(jakarta.security.auth.message.MessageInfo info, Subject s) protected boolean
Check if there is a provider register for a given layer and appCtxt.protected void
static URL
loadFromClasspath
(String configFileName, ClassLoader cl) protected CallbackHandler
loadGFHandler
(String jmacHandler, ClassLoader loader) void
setJmacProviderRegisID
(String jmacProviderRegisID) void
-
Field Details
-
factory
protected jakarta.security.auth.message.config.AuthConfigFactory factory -
layer
-
appCtxt
-
map
-
cbh
-
listenerWrapper
-
-
Constructor Details
-
ConfigHelper
public ConfigHelper()
-
-
Method Details
-
init
-
setJmacProviderRegisID
-
getRegistrationWrapper
-
setRegistrationWrapper
-
getRegistrationListener
public ConfigHelper.AuthConfigRegistrationWrapper.AuthConfigRegistrationListener getRegistrationListener() -
disable
public void disable() -
getProperty
-
getAppContextID
-
getClientAuthConfig
public jakarta.security.auth.message.config.ClientAuthConfig getClientAuthConfig() throws jakarta.security.auth.message.AuthException- Throws:
jakarta.security.auth.message.AuthException
-
getServerAuthConfig
public jakarta.security.auth.message.config.ServerAuthConfig getServerAuthConfig() throws jakarta.security.auth.message.AuthException- Throws:
jakarta.security.auth.message.AuthException
-
getClientAuthContext
public jakarta.security.auth.message.config.ClientAuthContext getClientAuthContext(jakarta.security.auth.message.MessageInfo info, Subject s) throws jakarta.security.auth.message.AuthException - Throws:
jakarta.security.auth.message.AuthException
-
getServerAuthContext
public jakarta.security.auth.message.config.ServerAuthContext getServerAuthContext(jakarta.security.auth.message.MessageInfo info, Subject s) throws jakarta.security.auth.message.AuthException - Throws:
jakarta.security.auth.message.AuthException
-
getAuthConfig
protected jakarta.security.auth.message.config.AuthConfig getAuthConfig(jakarta.security.auth.message.config.AuthConfigProvider p, boolean isServer) throws jakarta.security.auth.message.AuthException - Throws:
jakarta.security.auth.message.AuthException
-
getAuthConfig
protected jakarta.security.auth.message.config.AuthConfig getAuthConfig(boolean isServer) throws jakarta.security.auth.message.AuthException - Throws:
jakarta.security.auth.message.AuthException
-
hasExactMatchAuthProvider
protected boolean hasExactMatchAuthProvider()Check if there is a provider register for a given layer and appCtxt. -
loadFromClasspath
-
getDefaultCallbackHandler
-
loadGFHandler
-