Class PropertiesAuthenticatorFactory

    • Constructor Detail

      • PropertiesAuthenticatorFactory

        public PropertiesAuthenticatorFactory()
    • Method Detail

      • createAuthenticator

        public Authenticator createAuthenticator​(java.util.Map<java.lang.String,​?> jaasOptions)
        Description copied from interface: AuthenticatorFactory
        Creates a new authenticator with the supplied JAAS options.
        Specified by:
        createAuthenticator in interface AuthenticatorFactory
        Parameters:
        jaasOptions - JAAS configuration options
        Returns:
        authenticator
      • createAuthenticatorInternal

        protected Authenticator createAuthenticatorInternal​(java.util.Map<java.lang.String,​?> options)
        Initializes an authenticator using an authenticator property source.
        Parameters:
        options - to initialize authenticator
        Returns:
        authenticator
      • close

        public static void close()
        Iterates over the CACHE and closes any managed dn resolvers and managed authentication handlers.