Authentication Properties
- Last Updated: December 21, 2016
- 1 minute read
- DataDirect Connectors
- JDBC
- MongoDB 6.0
- Documentation
The following table summarizes connection properties related to authentication.
| Property | Characteristic |
|---|---|
| AuthenticationDatabase | Specifies the database on the MongoDB server where user
principal names are stored for Kerberos authentication. The default
is $external. |
| AuthenticationMethod | Determines which authentication method the driver uses
when establishing a connection. The default is userIdPassword. |
| DatabaseName | Specifies the name of the database to which you are connecting. This value is used as the default qualifier for unqualified table names in SQL queries. |
| LoginConfigName | Specifies the name of the entry in the JAAS login
configuration file that contains the authentication technology used
by the driver to establish a Kerberos connection. The
LoginModule-specific items found in the entry are passed on to the
LoginModule. The default is JDBC_DRIVER_01. |
| Password | Specifies the password used to connect to your database for user ID/password authentication. |
| ServicePrincipalName | Specifies the three-part service principal name registered with the key distribution center (KDC) in a Kerberos configuration. When no value is specified, the driver builds a service principle name based on environment variables. |
| User | Specifies the user ID for user ID/password authentication or the user principal name for Kerberos authentication. |