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

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.4
    • Affects Version/s: 2.5.3
    • Component/s: Internal Client, Security
    • Labels:
      None
    • Minor Change

      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.

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

              Created:
              Updated:
              Resolved: