Package org.apache.syncope.common.lib
Enum Class AbstractLDAPConf.LdapConnectionStrategy
java.lang.Object
java.lang.Enum<AbstractLDAPConf.LdapConnectionStrategy>
org.apache.syncope.common.lib.AbstractLDAPConf.LdapConnectionStrategy
- All Implemented Interfaces:
Serializable
,Comparable<AbstractLDAPConf.LdapConnectionStrategy>
,Constable
- Enclosing class:
AbstractLDAPConf
public static enum AbstractLDAPConf.LdapConnectionStrategy
extends Enum<AbstractLDAPConf.LdapConnectionStrategy>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionFirst ldap used until it fails.ldap urls based on DNS SRV records.Randomly pick a url.Navigate the ldap url list for new connections and circle back. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACTIVE_PASSIVE
First ldap used until it fails. -
ROUND_ROBIN
Navigate the ldap url list for new connections and circle back. -
RANDOM
Randomly pick a url. -
DNS_SRV
ldap urls based on DNS SRV records.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-