com.vmware.vcloud.sdk.constants
Enum LdapAuthenticationMechanismType

java.lang.Object
  extended by java.lang.Enum<LdapAuthenticationMechanismType>
      extended by com.vmware.vcloud.sdk.constants.LdapAuthenticationMechanismType
All Implemented Interfaces:
Serializable, Comparable<LdapAuthenticationMechanismType>

public enum LdapAuthenticationMechanismType
extends Enum<LdapAuthenticationMechanismType>

LdapAuthenticationMechanism constants

Since:
API 1.5, SDK 1.5
Author:
Ecosystem Engineering

Enum Constant Summary
KERBEROS
          LDAP connection uses Kerberos authentication.
MD5DIGEST
          LDAP connection uses Digest MD5 authentication as specified in RFC 2831.
NTLM
          LDAP connection uses Windows NTLM authentication.
SIMPLE
          LDAP connection uses simple authentication as specified in RFC 2251 and RFC 2829.
 
Method Summary
static LdapAuthenticationMechanismType fromValue(String value)
           
 String value()
           
static LdapAuthenticationMechanismType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LdapAuthenticationMechanismType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SIMPLE

public static final LdapAuthenticationMechanismType SIMPLE
LDAP connection uses simple authentication as specified in RFC 2251 and RFC 2829.


KERBEROS

public static final LdapAuthenticationMechanismType KERBEROS
LDAP connection uses Kerberos authentication.


MD5DIGEST

public static final LdapAuthenticationMechanismType MD5DIGEST
LDAP connection uses Digest MD5 authentication as specified in RFC 2831.


NTLM

public static final LdapAuthenticationMechanismType NTLM
LDAP connection uses Windows NTLM authentication.

Method Detail

values

public static LdapAuthenticationMechanismType[] 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 (LdapAuthenticationMechanismType c : LdapAuthenticationMechanismType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static LdapAuthenticationMechanismType 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 name
NullPointerException - if the argument is null

value

public String value()

fromValue

public static LdapAuthenticationMechanismType fromValue(String value)


Copyright © 2016. All Rights Reserved.