[JAVA-691] Authentication enhancements Created: 08/Nov/12  Updated: 25/Apr/13  Resolved: 25/Feb/13

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.11.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:
Depends
is depended on by DRIVERS-69 Support greedy authentication Closed
Duplicate
is duplicated by JAVA-651 MapReduce output to a temp db collect... Closed

 Description   

This covers two major new pieces of server functionality:



 Comments   
Comment by auto [ 22/Feb/13 ]

Author:

{u'date': u'2013-02-15T22:55:05Z', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-691: Changed MONGO-CR to MONGODB-CR and authProtocol to authMechanism
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/d647ccd0a59b23bed469053142ea7e2974fd44c0

Comment by auto [ 22/Feb/13 ]

Author:

{u'date': u'2013-02-13T02:27:48Z', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-691: Replacing authentication mechanism enum with String, so that it's extensible in the future
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/a12d953a9d525f883565a361bc342c97d852d580

Comment by auto [ 08/Feb/13 ]

Author:

{u'date': u'2013-01-31T02:16:01Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}

Message: JAVA-691: Removed authentication mechanism negotiation. Renamed MongoAuthenticationProtocol to MongoAuthenticationMechanism
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/6ab647834716d5aa5e8fa9ae38d1a8f961cf1d16

Comment by auto [ 29/Jan/13 ]

Author:

{u'date': u'2013-01-29T19:00:49Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}

Message: JAVA-691: Renamed MongoCredentials to MongoCredential and moved inner Protocol enum to top level enum MongoAuthenticationProtocol
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/f5150708b4f8bb9fe0eadf94f2b2501cc8c1f951

Comment by auto [ 29/Jan/13 ]

Author:

{u'date': u'2013-01-29T18:50:59Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}

Message: JAVA-691: Change from STRONGEST to NEGOTIATE. Removed SERVER-8100 workaround
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/021bc1dabe4b2c2a603f673f8f456ffa7a9d0ac8

Comment by auto [ 29/Jan/13 ]

Author:

{u'date': u'2013-01-23T00:38:11Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}

Message: JAVA-691: Took MongoAuthority and MongoCredentialsStore private (or rather, package-protected).
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/1f07df644efb743004a755e4f263ce3bedbdd01f

Comment by auto [ 29/Jan/13 ]

Author:

{u'date': u'2013-01-22T21:59:54Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}

Message: JAVA-691: MongoAuthority experiment
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/e671135376a8b9ae96d7cf91533090d4fa1e51f1

Comment by auto [ 29/Jan/13 ]

Author:

{u'date': u'2013-01-11T21:32:56Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}

Message: JAVA-691: Added error checking for password
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/27b1454560a1b6e9c2757b2b5a13a6af18d927bf

Comment by auto [ 29/Jan/13 ]

Author:

{u'date': u'2013-01-11T19:39:04Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}

Message: JAVA-691: Fixed up toString of MongoCredentials so it doesn't print the address of the password char array
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/ef1861c7b09c1af1611a09af6b9f9600d4b83f56

Comment by auto [ 29/Jan/13 ]

Author:

{u'date': u'2013-01-11T03:19:27Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}

Message: JAVA-691: Added equals, hashCode and toString to MongoAuthority, and toString to MongoCredentialsStore
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/6f75cf8c392494cfbe0dd85b8d2935fcc83e2e4f

Comment by auto [ 29/Jan/13 ]

Author:

{u'date': u'2013-01-11T02:11:50Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}

Message: JAVA-691: Added a better test of DBPort's authentication code
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/24cfb3a74b46353ea116d4880be88d0edb70bc31

Comment by auto [ 29/Jan/13 ]

Author:

{u'date': u'2013-01-10T23:05:17Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}

Message: JAVA-691: Finished SASL support.
1. Added support for authProtocol and authSource in MongoClientURI
2. Added support for passing a credentials store to MongoClient containing all the credentials that are needed by this client
3. Re-implemented DB.authenticate using the credentials store and a new authenticate command in DBTCPConnector. This removes the redundancy in DB and DBPort
4. Added support for negotiated authentication protocol specified by Protocol.STRONGEST
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/3d153c065d832e544ea99febfbdc3f886f921d3e

Comment by auto [ 04/Dec/12 ]

Author:

{u'date': u'2012-12-04T19:56:56Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}

Message: JAVA-691: Generalized examples with command line args
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/6354df53249720ee0f11c0e19cdd443aedf57faa

Comment by auto [ 04/Dec/12 ]

Author:

{u'date': u'2012-12-04T19:55:51Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}

Message: JAVA-691: Fixed a bug in CRAM-MD5 privilege acquisition
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/393bb8b72dec1d159a5a1dd228e62b3c5777e494

Comment by auto [ 04/Dec/12 ]

Author:

{u'date': u'2012-12-03T19:23:54Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}

Message: JAVA-691: Added auth examples for GSSAPI and CRAM-MD5
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/6cc2351386151d6302a330f0f9dc1d3dd6719870

Comment by auto [ 28/Nov/12 ]

Author:

{u'date': u'2012-11-22T15:34:16Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}

Message: JAVA-691: Changed SaslAuthenticator so that it is able to re-authenticate if the connection is broken.
Improved thread safety of DBPort class with use of volatile and AtomicLong
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/031ee50ff9c27ba1b3f6971db37fc97b549ec558

Comment by auto [ 28/Nov/12 ]

Author:

{u'date': u'2012-11-20T22:54:24Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}

Message: JAVA-691: Always acquire write privileges for now.
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/e3d4cbbaa7791de4b13e9188a43a579ddd4ec982

Comment by auto [ 28/Nov/12 ]

Author:

{u'date': u'2012-11-20T22:01:10Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}

Message: JAVA-691: Added support for GSSAPI authentication over SASL-based Mongo commands.
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/68ce1795b2284c1f3f27cfd17ab757a16bd7ddb1

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