Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-11426

C++ driver should accept both "userSource" and "db" when specifying what DB to authenticate against in the auth helper

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.5.3
    • 2.5.4
    • Internal Client, Security
    • None
    • Minor Change

    Description

      Everywhere else we refer to a user's "home" database we have changed the word "source"/"userSource" to "db". But the C++ driver's auth method still takes just "userSource" as the way to specify what db to run the authenticate command against.

      Since this behavior was already released in 2.4, we have to continue supporting userSource at least temporarily, but we should introduce "db" as an alias and start using that in all places in our code where we call the C++ driver's auth helper.

      Attachments

        Activity

          People

            matt.dannenberg Matt Dannenberg
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: