AuthenticationDatabase
- Last Updated: November 17, 2016
- 1 minute read
- DataDirect Connectors
- JDBC
- MongoDB 6.0
- Documentation
Purpose
Specifies the database on the MongoDB server where user principal names are
stored for Kerberos authentication. The default name of this database is $external.
Valid Values
string
where:
- string
- is the name of the database on the MongoDB server used for authentication.
Notes
User principal names must be added to the authentication database on the
MongoDB server. The user principal name is passed via the Kerberos Service Ticket to the
MongoDB server. MongoDB then checks the user principal name against the authentication
database (default $external). If the user principal name is
accepted, the user ID is passed in the final handshake and a client-server connection is
established.
Default
$external
Data Type
String