Creates a MongoCredential instance for the GSSAPI SASL mechanism
Creates a MongoCredential instance for the GSSAPI SASL mechanism
the user name
Creates a MongoCredential instance for the MongoDB Challenge Response protocol
Creates a MongoCredential instance for the MongoDB Challenge Response protocol
the user name
the source of the user name, typically a database name
the password
Creates a MongoCredential instance for the MongoDB X.
Creates a MongoCredential instance for the MongoDB X.509 protocol.
the non-null user name
the credential
Creates a MongoCredential instance for the PLAIN SASL mechanism.
Creates a MongoCredential instance for the PLAIN SASL mechanism.
the non-null user name
the source where the user is defined. This can be either "$external"
or the name of a database.
the credential
Creates a MongoCredential instance for the MongoDB Challenge Response protocol
Creates a MongoCredential instance for the MongoDB Challenge Response protocol
the user name
the source of the user name, typically a database name
the password
(Since version 2.7) Please use MongoCredential.createMongoCRCredential
Creates a MongoCredential instance for the GSSAPI SASL mechanism
Creates a MongoCredential instance for the GSSAPI SASL mechanism
the user name
(Since version 2.7) Please use MongoCredential.createGSSAPICredential
Helper class for creating MongoCredential instances
2.6
com.mongodb.MongoCredential