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 Stringprotected CallbackHandlerprotected jakarta.security.auth.message.config.AuthConfigFactoryprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddisable()protected jakarta.security.auth.message.config.AuthConfiggetAuthConfig(boolean isServer) protected jakarta.security.auth.message.config.AuthConfiggetAuthConfig(jakarta.security.auth.message.config.AuthConfigProvider p, boolean isServer) jakarta.security.auth.message.config.ClientAuthConfigjakarta.security.auth.message.config.ClientAuthContextgetClientAuthContext(jakarta.security.auth.message.MessageInfo info, Subject s) getProperty(String key) jakarta.security.auth.message.config.ServerAuthConfigjakarta.security.auth.message.config.ServerAuthContextgetServerAuthContext(jakarta.security.auth.message.MessageInfo info, Subject s) protected booleanCheck if there is a provider register for a given layer and appCtxt.protected voidstatic URLloadFromClasspath(String configFileName, ClassLoader cl) protected CallbackHandlerloadGFHandler(String jmacHandler, ClassLoader loader) voidsetJmacProviderRegisID(String jmacProviderRegisID) void
-
Field Details
-
factory
protected jakarta.security.auth.message.config.AuthConfigFactory factory -
layer
-
appCtxt
-
map
-
cbh
-
listenerWrapper
-
-
Constructor Details
-
ConfigHelper
protected 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
-