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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.5.3
    • Fix Version/s: 2.5.4
    • Component/s: Internal Client, Security
    • Labels:
      None
    • Backwards Compatibility:
      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

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

              Dates

              Created:
              Updated:
              Resolved: