[JAVA-1039] Deprecate DB.addUser and DB.removeUser Created: 07/Nov/13 Updated: 03/Apr/14 Resolved: 07/Nov/13 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API, Authentication |
| Affects Version/s: | None |
| Fix Version/s: | 2.12.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
With the introduction of actual commands to support adding, updating, and removing users, there is no longer a need for helper methods in the DB class to handle those activities, and in particular the addUser method is not expressive enough to handle the full range of updates that are now allowed. Given that, we are going to deprecate DB.addUser/removeUser, and have people use DB.runCommand directly and use the following commands:
|
| Comments |
| Comment by auto [ 07/Nov/13 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: |