Package net.shibboleth.idp.authn.config
Enum Class LDAPAuthenticationFactoryBean.AuthenticatorType
java.lang.Object
java.lang.Enum<LDAPAuthenticationFactoryBean.AuthenticatorType>
net.shibboleth.idp.authn.config.LDAPAuthenticationFactoryBean.AuthenticatorType
- All Implemented Interfaces:
Serializable,Comparable<LDAPAuthenticationFactoryBean.AuthenticatorType>,Constable
- Enclosing class:
- LDAPAuthenticationFactoryBean
public static enum LDAPAuthenticationFactoryBean.AuthenticatorType
extends Enum<LDAPAuthenticationFactoryBean.AuthenticatorType>
Enum that defines authenticator configuration. Labels maps to values in ldap.properties.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAD specific bind.Anonymous bind.Authenticated bind.Direct bind by subject. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
ANON_SEARCH
Anonymous bind. -
BIND_SEARCH
Authenticated bind. -
DIRECT
Direct bind by subject. -
AD
AD specific bind.
-
-
Field Details
-
label
Label for this type.
-
-
Constructor Details
-
AuthenticatorType
Constructor.- Parameters:
s- label for enum
-
-
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
-
label
Gets the enum string label.- Returns:
- string label
-
fromLabel
@Nullable public static LDAPAuthenticationFactoryBean.AuthenticatorType fromLabel(@Nonnull @NotEmpty String s) Returns the enum matching the input label.- Parameters:
s- input label- Returns:
- matching enum or null
-