Enum AbstractLdapProperties.LdapConnectionStrategy

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ACTIVE_PASSIVE
      First ldap used until it fails.
      DEFAULT
      Default JNDI.
      DNS_SRV
      ldap urls based on DNS SRV records.
      RANDOM
      Randomly pick a url.
      ROUND_ROBIN
      Navigate the ldap url list for new connections and circle back.
    • Method Detail

      • values

        public static AbstractLdapProperties.LdapConnectionStrategy[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AbstractLdapProperties.LdapConnectionStrategy c : AbstractLdapProperties.LdapConnectionStrategy.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AbstractLdapProperties.LdapConnectionStrategy valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null