[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:
Depends
depends on SERVER-6246 Manipulate user objects exclusively v... Closed
depends on SERVER-10593 Expose built-in roles that can be use... Closed
depends on SERVER-10855 Add a way to specify in createUser an... Closed
is depended on by DRIVERS-103 Manipulate user objects exclusively v... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
JAVA-973 3.0: Update user manipulation helpers... Sub-task Closed Jeffrey Yemin  
JAVA-974 2.12: Update user manipulation helper... Sub-task Closed Jeffrey Yemin  
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.


Generated at Thu Feb 08 08:53:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.