Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-909

Update user manipulation helpers to use new manipulation commands provided by the server.

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.12.0, 3.0.0
    • Affects Version/s: None
    • Component/s: API
    • Labels:
      None

      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.

        There are no Sub-Tasks for this issue.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: