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

Java driver doesn't read the authentication level of the server

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 2.11.1
    • Major Change

    Description

      I'm configuring the driver to authenticate to a mongoDB server.
      The mongoDB server doesn't require authentication. While the driver tries to authenticate it gets this error:
      com.mongodb.CommandFailureException:

      { "serverUsed" : "/127.0.0.1:27115" , "errmsg" : "auth fails" , "ok" : 0.0}

      Since the mongoDB default option is not to authenticate most of our db's doesn't require any authentication. Supporting this will allow us to gradually add authentication to our cluster without any down time.

      Attachments

        Activity

          People

            Unassigned Unassigned
            noamal Noam Almog
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: