[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: |
|
||||
| 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: |