[SERVER-32965] Expose per-user SASL mechanism negotiation via isMaster Created: 29/Jan/18  Updated: 29/Oct/23  Resolved: 02/Feb/18

Status: Closed
Project: Core Server
Component/s: Security
Affects Version/s: None
Fix Version/s: 3.7.2

Type: Improvement Priority: Major - P3
Reporter: Spencer Jackson Assignee: Spencer Jackson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-11655 Docs for SERVER-32965: Expose per-use... Closed
Backwards Compatibility: Fully Compatible
Sprint: Platforms 2018-02-12
Participants:

 Description   

Allow clients to inform servers during isMaster which user they will eventually authenticate as. This permits the server to express which SASL authentication mechanisms may be used to authenticate as that user. The username send in the command request must be unprocessed and unnormalized.

Example:

MongoDB Enterprise > db.runCommand({isMaster: 1, saslSupportedMechs: "sajack.admin"})
{
        "ismaster" : true,
        "saslSupportedMechs": ["SCRAM-SHA-1", "SCRAM-SHA-256"],
        ...
        "ok" : 1
}



 Comments   
Comment by Githook User [ 15/Feb/18 ]

Author:

{'email': 'sara.golemon@mongodb.com', 'name': 'Sara Golemon', 'username': 'sgolemon'}

Message: SERVER-32965 isMaster.saslSupportedMechs updates
Branch: master
https://github.com/mongodb/mongo/commit/08dc33319531b834743d30b51a448a6f7d9b20bd

Comment by Githook User [ 15/Feb/18 ]

Author:

{'email': 'sara.golemon@mongodb.com', 'name': 'Sara Golemon', 'username': 'sgolemon'}

Message: SERVER-32965 isMaster.saslSupportedMechs updates

Comment by Githook User [ 02/Feb/18 ]

Author:

{'email': 'spencer.jackson@mongodb.com', 'name': 'Spencer Jackson', 'username': 'spencerjackson'}

Message: SERVER-32965: Expose per-user SASL mechanism negotiation via isMaster
Branch: master
https://github.com/mongodb/mongo/commit/b40c004eec8e8083cf9b4d6a8c614865dd438619

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