Class DefaultAuthConfigFactory

java.lang.Object
jakarta.security.auth.message.config.AuthConfigFactory
org.eclipse.jetty.security.jaspi.DefaultAuthConfigFactory

public class DefaultAuthConfigFactory extends jakarta.security.auth.message.config.AuthConfigFactory
A very basic AuthConfigFactory that allows for registering providers programmatically.
  • Nested Class Summary

    Nested classes/interfaces inherited from class jakarta.security.auth.message.config.AuthConfigFactory

    jakarta.security.auth.message.config.AuthConfigFactory.RegistrationContext
  • Field Summary

    Fields inherited from class jakarta.security.auth.message.config.AuthConfigFactory

    DEFAULT_FACTORY_SECURITY_PROPERTY, GET_FACTORY_PERMISSION_NAME, getFactorySecurityPermission, PROVIDER_REGISTRATION_PERMISSION_NAME, providerRegistrationSecurityPermission, SET_FACTORY_PERMISSION_NAME, setFactorySecurityPermission
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    detachListener(jakarta.security.auth.message.config.RegistrationListener listener, String layer, String appContext)
     
    jakarta.security.auth.message.config.AuthConfigProvider
    getConfigProvider(String layer, String appContext, jakarta.security.auth.message.config.RegistrationListener listener)
     
    jakarta.security.auth.message.config.AuthConfigFactory.RegistrationContext
     
    getRegistrationIDs(jakarta.security.auth.message.config.AuthConfigProvider provider)
     
    void
     
    registerConfigProvider(jakarta.security.auth.message.config.AuthConfigProvider provider, String layer, String appContext, String description)
     
    registerConfigProvider(String className, Map properties, String layer, String appContext, String description)
     
    boolean
    removeRegistration(String registrationID)
     

    Methods inherited from class jakarta.security.auth.message.config.AuthConfigFactory

    getFactory, setFactory

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultAuthConfigFactory

      public DefaultAuthConfigFactory()
  • Method Details

    • getConfigProvider

      public jakarta.security.auth.message.config.AuthConfigProvider getConfigProvider(String layer, String appContext, jakarta.security.auth.message.config.RegistrationListener listener)
      Specified by:
      getConfigProvider in class jakarta.security.auth.message.config.AuthConfigFactory
    • registerConfigProvider

      public String registerConfigProvider(String className, Map properties, String layer, String appContext, String description)
      Specified by:
      registerConfigProvider in class jakarta.security.auth.message.config.AuthConfigFactory
    • registerConfigProvider

      public String registerConfigProvider(jakarta.security.auth.message.config.AuthConfigProvider provider, String layer, String appContext, String description)
      Specified by:
      registerConfigProvider in class jakarta.security.auth.message.config.AuthConfigFactory
    • removeRegistration

      public boolean removeRegistration(String registrationID)
      Specified by:
      removeRegistration in class jakarta.security.auth.message.config.AuthConfigFactory
    • detachListener

      public String[] detachListener(jakarta.security.auth.message.config.RegistrationListener listener, String layer, String appContext)
      Specified by:
      detachListener in class jakarta.security.auth.message.config.AuthConfigFactory
    • getRegistrationIDs

      public String[] getRegistrationIDs(jakarta.security.auth.message.config.AuthConfigProvider provider)
      Specified by:
      getRegistrationIDs in class jakarta.security.auth.message.config.AuthConfigFactory
    • getRegistrationContext

      public jakarta.security.auth.message.config.AuthConfigFactory.RegistrationContext getRegistrationContext(String registrationID)
      Specified by:
      getRegistrationContext in class jakarta.security.auth.message.config.AuthConfigFactory
    • refresh

      public void refresh()
      Specified by:
      refresh in class jakarta.security.auth.message.config.AuthConfigFactory