Package net.shibboleth.idp.authn.config
Enum LDAPAuthenticationFactoryBean.PassivatorType
- java.lang.Object
-
- java.lang.Enum<LDAPAuthenticationFactoryBean.PassivatorType>
-
- net.shibboleth.idp.authn.config.LDAPAuthenticationFactoryBean.PassivatorType
-
- All Implemented Interfaces:
Serializable,Comparable<LDAPAuthenticationFactoryBean.PassivatorType>
- Enclosing class:
- LDAPAuthenticationFactoryBean
public static enum LDAPAuthenticationFactoryBean.PassivatorType extends Enum<LDAPAuthenticationFactoryBean.PassivatorType>
Enum that defines an LDAP pool passivator. Labels maps to values in ldap.properties.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANONYMOUS_BINDBINDNONE
-
Constructor Summary
Constructors Modifier Constructor Description privatePassivatorType(String s)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LDAPAuthenticationFactoryBean.PassivatorTypefromLabel(String s)Stringlabel()static LDAPAuthenticationFactoryBean.PassivatorTypevalueOf(String name)Returns the enum constant of this type with the specified name.static LDAPAuthenticationFactoryBean.PassivatorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final LDAPAuthenticationFactoryBean.PassivatorType NONE
-
BIND
public static final LDAPAuthenticationFactoryBean.PassivatorType BIND
-
ANONYMOUS_BIND
public static final LDAPAuthenticationFactoryBean.PassivatorType ANONYMOUS_BIND
-
-
Field Detail
-
label
private final String label
Label for this type.
-
-
Constructor Detail
-
PassivatorType
private PassivatorType(String s)
-
-
Method Detail
-
values
public static LDAPAuthenticationFactoryBean.PassivatorType[] 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.PassivatorType c : LDAPAuthenticationFactoryBean.PassivatorType.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.PassivatorType 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.PassivatorType fromLabel(String s)
-
-