Authentication to the MongoDB server is accomplished by adding appropriate credentials to the MongoDB configuration. The driver supports the 4 authentication mechanisms currently supported by the server.
Note: All authenticators except MongoDB CR are provided via the driver's extensions jar available to license holders. Please contact Allanbank Consulting, Inc. for information on licensing the driver and obtaining the extensions jar.