Authentication
- Last Updated: December 21, 2016
- 1 minute read
- DataDirect Connectors
- JDBC
- MongoDB 6.0
- Documentation
The driver supports user ID/password and Kerberos authentication with the AuthenticationMethod connection property.
When AuthenticationMethod=userIdPassword
(default), the driver uses SCRAM-SHA-1 user ID/password
authentication. The User property provides the user ID, and the Password property provides
the password.
When AuthenticationMethod=kerberos, the
driver uses Kerberos authentication.
Note: The
userIdPassword setting is appropriate for servers
that do not have authentication enabled. In a scenario where AuthenticationMethod has been
set to userIdPassword but the server has not been
configured for user ID/password authentication, the driver will still connect to the
database server.