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_BIND
BIND
NONE
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
PassivatorType(String s)
-
Method Summary
Modifier and Type Method Description static LDAPAuthenticationFactoryBean.PassivatorType
fromLabel(String s)
String
label()
static LDAPAuthenticationFactoryBean.PassivatorType
valueOf(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 Details
-
NONE
-
BIND
-
ANONYMOUS_BIND
-
-
Field Details
-
label
Label for this type.
-
-
Constructor Details
-
PassivatorType
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
fromLabel
-