|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<LoginResult> com.atlassian.confluence.security.login.LoginResult
public enum LoginResult
Result of an authentication attempt.
Enum Constant Summary | |
---|---|
AUTHENTICATION_DENIED
The user is not allowed to even attempt a login |
|
AUTHENTICATION_FAILED
The user could not be authenticated. |
|
OK
The login was OK |
|
OK_WITH_ELEVATED_SECURITY_CHECK_REQUIRED
Authentication succeeded (username and password match) but an elevated security check is required. |
|
USER_DOES_NOT_EXIST
The username does not exist |
Method Summary | |
---|---|
static LoginResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static LoginResult[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final LoginResult USER_DOES_NOT_EXIST
public static final LoginResult AUTHENTICATION_DENIED
public static final LoginResult OK_WITH_ELEVATED_SECURITY_CHECK_REQUIRED
public static final LoginResult AUTHENTICATION_FAILED
public static final LoginResult OK
Method Detail |
---|
public static LoginResult[] values()
for (LoginResult c : LoginResult.values()) System.out.println(c);
public static LoginResult 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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |