Enum LdapInfo.LdapType
- java.lang.Object
-
- java.lang.Enum<LdapInfo.LdapType>
-
- org.sourceid.saml20.domain.datasource.info.LdapInfo.LdapType
-
- All Implemented Interfaces:
Serializable,Comparable<LdapInfo.LdapType>
- Enclosing class:
- LdapInfo
public static enum LdapInfo.LdapType extends Enum<LdapInfo.LdapType>
Supported LDAP types by PingFederate
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ActiveDirectoryCustomGenericOracleUnifiedDirectoryPingDirectoryPingDSSunDirectoryServerUnboundIDDeprecated.Undefined
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LdapInfo.LdapTypecanonicalName(String name)Converts an LDAP description to anLdapInfoStringgetDescription()Retrieves the friendly description of the LDAP typestatic LdapInfo.LdapTypevalueOf(String name)Returns the enum constant of this type with the specified name.static LdapInfo.LdapType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Undefined
public static final LdapInfo.LdapType Undefined
-
Generic
public static final LdapInfo.LdapType Generic
-
ActiveDirectory
public static final LdapInfo.LdapType ActiveDirectory
-
SunDirectoryServer
public static final LdapInfo.LdapType SunDirectoryServer
-
OracleUnifiedDirectory
public static final LdapInfo.LdapType OracleUnifiedDirectory
-
UnboundID
@Deprecated public static final LdapInfo.LdapType UnboundID
Deprecated.
-
PingDirectory
public static final LdapInfo.LdapType PingDirectory
-
PingDS
public static final LdapInfo.LdapType PingDS
-
Custom
public static final LdapInfo.LdapType Custom
-
-
Method Detail
-
values
public static LdapInfo.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 (LdapInfo.LdapType c : LdapInfo.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 LdapInfo.LdapType 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
-
canonicalName
public static LdapInfo.LdapType canonicalName(String name) throws LdapTypeNotFoundException
Converts an LDAP description to anLdapInfo- Parameters:
name- the LDAP description- Returns:
- the
LdapInforepresented by the description - Throws:
LdapTypeNotFoundException- if the provided name is not supported
-
getDescription
public String getDescription()
Retrieves the friendly description of the LDAP type- Returns:
- the friendly description of the LDAP type
-
-