Package net.shibboleth.idp.authn.config
Enum LDAPAuthenticationFactoryBean.AuthenticatorType
- java.lang.Object
-
- java.lang.Enum<LDAPAuthenticationFactoryBean.AuthenticatorType>
-
- net.shibboleth.idp.authn.config.LDAPAuthenticationFactoryBean.AuthenticatorType
-
- All Implemented Interfaces:
Serializable,Comparable<LDAPAuthenticationFactoryBean.AuthenticatorType>
- Enclosing class:
- LDAPAuthenticationFactoryBean
public static enum LDAPAuthenticationFactoryBean.AuthenticatorType extends Enum<LDAPAuthenticationFactoryBean.AuthenticatorType>
Enum that defines authenticator configuration. Labels maps to values in ldap.properties.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADANON_SEARCHBIND_SEARCHDIRECT
-
Constructor Summary
Constructors Modifier Constructor Description privateAuthenticatorType(String s)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LDAPAuthenticationFactoryBean.AuthenticatorTypefromLabel(String s)Stringlabel()static LDAPAuthenticationFactoryBean.AuthenticatorTypevalueOf(String name)Returns the enum constant of this type with the specified name.static LDAPAuthenticationFactoryBean.AuthenticatorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANON_SEARCH
public static final LDAPAuthenticationFactoryBean.AuthenticatorType ANON_SEARCH
-
BIND_SEARCH
public static final LDAPAuthenticationFactoryBean.AuthenticatorType BIND_SEARCH
-
DIRECT
public static final LDAPAuthenticationFactoryBean.AuthenticatorType DIRECT
-
AD
public static final LDAPAuthenticationFactoryBean.AuthenticatorType AD
-
-
Field Detail
-
label
private final String label
Label for this type.
-
-
Constructor Detail
-
AuthenticatorType
private AuthenticatorType(String s)
-
-
Method Detail
-
values
public static LDAPAuthenticationFactoryBean.AuthenticatorType[] 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 (LDAPAuthenticationFactoryBean.AuthenticatorType c : LDAPAuthenticationFactoryBean.AuthenticatorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LDAPAuthenticationFactoryBean.AuthenticatorType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
label
public String label()
-
fromLabel
public static LDAPAuthenticationFactoryBean.AuthenticatorType fromLabel(String s)
-
-