public static enum AuthenticationHandler.FAILURE_REASON_CODES extends Enum<AuthenticationHandler.FAILURE_REASON_CODES>
invalid_login
: indicates username/password mismatch.password_expired
: indicates password has expired or was never set and
change initial password is enabledaccount_locked
: the account was disabled or lockedaccount_not_found
: the account was not found (not the same as username password mismatch)Enum Constant and Description |
---|
ACCOUNT_LOCKED |
ACCOUNT_NOT_FOUND |
INVALID_LOGIN |
PASSWORD_EXPIRED |
PASSWORD_EXPIRED_AND_NEW_PASSWORD_IN_HISTORY |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static AuthenticationHandler.FAILURE_REASON_CODES |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationHandler.FAILURE_REASON_CODES[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationHandler.FAILURE_REASON_CODES INVALID_LOGIN
public static final AuthenticationHandler.FAILURE_REASON_CODES PASSWORD_EXPIRED
public static final AuthenticationHandler.FAILURE_REASON_CODES PASSWORD_EXPIRED_AND_NEW_PASSWORD_IN_HISTORY
public static final AuthenticationHandler.FAILURE_REASON_CODES UNKNOWN
public static final AuthenticationHandler.FAILURE_REASON_CODES ACCOUNT_LOCKED
public static final AuthenticationHandler.FAILURE_REASON_CODES ACCOUNT_NOT_FOUND
public static AuthenticationHandler.FAILURE_REASON_CODES[] values()
for (AuthenticationHandler.FAILURE_REASON_CODES c : AuthenticationHandler.FAILURE_REASON_CODES.values()) System.out.println(c);
public static AuthenticationHandler.FAILURE_REASON_CODES 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 toString()
toString
in class Enum<AuthenticationHandler.FAILURE_REASON_CODES>
Copyright © 2017 The Apache Software Foundation. All rights reserved.