Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-34698

authentication_commands physical structure problem

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 4.0.0-rc0
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Fully Compatible
    • Platforms 2018-05-07

      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.

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: