Skip to content

Commit 5612f47

Browse files
committed
Fix javadoc for createScramSha1Credential
JAVA-1919
1 parent a98ea61 commit 5612f47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver-core/src/main/com/mongodb/MongoCredential.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public static MongoCredential createCredential(final String userName, final Stri
108108

109109
/**
110110
* Creates a MongoCredential instance for the SCRAM-SHA-1 SASL mechanism. Use this method only if you want to ensure that
111-
* the driver uses the MONGODB_CR mechanism regardless of whether the server you are connecting to supports a more secure
111+
* the driver uses the SCRAM-SHA-1 mechanism regardless of whether the server you are connecting to supports the
112112
* authentication mechanism. Otherwise use the {@link #createCredential(String, String, char[])} method to allow the driver to
113113
* negotiate the best mechanism based on the server version.
114114
*

0 commit comments

Comments
 (0)