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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Trivial - P5 Trivial - P5
    • legacy-0.9.0
    • legacy-0.0-26compat-2.6.0-rc1
    • Implementation
    • 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

            mira.carey@mongodb.com Mira Carey
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: