|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MongoCredential | |
---|---|
com.mongodb | Main package with core files. |
Uses of MongoCredential in com.mongodb |
---|
Methods in com.mongodb that return MongoCredential | |
---|---|
static MongoCredential |
MongoCredential.createGSSAPICredential(String userName)
Creates a MongoCredential instance for the GSSAPI SASL mechanism. |
static MongoCredential |
MongoCredential.createMongoCRCredential(String userName,
String database,
char[] password)
Creates a MongoCredential instance for the MongoDB Challenge Response protocol. |
MongoCredential |
MongoClientURI.getCredentials()
Gets the credentials. |
MongoCredential |
MongoURI.getCredentials()
Gets the credentials |
Methods in com.mongodb that return types with arguments of type MongoCredential | |
---|---|
List<MongoCredential> |
MongoClient.getCredentialsList()
Gets the list of credentials that this client authenticates all connections with |
Methods in com.mongodb with parameters of type MongoCredential | |
---|---|
CommandResult |
DBTCPConnector.authenticate(MongoCredential credentials)
|
CommandResult |
DBConnector.authenticate(MongoCredential credentials)
Authenticate using the given credentials. |
Constructor parameters in com.mongodb with type arguments of type MongoCredential | |
---|---|
MongoClient(List<ServerAddress> seeds,
List<MongoCredential> credentialsList)
Creates a Mongo based on a list of replica set members or a list of mongos. |
|
MongoClient(List<ServerAddress> seeds,
List<MongoCredential> credentialsList,
MongoClientOptions options)
Creates a Mongo based on a list of replica set members or a list of mongos. |
|
MongoClient(ServerAddress addr,
List<MongoCredential> credentialsList)
Creates a Mongo instance based on a (single) mongodb node and a list of credentials |
|
MongoClient(ServerAddress addr,
List<MongoCredential> credentialsList,
MongoClientOptions options)
Creates a Mongo instance based on a (single) mongo node using a given ServerAddress and default options. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |