| Package | Description |
|---|---|
| com.mongodb |
Main package with core files.
|
| Modifier and Type | Field and Description |
|---|---|
private MongoAuthority.Type |
MongoAuthority.type |
| Modifier and Type | Method and Description |
|---|---|
MongoAuthority.Type |
MongoAuthority.getType()
Gets the authority type
|
static MongoAuthority.Type |
MongoAuthority.Type.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MongoAuthority.Type[] |
MongoAuthority.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
MongoAuthority(java.util.List<ServerAddress> serverAddresses,
MongoAuthority.Type type,
MongoCredentialsStore credentialsStore)
Constructs an instance with a list of server addresses, which may either be a list of mongos servers
or a list of members of a replica set, and a store of authentication credentials.
|