Class ElytronAuthConfigFactory


  • public class ElytronAuthConfigFactory
    extends javax.security.auth.message.config.AuthConfigFactory
    The WildFly Elytron implementation of AuthConfigFactory.
    Author:
    Darran Lofthouse
    • Constructor Detail

      • ElytronAuthConfigFactory

        public ElytronAuthConfigFactory()
    • Method Detail

      • getConfigProvider

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

        boolean matchesRegistration​(String layer,
                                    String appContext)
      • registerConfigProvider

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

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

        String registerConfigProvider​(javax.security.auth.message.config.AuthConfigProvider provider,
                                      String layer,
                                      String appContext,
                                      String description,
                                      boolean persistent)
      • removeRegistration

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

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

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

        public String[] getRegistrationIDs​(javax.security.auth.message.config.AuthConfigProvider provider)
        Specified by:
        getRegistrationIDs in class javax.security.auth.message.config.AuthConfigFactory
        See Also:
        AuthConfigFactory.getRegistrationIDs(javax.security.auth.message.config.AuthConfigProvider)
      • refresh

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

        private static void checkPermission​(SecurityPermission securityPermission)
      • identifyClassLoader

        private static ClassLoader identifyClassLoader()