Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-124

The client auth code should make sure there are no invalid entries in the auth BSON document

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Won't Fix
    • Affects Version/s: legacy-0.0-26compat-2.6.0-rc1
    • Fix Version/s: legacy-0.9.0
    • Component/s: Implementation
    • Labels:
    • Environment:
      Windows 8.1

      Description

      DBClientConnection::auth and sub-calls should ensure that the authentication parameters BSON does not contain invalid entries. For example, the password entry below is incorrect, but the client will not report any error and just proceed as if no password was specified.

                      BSONObjBuilder b;
                      b << "mechanism" << argv[2] <<
                           "user" << argv[3] <<
                           "password" << argv[4] <<
                           "clientLogLevel" << 1;

        Attachments

          Activity

            People

            Assignee:
            jason.carey Jason Carey
            Reporter:
            kaloian.manassiev Kaloian Manassiev
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: