[CXX-438] ConnectionString should default to using the specified DB and use a default mechanism Created: 04/Dec/14 Updated: 19/Dec/14 Resolved: 09/Dec/14 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | None |
| Affects Version/s: | legacy-1.0.0-rc2 |
| Fix Version/s: | legacy-1.0.0-rc3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Pieter Jordaan | Assignee: | Spencer Jackson |
| Resolution: | Done | Votes: | 0 |
| Labels: | legacy-cxx | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
linux, gcc, c++11 |
||
| Description |
|
Connecting with ConnectionString works great when not authenticating. Authentication needs implicit authMechanism authSource declarations. I propose using the specified DB (if specified and authSource isn't) as the connection string already allows for this: Furthermore authMechanism has no default value and must be explicitly defined in the connection string. |
| Comments |
| Comment by Githook User [ 09/Dec/14 ] |
|
Author: {u'username': u'spencerjackson', u'name': u'Spencer Jackson', u'email': u'spencer.jackson@mongodb.com'}Message: |
| Comment by Spencer Jackson [ 05/Dec/14 ] |