public enum LoginReason extends Enum<LoginReason>
Enum Constant and Description |
---|
AUTHENTICATED_FAILED
The user could not be authenticated.
|
AUTHENTICATION_DENIED
The user is not allowed to even attempt a login
|
AUTHORISATION_FAILED
The user could not be authorised.
|
OK
The login was OK
|
Modifier and Type | Method and Description |
---|---|
static LoginReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoginReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoginReason AUTHENTICATION_DENIED
public static final LoginReason AUTHENTICATED_FAILED
public static final LoginReason AUTHORISATION_FAILED
public static final LoginReason OK
public static LoginReason[] values()
for (LoginReason c : LoginReason.values()) System.out.println(c);
public static LoginReason 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 © 2002-2021 Atlassian. All Rights Reserved.