[JAVA-2400] Typo in Java GSSAPI sample Created: 07/Dec/16  Updated: 14/Dec/16  Resolved: 14/Dec/16

Status: Closed
Project: Java Driver
Component/s: Documentation
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Luke Prochazka Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to JAVA-2399 Reference docs for Monitoring in the ... Closed

 Description   

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");



 Comments   
Comment by Kay Kim (Inactive) [ 14/Dec/16 ]

Updated on master branch when working on JAVA-2399

Generated at Thu Feb 08 08:57:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.