[JAVA-1461] Support authentication mechanism negotiation Created: 19/Sep/14 Updated: 27/May/22 Resolved: 29/Sep/14 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Authentication |
| Affects Version/s: | None |
| Fix Version/s: | 2.13.0, 3.0.0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Server Compat: | 2.7 | ||||||||||||
| Description |
|
To support authentication upgrades from older versions of MongoDB to 2.8 the driver will use the following algorithm:
MongoDB 2.8 will always support SCRAM-SHA-1 if at least MONGODB-CR was specified in --authenticationMechanisms, so drivers do not have to "try and fall back". If SCRAM credentials don't yet exist for a user they will be created on-the-fly when the driver uses SCRAM-SHA-1 for mechanism. |
| Comments |
| Comment by Githook User [ 30/Jan/15 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: Support authentication mechanism negotiation. If the authentication mechanism is unspecified,
|
| Comment by Githook User [ 29/Sep/14 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: Support authentication mechanism negotiation. If the authentication mechanism is unspecified,
|
| Comment by Githook User [ 29/Sep/14 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: Support authentication mechanism negotiation. If the authentication mechanism is unspecified, the driver will use the most secure mechanism based on the server version.
|