Enum Class AuthenticationExceptionReasonCodes.ErrorTypes
java.lang.Object
java.lang.Enum<AuthenticationExceptionReasonCodes.ErrorTypes>
io.confluent.security.authentication.AuthenticationExceptionReasonCodes.ErrorTypes
- All Implemented Interfaces:
Serializable,Comparable<AuthenticationExceptionReasonCodes.ErrorTypes>,Constable
- Enclosing class:
AuthenticationExceptionReasonCodes
public static enum AuthenticationExceptionReasonCodes.ErrorTypes
extends Enum<AuthenticationExceptionReasonCodes.ErrorTypes>
Enum to encapsulate Jose4J error codes
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription1-to-1 Jose4J error code mapping we should keep monitoringorg.jose4j.jwt.consumer.ErrorCodesand map the codes here.ErrorCodes.MISCELLANEOUSerror can be broken down those codes below -
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
JWT_EXPIRED
1-to-1 Jose4J error code mapping we should keep monitoringorg.jose4j.jwt.consumer.ErrorCodesand map the codes here. Not creating this as hashmap for readability. -
JWT_EXP_CLAIM_MISSING
-
JWT_IAT_CLAIM_MISSING
-
JWT_NBF_CLAIM_MISSING
-
JWT_EXP_CLAIM_TOO_FAR_IN_FUTURE
-
JWT_NBF_CLAIM_NOT_VALID_YET
-
JWT_AUD_CLAIM_MISSING
-
JWT_AUD_CLAIM_INVALID
-
JWT_SIGNATURE_VERIFICATION_FAILED
-
JWT_SIGNATURE_MISSING
-
JWT_ISS_CLAIM_MISSING
-
JWT_ISS_CLAIM_INVALID
-
JWT_JTI_CLAIM_MISSING
-
JWT_SUB_CLAIM_MISSING
-
JWT_SUB_CLAIM_INVALID
-
JWT_PAYLOAD_JSON_INVALID
-
JWT_PROCESSING_FAILED
-
JWT_CLAIM_MALFORMED
-
JWT_ENCRYPTION_MISSING
-
JWT_INTEGRITY_PROTECTION_MISSING
-
JWT_TYP_CLAIM_MISSING
-
JWT_TYP_CLAIM_INVALID
-
JWT_IAT_CLAIM_TOO_FAR_IN_FUTURE
-
JWT_IAT_CLAIM_TOO_FAR_IN_PAST
-
JWT_HEADER_KID_LOOKUP_FAILED
ErrorCodes.MISCELLANEOUSerror can be broken down those codes below -
JWT_HEADER_ALG_INVALID
-
JWT_HEADER_JKU_INVALID
-
JWT_ISS_CLAIM_LOOKUP_FAILED
-
AUTHENTICATION_EXCEPTION
-
ILLEGAL_ARGUMENT_EXCEPTION
-
JWT_UNKNOWN_ERROR
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<AuthenticationExceptionReasonCodes.ErrorTypes>
-