Package org.pac4j.config.ldaptive
Enum LdapAuthenticationProperties.AuthenticationTypes
- java.lang.Object
-
- java.lang.Enum<LdapAuthenticationProperties.AuthenticationTypes>
-
- org.pac4j.config.ldaptive.LdapAuthenticationProperties.AuthenticationTypes
-
- All Implemented Interfaces:
Serializable,Comparable<LdapAuthenticationProperties.AuthenticationTypes>
- Enclosing class:
- LdapAuthenticationProperties
public static enum LdapAuthenticationProperties.AuthenticationTypes extends Enum<LdapAuthenticationProperties.AuthenticationTypes>
The enum Authentication types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADActive Directory.ANONYMOUSAnonymous Search.AUTHENTICATEDAuthenticated Search.DIRECTDirect Bind.SASLSASL bind search.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LdapAuthenticationProperties.AuthenticationTypesvalueOf(String name)Returns the enum constant of this type with the specified name.static LdapAuthenticationProperties.AuthenticationTypes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AD
public static final LdapAuthenticationProperties.AuthenticationTypes AD
Active Directory.
-
AUTHENTICATED
public static final LdapAuthenticationProperties.AuthenticationTypes AUTHENTICATED
Authenticated Search.
-
DIRECT
public static final LdapAuthenticationProperties.AuthenticationTypes DIRECT
Direct Bind.
-
ANONYMOUS
public static final LdapAuthenticationProperties.AuthenticationTypes ANONYMOUS
Anonymous Search.
-
SASL
public static final LdapAuthenticationProperties.AuthenticationTypes SASL
SASL bind search.
-
-
Method Detail
-
values
public static LdapAuthenticationProperties.AuthenticationTypes[] 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 (LdapAuthenticationProperties.AuthenticationTypes c : LdapAuthenticationProperties.AuthenticationTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LdapAuthenticationProperties.AuthenticationTypes 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
-
-