public enum AuthErrorCode extends Enum<AuthErrorCode>
| Enum Constant and Description |
|---|
CLIENT_ERROR
Client error
|
CONNECT_EXCEPTION
FORBIDDEN
|
COOKIE_NOTPRESENT_ERROR
Empty Cookie error
|
FORBIDDEN
FORBIDDEN
|
INVALID_DATASOURCE_ERROR
Empty Cookie error
|
INVALID_DN |
INVALID_REQUEST |
INVALID_TOKEN
Invalid Token
|
IO_EXCEPTION |
IS_ACTIVE_FLAG_NOT_FOUND |
KEYCLOAK_ACESSTOKEN_EXCEPTION |
KEYCLOAK_STATE_EXCEPTION |
MOBILE_NOT_REGISTERED |
NAMING_EXCEPTION |
OLD_PASSWORD_NOT_MATCH |
PASSWORD_POLICY_EXCEPTION |
PASSWORD_VALIDATION_ERROR
PASSWORD VALIDATION ERROR
|
REQUEST_VALIDATION_ERROR
RESPONSE_PARSE_ERROR
|
RESPONSE_PARSE_ERROR
RESPONSE_PARSE_ERROR
|
REST_EXCEPTION |
ROLE_NOT_FOUND |
ROLLBACK_USER_EXCEPTION |
RUNTIME_EXCEPTION |
SERVER_ERROR
Client error
|
TEMPLATE_ERROR |
TOKEN_DATASTORE_ERROR
Token Datastore error
|
TOKEN_EXPIRED
Token expired
|
TOKEN_NOTPRESENT_ERROR
Empty Cookie error
|
UNABLE_CLOSE_LDAP_CONTEXT |
UNAUTHORIZED
UNAUTHORIZED
|
USER_ALREADY_EXIST |
USER_CREATE_EXCEPTION |
USER_NOT_FOUND |
USER_PASSWORD_EXCEPTION |
USER_VALIDATION_ERROR
USER VALIDATION ERROR
|
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode()
Function to get error code
|
String |
getErrorMessage()
Function to get the error message
|
static AuthErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthErrorCode UNAUTHORIZED
public static final AuthErrorCode FORBIDDEN
public static final AuthErrorCode TOKEN_EXPIRED
public static final AuthErrorCode INVALID_TOKEN
public static final AuthErrorCode CONNECT_EXCEPTION
public static final AuthErrorCode RESPONSE_PARSE_ERROR
public static final AuthErrorCode REQUEST_VALIDATION_ERROR
public static final AuthErrorCode USER_VALIDATION_ERROR
public static final AuthErrorCode PASSWORD_VALIDATION_ERROR
public static final AuthErrorCode COOKIE_NOTPRESENT_ERROR
public static final AuthErrorCode TOKEN_NOTPRESENT_ERROR
public static final AuthErrorCode TOKEN_DATASTORE_ERROR
public static final AuthErrorCode SERVER_ERROR
public static final AuthErrorCode TEMPLATE_ERROR
public static final AuthErrorCode CLIENT_ERROR
public static final AuthErrorCode INVALID_DATASOURCE_ERROR
public static final AuthErrorCode NAMING_EXCEPTION
public static final AuthErrorCode UNABLE_CLOSE_LDAP_CONTEXT
public static final AuthErrorCode PASSWORD_POLICY_EXCEPTION
public static final AuthErrorCode OLD_PASSWORD_NOT_MATCH
public static final AuthErrorCode USER_ALREADY_EXIST
public static final AuthErrorCode ROLE_NOT_FOUND
public static final AuthErrorCode USER_CREATE_EXCEPTION
public static final AuthErrorCode USER_PASSWORD_EXCEPTION
public static final AuthErrorCode ROLLBACK_USER_EXCEPTION
public static final AuthErrorCode INVALID_DN
public static final AuthErrorCode IO_EXCEPTION
public static final AuthErrorCode RUNTIME_EXCEPTION
public static final AuthErrorCode INVALID_REQUEST
public static final AuthErrorCode USER_NOT_FOUND
public static final AuthErrorCode IS_ACTIVE_FLAG_NOT_FOUND
public static final AuthErrorCode MOBILE_NOT_REGISTERED
public static final AuthErrorCode REST_EXCEPTION
public static final AuthErrorCode KEYCLOAK_ACESSTOKEN_EXCEPTION
public static final AuthErrorCode KEYCLOAK_STATE_EXCEPTION
public static AuthErrorCode[] values()
for (AuthErrorCode c : AuthErrorCode.values()) System.out.println(c);
public static AuthErrorCode 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 getErrorMessage()
errorMessagerCopyright © 2020. All rights reserved.