Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2948

Remove Support for MONGODB-CR Authentication

    • Needed
    • Hide

      Summary of necessary driver changes

      • If the driver exposes the authentication mechanism in a public API, then:

      Deprecate MONGODB-CR and raise an error indicating to the user that MONGODB-CR is no longer supported in MongoDB 4.0 and subsequently the current driver version.

      • If the driver does not expose the authentication mechanism in a public API then:

      Completely remove MONGODB-CR functionality from the driver.

      If not already done with DRIVERS-2938 sync the auth legacy spec tests to https://github.com/mongodb/specifications/pull/1611

      Commits for syncing spec/prose tests
      (and/or refer to an existing language POC if needed)

      Context for other referenced/linked tickets

      •  This should be done after DRIVERS-2511 (remove support for MongoDB 3.6)
      Show
      Summary of necessary driver changes If the driver exposes the authentication mechanism in a public API, then: Deprecate MONGODB-CR and raise an error indicating to the user that MONGODB-CR is no longer supported in MongoDB 4.0 and subsequently the current driver version. If the driver does not expose the authentication mechanism in a public API then: Completely remove MONGODB-CR functionality from the driver. If not already done with DRIVERS-2938 sync the auth legacy spec tests to https://github.com/mongodb/specifications/pull/1611 Commits for syncing spec/prose tests (and/or refer to an existing language POC if needed)   https://github.com/mongodb/mongo-python-driver/commit/ad3292e39b0490db354735a803911bfd6943ee65 Context for other referenced/linked tickets  This should be done after DRIVERS-2511 (remove support for MongoDB 3.6)
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-5773 Fixed 1.30.0
      CXX-3139 Backlog
      CSHARP-5378 Investigating
      GODRIVER-3397 Backlog
      JAVA-5669 Done
      NODE-6473 Backlog
      MOTOR-1389 Duplicate
      PYTHON-4922 Fixed 4.11
      PHPLIB-1565 Needs Triage
      RUBY-3569 Backlog
      RUST-2072 Won't Do
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-5773 Fixed 1.30.0 CXX-3139 Backlog CSHARP-5378 Investigating GODRIVER-3397 Backlog JAVA-5669 Done NODE-6473 Backlog MOTOR-1389 Duplicate PYTHON-4922 Fixed 4.11 PHPLIB-1565 Needs Triage RUBY-3569 Backlog RUST-2072 Won't Do

      Summary

      MONGODB-CR is removed in MongoDB 4.0 and driver's that have completed DRIVERS-2511 can subsequently remove support for MONGODB-CR authentication.

      Motivation

      Who is the affected end user?

      Users attempting to use MONGODB-CR authentication.

      How does this affect the end user?

      Users attempting to use MONGODB-CR authentication and are not aware it is no longer supported on 4.0 servers.

      How likely is it that this problem or use case will occur?

      Rare

      If the problem does occur, what are the consequences and how severe are they?

      Driver will not be able to authenticate.

      Is this issue urgent?

      No

      Is this ticket required by a downstream team?

      No

      Is this ticket only for tests?

      No

      Acceptance Criteria

      If the driver exposes the authentication mechanism in a public API, then:

      • Deprecate MONGODB-CR and raise an error indicating to the user that MONGODB-CR is no longer supported in MongoDB 4.0 and subsequently the current driver version.

      If the driver does not expose the authentication mechanism in a public API then:

      • Completely remove MONGODB-CR functionality from the driver.

      If not already done with DRIVERS-2938 sync the auth legacy spec tests to https://github.com/mongodb/specifications/pull/1611

            Assignee:
            steve.silvester@mongodb.com Steve Silvester
            Reporter:
            durran.jordan@mongodb.com Durran Jordan
            James Kovacs James Kovacs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: