[SERVER-15298] Support PLAIN authentication in Community version when in authSchemaVersion28SCRAM Created: 17/Sep/14  Updated: 02/Aug/18  Resolved: 10/Oct/14

Status: Closed
Project: Core Server
Component/s: Security
Affects Version/s: 2.7.6
Fix Version/s: 2.7.8

Type: Task Priority: Major - P3
Reporter: Andreas Nilsson Assignee: Gregory McKeon (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Tested
Participants:

 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.



 Comments   
Comment by Githook User [ 10/Oct/14 ]

Author:

{u'username': u'agralius', u'name': u'Andreas Nilsson', u'email': u'andreas.nilsson@10gen.com'}

Message: SERVER-15298 Support PLAIN for schemaVersion28SCRAM
Branch: master
https://github.com/mongodb/mongo/commit/8264ef20b0d542ae441d17349c6e5f0829489649

Generated at Thu Feb 08 03:37:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.