LdapServerType Class

public final class LdapServerType
extends ExpandableStringEnum<LdapServerType>

The type of the LDAP server.

Field Summary

Modifier and Type Field and Description
static final LdapServerType ACTIVE_DIRECTORY

The volume should use Active Directory for LDAP connections.

static final LdapServerType OPEN_LDAP

The volume should use OpenLDAP for LDAP connections.

Constructor Summary

Constructor Description
LdapServerType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LdapServerType value.

Method Summary

Modifier and Type Method and Description
static LdapServerType fromString(String name)

Creates or finds a LdapServerType from its string representation.

static Collection<LdapServerType> values()

Gets known LdapServerType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACTIVE_DIRECTORY

public static final LdapServerType ACTIVE_DIRECTORY

The volume should use Active Directory for LDAP connections.

OPEN_LDAP

public static final LdapServerType OPEN_LDAP

The volume should use OpenLDAP for LDAP connections.

Constructor Details

LdapServerType

@Deprecated
public LdapServerType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LdapServerType value.

Method Details

fromString

public static LdapServerType fromString(String name)

Creates or finds a LdapServerType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding LdapServerType.

values

public static Collection<LdapServerType> values()

Gets known LdapServerType values.

Returns:

known LdapServerType values.

Applies to