[JAVA-1919] Invalid description for a MongoCredential method Created: 07/Aug/15  Updated: 14/Sep/15  Resolved: 07/Aug/15

Status: Closed
Project: Java Driver
Component/s: Documentation
Affects Version/s: 3.0.2
Fix Version/s: 3.0.4, 3.1.0

Type: Improvement Priority: Minor - P4
Reporter: Daniel Coupal Assignee: Ross Lawley
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

public static MongoCredential createScramSha1Credential(String userName,
String source,
char[] password)
Creates a MongoCredential instance for the SCRAM-SHA-1 SASL mechanism. Use this method only if you want to ensure that the driver uses the MONGODB_CR mechanism regardless of whether the server you are connecting to supports a more secure authentication mechanism. Otherwise use the createCredential(String, String, char[]) method to allow the driver to negotiate the best mechanism based on the server version.

In the above, MONGODB_CR should be replaced by SCRAM-SHA-1 SASL.



 Comments   
Comment by Jeffrey Yemin [ 14/Sep/15 ]

Fix release today in 3.0.4.

Comment by Ross Lawley [ 07/Aug/15 ]

Marking resolved - the javadoc will be updated in due course.

Comment by Githook User [ 07/Aug/15 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Fix javadoc for createScramSha1Credential

JAVA-1919
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/5612f47c30cfe826be5f7f5a9532c9b8443de743

Comment by Githook User [ 07/Aug/15 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Fix javadoc for createScramSha1Credential

JAVA-1919
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/e1a082304c27a469bb658ae796d44dcdba74c5ca

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