Class UnrecognizedCriticalHeaderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.forgerock.json.jose.exceptions.JwtRuntimeException
org.forgerock.json.jose.exceptions.JwtBuilderException
org.forgerock.json.jose.exceptions.JwtReconstructionException
org.forgerock.json.jose.exceptions.UnrecognizedCriticalHeaderException
- All Implemented Interfaces:
Serializable
Indicates that the JWT had critical headers that were not
recognized by the JWT library and not
implemented by the
application.
- See Also:
-
Constructor Summary
ConstructorDescriptionUnrecognizedCriticalHeaderException
(Collection<String> unrecognizedCriticalHeaders) Initializes the exception with the given list of unrecognized critical headers that caused processing to fail. -
Method Summary
Modifier and TypeMethodDescriptionThe unrecognized critical headers that caused processing to fail.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnrecognizedCriticalHeaderException
Initializes the exception with the given list of unrecognized critical headers that caused processing to fail.- Parameters:
unrecognizedCriticalHeaders
- the collection of unrecognized headers.
-
-
Method Details
-
getUnrecognizedCriticalHeaders
The unrecognized critical headers that caused processing to fail.- Returns:
- the set of unrecognized critical headers.
-