Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1919

Invalid description for a MongoCredential method

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.0.4, 3.1.0
    • Affects Version/s: 3.0.2
    • Component/s: Documentation
    • Labels:
      None

      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.

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            daniel.coupal@mongodb.com Daniel Coupal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: