Package | Description |
---|---|
com.mongodb |
This package is the main entry point to the MongoDB Java Driver, and it contains the classes for the existing API from 2.x versions.
|
Modifier and Type | Method and Description |
---|---|
static AuthenticationMechanism |
AuthenticationMechanism.fromMechanismName(String mechanismName)
Gets the mechanism by its name.
|
AuthenticationMechanism |
MongoCredential.getAuthenticationMechanism()
Gets the mechanism
|
static AuthenticationMechanism |
AuthenticationMechanism.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationMechanism[] |
AuthenticationMechanism.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2016. All Rights Reserved.