@InterfaceStability.Committed @InterfaceAudience.Public public enum CredentialContext extends Enum<CredentialContext>
Enum of the contexts that can be used to retrieve an implicit credential from an Authenticator
. Note that not all Authenticator implementations will support all these contexts, and some contexts may also require additional information (a “specific”).
Enum Constant and Description |
---|
BUCKET_FTS |
BUCKET_KV |
BUCKET_MANAGEMENT |
BUCKET_N1QL |
BUCKET_VIEW |
CLUSTER_FTS |
CLUSTER_MANAGEMENT |
CLUSTER_N1QL |
Modifier and Type | Method and Description |
---|---|
static CredentialContext |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CredentialContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CredentialContext BUCKET_KV
public static final CredentialContext BUCKET_VIEW
public static final CredentialContext BUCKET_N1QL
public static final CredentialContext BUCKET_FTS
public static final CredentialContext CLUSTER_N1QL
public static final CredentialContext CLUSTER_FTS
public static final CredentialContext BUCKET_MANAGEMENT
public static final CredentialContext CLUSTER_MANAGEMENT
public static CredentialContext[] values()
for (CredentialContext c : CredentialContext.values()) System.out.println(c);
public static CredentialContext 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 © 2015 Couchbase, Inc.