[SERVER-34698] authentication_commands physical structure problem Created: 26/Apr/18  Updated: 29/Oct/23  Resolved: 27/Apr/18

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 4.0.0-rc0

Type: Improvement Priority: Trivial - P5
Reporter: Billy Donahue Assignee: Billy Donahue
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Platforms 2018-05-07
Participants:

 Description   

src/mongo/db/commands/authentication_commands.h

needlessly exposes the declaration of CmdAuthenticate,
causing a public dependency on commands.h.

It declares a member function _authenticateX509 that might not be defined.
We should limit detail exposure and declare only what we define.

The only thing in this library needed by client code is disableAuthMechanism,
which should just be a free function.



 Comments   
Comment by Githook User [ 27/Apr/18 ]

Author:

{'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue', 'name': 'Billy Donahue'}

Message: SERVER-34698 cleanup physical structure of CmdAuthenticate
Branch: master
https://github.com/mongodb/mongo/commit/ac1e34979ac20b9bb722449ed888a679a62b1252

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