public enum AuthLevel extends java.lang.Enum<AuthLevel>
Enum Constant and Description |
---|
NONE
Frontend authentication will be skipped.
|
OPTIONAL
Authentication is optional.
|
OPTIONAL_CONTINUE
Authentication is optional and will be attempted if authentication credential are supplied.
|
REQUIRED
Valid authentication credentials are required.
|
UNSPECIFIED
Unspecified; AuthLevel is system default if there is any.
|
Modifier and Type | Method and Description |
---|---|
static AuthLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AuthLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthLevel REQUIRED
public static final AuthLevel OPTIONAL
public static final AuthLevel OPTIONAL_CONTINUE
public static final AuthLevel NONE
public static final AuthLevel UNSPECIFIED
public static AuthLevel[] values()
for (AuthLevel c : AuthLevel.values()) System.out.println(c);
public static AuthLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null