Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-69

Support greedy authentication

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Component/s: None

      All drivers need to support greedy authentication, which means that all connections in the connection pool must be authenticated against all databases for which credentials have been provided. This is due to delegated authorization in the 2.4 server, where a user can be defined in database 'A' and granted privileges on database 'B'. All drivers must disallow authenticating to the same database multiple times with different credentials using the same MongoClient instance.

      All drivers need to support the authSource option on the connection string.

            Assignee:
            barrie Barrie Segal
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: