public enum UnauthenticatedClientAction extends Enum<UnauthenticatedClientAction>
Enum Constant and Description |
---|
ALLOW_ANONYMOUS
Enum value AllowAnonymous.
|
REDIRECT_TO_LOGIN_PAGE
Enum value RedirectToLoginPage.
|
Modifier and Type | Method and Description |
---|---|
static UnauthenticatedClientAction |
fromString(String value)
Parses a serialized value to a UnauthenticatedClientAction instance.
|
String |
toString() |
static UnauthenticatedClientAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnauthenticatedClientAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnauthenticatedClientAction REDIRECT_TO_LOGIN_PAGE
public static final UnauthenticatedClientAction ALLOW_ANONYMOUS
public static UnauthenticatedClientAction[] values()
for (UnauthenticatedClientAction c : UnauthenticatedClientAction.values()) System.out.println(c);
public static UnauthenticatedClientAction 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 static UnauthenticatedClientAction fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<UnauthenticatedClientAction>
Copyright © 2019. All rights reserved.