Package io.jans.ca.plugin.adminui.utils
Enum ErrorResponse
- java.lang.Object
-
- java.lang.Enum<ErrorResponse>
-
- io.jans.ca.plugin.adminui.utils.ErrorResponse
-
- All Implemented Interfaces:
Serializable
,Comparable<ErrorResponse>
public enum ErrorResponse extends Enum<ErrorResponse>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
String
toString()
static ErrorResponse
valueOf(String name)
Returns the enum constant of this type with the specified name.static ErrorResponse[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GET_ACCESS_TOKEN_ERROR
public static final ErrorResponse GET_ACCESS_TOKEN_ERROR
-
GET_API_PROTECTION_TOKEN_ERROR
public static final ErrorResponse GET_API_PROTECTION_TOKEN_ERROR
-
GET_USER_INFO_ERROR
public static final ErrorResponse GET_USER_INFO_ERROR
-
AUTHORIZATION_CODE_BLANK
public static final ErrorResponse AUTHORIZATION_CODE_BLANK
-
USER_INFO_JWT_BLANK
public static final ErrorResponse USER_INFO_JWT_BLANK
-
CODE_OR_TOKEN_REQUIRED
public static final ErrorResponse CODE_OR_TOKEN_REQUIRED
-
CHECK_LICENSE_ERROR
public static final ErrorResponse CHECK_LICENSE_ERROR
-
ERROR_IN_LICENSE_CONFIGURATION_VALIDATION
public static final ErrorResponse ERROR_IN_LICENSE_CONFIGURATION_VALIDATION
-
ACTIVATE_LICENSE_ERROR
public static final ErrorResponse ACTIVATE_LICENSE_ERROR
-
GET_LICENSE_DETAILS_ERROR
public static final ErrorResponse GET_LICENSE_DETAILS_ERROR
-
AUDIT_LOGGING_ERROR
public static final ErrorResponse AUDIT_LOGGING_ERROR
-
ERROR_READING_CONFIG
public static final ErrorResponse ERROR_READING_CONFIG
-
ERROR_READING_ROLE_PERMISSION_MAP
public static final ErrorResponse ERROR_READING_ROLE_PERMISSION_MAP
-
ROLE_PERMISSION_MAP_NOT_FOUND
public static final ErrorResponse ROLE_PERMISSION_MAP_NOT_FOUND
-
ROLE_NOT_FOUND
public static final ErrorResponse ROLE_NOT_FOUND
-
PERMISSION_NOT_FOUND
public static final ErrorResponse PERMISSION_NOT_FOUND
-
ERROR_IN_MAPPING_ROLE_PERMISSION
public static final ErrorResponse ERROR_IN_MAPPING_ROLE_PERMISSION
-
ERROR_IN_DELETING_ROLE_PERMISSION
public static final ErrorResponse ERROR_IN_DELETING_ROLE_PERMISSION
-
ROLE_PERMISSION_MAPPING_PRESENT
public static final ErrorResponse ROLE_PERMISSION_MAPPING_PRESENT
-
GET_ADMIUI_ROLES_ERROR
public static final ErrorResponse GET_ADMIUI_ROLES_ERROR
-
SAVE_ADMIUI_ROLES_ERROR
public static final ErrorResponse SAVE_ADMIUI_ROLES_ERROR
-
EDIT_ADMIUI_ROLES_ERROR
public static final ErrorResponse EDIT_ADMIUI_ROLES_ERROR
-
DELETE_ADMIUI_ROLES_ERROR
public static final ErrorResponse DELETE_ADMIUI_ROLES_ERROR
-
GET_ADMIUI_PERMISSIONS_ERROR
public static final ErrorResponse GET_ADMIUI_PERMISSIONS_ERROR
-
SAVE_ADMIUI_PERMISSIONS_ERROR
public static final ErrorResponse SAVE_ADMIUI_PERMISSIONS_ERROR
-
EDIT_ADMIUI_PERMISSIONS_ERROR
public static final ErrorResponse EDIT_ADMIUI_PERMISSIONS_ERROR
-
DELETE_ADMIUI_PERMISSIONS_ERROR
public static final ErrorResponse DELETE_ADMIUI_PERMISSIONS_ERROR
-
ROLE_MARKED_UNDELETABLE
public static final ErrorResponse ROLE_MARKED_UNDELETABLE
-
UNABLE_TO_DELETE_ROLE_MAPPED_TO_PERMISSIONS
public static final ErrorResponse UNABLE_TO_DELETE_ROLE_MAPPED_TO_PERMISSIONS
-
UNABLE_TO_DELETE_PERMISSION_MAPPED_TO_ROLE
public static final ErrorResponse UNABLE_TO_DELETE_PERMISSION_MAPPED_TO_ROLE
-
ERROR_IN_READING_CONFIGURATION
public static final ErrorResponse ERROR_IN_READING_CONFIGURATION
-
TOKEN_GENERATION_ERROR
public static final ErrorResponse TOKEN_GENERATION_ERROR
-
BLANK_JWT
public static final ErrorResponse BLANK_JWT
-
ISS_CLAIM_NOT_FOUND
public static final ErrorResponse ISS_CLAIM_NOT_FOUND
-
ERROR_IN_DCR
public static final ErrorResponse ERROR_IN_DCR
-
LICENSE_NOT_PRESENT
public static final ErrorResponse LICENSE_NOT_PRESENT
-
-
Method Detail
-
values
public static ErrorResponse[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ErrorResponse c : ErrorResponse.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrorResponse valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getDescription
public String getDescription()
-
toString
public String toString()
- Overrides:
toString
in classEnum<ErrorResponse>
-
-