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

Invalid description for a MongoCredential method

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 3.0.4, 3.1.0
    • 3.0.2
    • Documentation
    • None

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: