[JAVA-827] Support SASL PLAIN authentication Created: 17/May/13  Updated: 27/May/22  Resolved: 30/Sep/13

Status: Closed
Project: Java Driver
Component/s: Authentication
Affects Version/s: None
Fix Version/s: 2.12.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 Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-6047 $pullAll causes empty embedded object... Closed
is depended on by DRIVERS-1887 Support SASL PLAIN authentication Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
JAVA-965 3.0: Support SASL PLAIN authentication Sub-task Closed Jeffrey Yemin  
JAVA-966 2.12: Support SASL PLAIN authentication Sub-task Closed Jeffrey Yemin  
Server Compat: 2.0, 2.2

 Description   

This is needed for (at least) LDAP proxy authentication. See http://www.ietf.org/rfc/rfc4616.txt. The payload looks like this:

base64(utf-8('NUL<username>NUL<password>'))



 Comments   
Comment by auto [ 30/Sep/13 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-827, JAVA-966: Support SASL PLAIN authentication mechanism
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/4e81118fe18ea1c4d466e273a03aa56d4abafdff

Comment by auto [ 09/Aug/13 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-827: Added support for arbitrary source of PLAIN credential. It can be either $external or the name of any database, and it default to "admin" in the Mongo URI.
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/b5f2bde00228cb6434e2bfcc18a9905809171831

Comment by Jeffrey Yemin [ 06/Aug/13 ]

PLAIN needs to support other sources besides $external, so re-opening

Comment by Jeffrey Yemin [ 26/Jun/13 ]

Available in snapshot release: https://oss.sonatype.org/content/repositories/snapshots/org/mongodb/mongo-java-driver/3.0.0-SNAPSHOT/

Comment by auto [ 24/Jun/13 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-827: Support SASL PLAIN authentication mechanism
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/d75febf03ff760949dffa9087c2d8d12bec8a83d

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