-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Documentation
-
Labels: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");
- is related to
-
JAVA-2399 Reference docs for Monitoring in the sync driver contains a code sample for the async driver
- Closed