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.
  • Field Details

  • Constructor Details

    • ConfigHelper

      public ConfigHelper()
  • Method Details

    • 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

    • 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)