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

Support PLAIN authentication in Community version when in authSchemaVersion28SCRAM

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.7.8
    • 2.7.6
    • Security
    • None

    Description

      This needs a bit of coding since we can't do a simple match with the MONGODB-CR hash when it has been removed in the authSchemaUpgrade.

      We will simply recompute the SCRAM storedKey using the iterationCount and salt of the user who is trying to log in.

      Implementation note: simply make computeProperties public instead of static and call it with the pw, iterationCount and salt.

      schwerin as it turns out we'll have to have a function taking the iteration count and salt like discussed before.

      Attachments

        Activity

          People

            greg.mckeon@mongodb.com Gregory McKeon (Inactive)
            andreas.nilsson Andreas Nilsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: