[JAVA-4812] Remove getNonce command usage for 6.2+ Created: 16/Nov/22  Updated: 28/Oct/23  Resolved: 19/Dec/22

Status: Closed
Project: Java Driver
Component/s: Test Coverage
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Improvement Priority: Major - P3
Reporter: PM Bot Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
Server Compat: 6.3
Upstream Changes Summary:

DRIVERS-2490:
The server is removing support for the getNonce command via SERVER-71007. getNonce was used for implementing the MONGODB-CR authentication mechanism, which was removed from the server in MongoDB 4.0.

Drivers need to:

1) Verify they do not have any logic or non-spec tests that would send getNonce to a 6.2+ server.

2) Sync command logging and monitoring spec tests to: https://github.com/mongodb/specifications/commit/735a667672c758617821e3c5dda99c551e007375

Note, as part of the above commit some existing tests around redacting sensitive commands/replies in command monitoring events and log messages were updated to have appropriate max server versions and so will now be skipped on newer servers where the commands they use no longer exist.

Backwards Compatibility: Fully Compatible
Documentation Changes: Not Needed

 Description   

This ticket was split from DRIVERS-2490, please see that ticket for a detailed description.



 Comments   
Comment by Githook User [ 19/Dec/22 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Sync spec tests

JAVA-4812
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/6f7170348757633928ccd2529d325b95f1cab75a

Generated at Thu Feb 08 09:03:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.