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