[DRIVERS-441] Deprecate MongoDB-CR Created: 17/Jan/18 Updated: 28/Oct/23 Resolved: 28/Jun/18 |
|
| Status: | Closed |
| Project: | Drivers |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Rathi Gnanasekaran | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | newdriver | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Server Compat: | 4.0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| Start date: | |||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
MONGODB-CR was deprecated in MongoDB 3.6.0 and was removed in MongoDB 3.7.1. Drivers should deprecate any helpers or constants related to authentication or user management that rely on MONGODB-CR credentials. Any documentation referring to MONGODB-CR should say that it is deprecated and removed in 4.0. Any tests explicitly using MONGODB-CR should be skipped when connected to MongoDB 4.0+. |
| Comments |
| Comment by Bernie Hackett [ 30/Jan/18 ] |
|
I don't think we want to warn. MONGODB-CR is still a valid auth mechanism until 4.0. |
| Comment by Kevin Albertson [ 30/Jan/18 ] |
|
Should we log a warning if the user specifies MONGODB-CR? If so, we'll need to update the auth and connection string spec tests, e.g. https://github.com/mongodb/specifications/blob/master/source/auth/tests/connection-string.json#L157 |
| Comment by Jeffrey Yemin [ 18/Jan/18 ] |
|
Drivers could also deprecate any helpers or constants related to authentication or user management that rely on MONGODB-CR credentials. |
| Comment by Bernie Hackett [ 18/Jan/18 ] |
|
We probably don't want to remove the examples until we no longer support the mechanism (once drivers drop support for 3.6?). We should make it clear in the example docs that, as of the next server release, the server no longer supports MONGODB-CR. |