public static enum Mongo.AuthType extends Enum<Mongo.AuthType>
| Enum Constant and Description |
|---|
DEFAULT |
GSSAPI |
MONGODB_CR |
MONGODB_X509 |
PLAIN_SASL |
SCRAM_SHA_1 |
| Modifier and Type | Method and Description |
|---|---|
String |
getAllowedValue()
Returns the allowed value for the management model.
|
String |
toString() |
static Mongo.AuthType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Mongo.AuthType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Mongo.AuthType GSSAPI
public static final Mongo.AuthType PLAIN_SASL
public static final Mongo.AuthType SCRAM_SHA_1
public static final Mongo.AuthType MONGODB_CR
public static final Mongo.AuthType MONGODB_X509
public static final Mongo.AuthType DEFAULT
public static Mongo.AuthType[] values()
for (Mongo.AuthType c : Mongo.AuthType.values()) System.out.println(c);
public static Mongo.AuthType 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 nullpublic String getAllowedValue()
public String toString()
toString in class Enum<Mongo.AuthType>Copyright © 2017 JBoss by Red Hat. All rights reserved.