Class DefaultAuthConfigFactory

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

public class DefaultAuthConfigFactory extends jakarta.security.auth.message.config.AuthConfigFactory
A very basic AuthConfigFactory that allows for registering providers programmatically.
  • 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
    • registerServerAuthModule

      public String registerServerAuthModule(jakarta.security.auth.message.module.ServerAuthModule serverAuthModule, Object context)
      Specified by:
      registerServerAuthModule in class jakarta.security.auth.message.config.AuthConfigFactory
    • removeServerAuthModule

      public void removeServerAuthModule(Object context)
      Specified by:
      removeServerAuthModule 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