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

Convert std::string parameters in auth module to StringData, as appropriate

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.1.1
    • Affects Version/s: None
    • Component/s: Security
    • Labels:
    • Fully Compatible

      The auth module takes std::string const& parameters a lot when it could be taking StringData const&. In some places, we have to call StringData::toString() as a result, so when we clean up the parameter types, we'll need to audit callers, too.

            Assignee:
            kashish.garg Kashish Garg
            Reporter:
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: