public enum MongoAuthenticationMechanism extends Enum<MongoAuthenticationMechanism>
| Enum Constant and Description |
|---|
cr |
negotiate |
scram_sha1 |
x509 |
| Modifier and Type | Method and Description |
|---|---|
static MongoAuthenticationMechanism |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MongoAuthenticationMechanism[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MongoAuthenticationMechanism cr
public static final MongoAuthenticationMechanism scram_sha1
public static final MongoAuthenticationMechanism negotiate
public static final MongoAuthenticationMechanism x509
public static MongoAuthenticationMechanism[] values()
for (MongoAuthenticationMechanism c : MongoAuthenticationMechanism.values()) System.out.println(c);
public static MongoAuthenticationMechanism valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016 8Kdata Technology. All rights reserved.