[SERVER-41412] Add auth support to mongotmock and introduce auth variant of s_b suite Created: 30/May/19  Updated: 29/Oct/23  Resolved: 05/Jun/19

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 4.2.0-rc1, 4.3.1

Type: Task Priority: Major - P3
Reporter: David Storch Assignee: David Storch
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
is related to SERVER-41260 Support auth in $sB Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2
Sprint: Query 2019-06-17
Participants:

 Description   

This change is necessary to test auth support in $sB added under related ticket SERVER-41260.



 Comments   
Comment by Githook User [ 05/Jun/19 ]

Author:

{'name': 'David Storch', 'email': 'david.storch@10gen.com', 'username': 'dstorch'}

Message: SERVER-41412 Introduce a search_beta_auth suite.

This variant of search_beta turns on auth on the cluster,
including on the mongotmock, which supports the SCRAM-SHA-1
authentication mechanism.

Also configures the pre-existing search_beta_ssl suite to
use auth.

There are changes in this commit which permit mongotmock to
link in the necessary auth-related code and command line
parameters without pulling in unnecessary dependencies, or
adding new dependencies to mongocryptd.

(cherry picked from commit 22a595fbef4d023002b3c74d529368fcc4dbb196)
Branch: v4.2
https://github.com/mongodb/mongo/commit/a01fc83106e6143a1ed34572eb6cf720adc42da0

Comment by Githook User [ 05/Jun/19 ]

Author:

{'name': 'David Storch', 'email': 'david.storch@10gen.com', 'username': 'dstorch'}

Message: SERVER-41412 Add SCRAM-SHA-1 auth support to mongotmock.

(cherry picked from commit 7d663aa78d3f9961a2eee6c7551e7ee41fbc2269)
Branch: v4.2
https://github.com/10gen/mongo-enterprise-modules/commit/fc16a1fe907c2c2a217a2653593fbe74eb271cd9

Comment by Githook User [ 05/Jun/19 ]

Author:

{'name': 'David Storch', 'email': 'david.storch@10gen.com', 'username': 'dstorch'}

Message: SERVER-41412 Add SCRAM-SHA-1 auth support to mongotmock.
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/7d663aa78d3f9961a2eee6c7551e7ee41fbc2269

Comment by Githook User [ 05/Jun/19 ]

Author:

{'name': 'David Storch', 'email': 'david.storch@10gen.com', 'username': 'dstorch'}

Message: SERVER-41412 Introduce a search_beta_auth suite.

This variant of search_beta turns on auth on the cluster,
including on the mongotmock, which supports the SCRAM-SHA-1
authentication mechanism.

Also configures the pre-existing search_beta_ssl suite to
use auth.

There are changes in this commit which permit mongotmock to
link in the necessary auth-related code and command line
parameters without pulling in unnecessary dependencies, or
adding new dependencies to mongocryptd.
Branch: master
https://github.com/mongodb/mongo/commit/22a595fbef4d023002b3c74d529368fcc4dbb196

Generated at Thu Feb 08 04:57:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.