[SERVER-11426] C++ driver should accept both "userSource" and "db" when specifying what DB to authenticate against in the auth helper Created: 28/Oct/13 Updated: 05/Nov/15 Resolved: 30/Oct/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Client, Security |
| Affects Version/s: | 2.5.3 |
| Fix Version/s: | 2.5.4 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Spencer Brody (Inactive) | Assignee: | Matt Dannenberg |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Minor Change |
| Participants: |
| 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. |
| Comments |
| Comment by auto [ 30/Oct/13 ] |
|
Author: {u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}Message: |
| Comment by auto [ 30/Oct/13 ] |
|
Author: {u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}Message: |