Enum AbstractLdapProperties.LdapType
- java.lang.Object
-
- java.lang.Enum<AbstractLdapProperties.LdapType>
-
- org.apereo.cas.configuration.model.support.ldap.AbstractLdapProperties.LdapType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AbstractLdapProperties.LdapType>
- Enclosing class:
- AbstractLdapProperties
public static enum AbstractLdapProperties.LdapType extends java.lang.Enum<AbstractLdapProperties.LdapType>
The ldap type used to handle specific ops.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AD
Active directory.EDirectory
EDirectory.FreeIPA
FreeIPA directory.GENERIC
Generic ldap type (OpenLDAP, 389ds, etc).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractLdapProperties.LdapType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AbstractLdapProperties.LdapType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GENERIC
public static final AbstractLdapProperties.LdapType GENERIC
Generic ldap type (OpenLDAP, 389ds, etc).
-
AD
public static final AbstractLdapProperties.LdapType AD
Active directory.
-
FreeIPA
public static final AbstractLdapProperties.LdapType FreeIPA
FreeIPA directory.
-
EDirectory
public static final AbstractLdapProperties.LdapType EDirectory
EDirectory.
-
-
Method Detail
-
values
public static AbstractLdapProperties.LdapType[] 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 (AbstractLdapProperties.LdapType c : AbstractLdapProperties.LdapType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractLdapProperties.LdapType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-