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

Deprecate DB.addUser and DB.removeUser

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.12.0
    • Affects Version/s: None
    • Component/s: API, Authentication
    • None

      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:

      • addUser
      • updateUser
      • dropUser

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

              Created:
              Updated:
              Resolved: