skip to main content
Using the driver : Authentication : Configuring NTLM authentication : Configuring NTLM authentication by specifying user credentials
  

Try DataDirect Drivers Now
Configuring NTLM authentication by specifying user credentials
You can configure the driver for NTLM authentication with the specification of user credentials.
To configure the driver:
1. Set the AuthenticationMethod property to either of the following values.
*ntlmjava to use NTLMv1 or NTLMv2 depending on the size of the password. NTLMv1 is used if the password is 14 bytes or less; NTLMv2 is used if the password is more than 14 bytes.
*ntlm2java to use NTLMv2 protocols to connect to a server that is restricted to using NTLMv2 authentication.
Note: See AuthenticationMethod for more information on setting the AuthenticationMethod property.
2. Set the Domain property to provide the name of the domain server that administers the database.
Note: Alternatively, you can set the domain server name using the User property.
3. Set the User property to provide the user ID.
4. Set the Password property to provide the password.
5. If using NTLM authentication with a Security Manager on a Java Platform, security permissions must be granted to allow the driver to establish connections. See Permissions for establishing connections for an example.