Typo in Java GSSAPI sample

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Documentation
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Under the Java connection examples found at http://mongodb.github.io/mongo-java-driver/3.3/driver/reference/connecting/authenticating/

      See the GSSAPI examples, the connection string is quoted as follows:

      MongoClientURI uri = new MongoClientURI("mongodb://username%40MYREALM.com@host1/?authMechanism=GSSAPI");
      

      The realm component must be all upper case, and I would suggest making the realm name consistent with the previous example (quoted above this string), as follows:

      MongoClientURI uri = new MongoClientURI("mongodb://user1%40MYREALM.ME@host1/?authMechanism=GSSAPI");
      

            Assignee:
            Kay Kim (Inactive)
            Reporter:
            Luke Prochazka (Inactive)
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: