AuthMechanism Property
The authentication mechanism to be used when connecting to the LDAP server.
Syntax
public int getAuthMechanism(); public void setAuthMechanism(int authMechanism);
Enumerated values: public final static int amSimple = 0; public final static int amDigestMD5 = 1; public final static int amNegotiate = 2; public final static int amKerberos = 6;
Remarks
By default, AuthMechanism is amSimple (0), and default plaintext authentication is used to login to the server. If AuthMechanism is set to amDigestMD5 (1), the more secure DIGEST-MD5 authentication is used instead.
If AuthMechanism is set to amNegotiate (2) NTLM/Negotiate authentication will be used.
If AuthMechanism is set to amKerberos (6) Kerberos/Negotiate authentication will be used.
Default Value
0