skip to main content
Connection Property Descriptions : AuthenticationDatabase
  

Try DataDirect Drivers Now

AuthenticationDatabase

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

See also

*Authentication
*Authentication Properties