public enum AuthDomain extends Enum<AuthDomain>
The possible authentication domains that can be used when managing users with RBAC.
Modifier and Type | Method and Description |
---|---|
String |
alias() |
static AuthDomain |
fromAlias(String alias) |
static AuthDomain |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthDomain[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthDomain LOCAL
public static final AuthDomain EXTERNAL
public static AuthDomain[] values()
for (AuthDomain c : AuthDomain.values()) System.out.println(c);
public static AuthDomain 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 alias()
public static AuthDomain fromAlias(String alias)
Copyright © 2015 Couchbase, Inc.