[JAVA-909] Update user manipulation helpers to use new manipulation commands provided by the server. Created: 31/Jul/13 Updated: 27/May/22 Resolved: 07/Nov/13 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API |
| Affects Version/s: | None |
| Fix Version/s: | 2.12.0, 3.0.0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Issue Links: |
|
||||||||||||||||||||
| Sub-Tasks: |
|
||||||||||||||||||||
| Server Compat: | 2.5 | ||||||||||||||||||||
| Description |
|
Currently addUser and removeUser directly access the system.users collection. In MongoDB 2.6 new commands will be added to add, remove, and update a user. The driver should use those commands when talking to a 2.6 server. In addition, those commands can take a write concern so the helper methods should be overloaded to take a WriteConcern. |