Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
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");
|
Attachments
Issue Links
- is related to
-
JAVA-2399 Reference docs for Monitoring in the sync driver contains a code sample for the async driver
-
- Closed
-