Class DefaultAuthConfigFactory


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

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

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

      • Fields inherited from class javax.security.auth.message.config.AuthConfigFactory

        DEFAULT_FACTORY_SECURITY_PROPERTY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[] detachListener​(javax.security.auth.message.config.RegistrationListener listener, java.lang.String layer, java.lang.String appContext)  
      javax.security.auth.message.config.AuthConfigProvider getConfigProvider​(java.lang.String layer, java.lang.String appContext, javax.security.auth.message.config.RegistrationListener listener)  
      javax.security.auth.message.config.AuthConfigFactory.RegistrationContext getRegistrationContext​(java.lang.String registrationID)  
      java.lang.String[] getRegistrationIDs​(javax.security.auth.message.config.AuthConfigProvider provider)  
      void refresh()  
      java.lang.String registerConfigProvider​(java.lang.String className, java.util.Map properties, java.lang.String layer, java.lang.String appContext, java.lang.String description)  
      java.lang.String registerConfigProvider​(javax.security.auth.message.config.AuthConfigProvider provider, java.lang.String layer, java.lang.String appContext, java.lang.String description)  
      boolean removeRegistration​(java.lang.String registrationID)  
      • Methods inherited from class javax.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 Detail

      • DefaultAuthConfigFactory

        public DefaultAuthConfigFactory()
    • Method Detail

      • getConfigProvider

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

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

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

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

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

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

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

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