Closed jorissteyn closed 6 years ago
Instead of throwing bad request HTTP exceptions, new exceptions have been added for the following cases:
no signature found in request or no sigalg specified: -> UnsignedRequestException
the request was signed with an unsupported algorithm (not SHA_RSA256) -> UnsupportedSignatureException
validation of the signature failed -> SignatureValidationFailedException
All exceptions extend BadRequestHttpException so this change should be backwards compatible.
Instead of throwing bad request HTTP exceptions, new exceptions have been added for the following cases:
no signature found in request or no sigalg specified: -> UnsignedRequestException
the request was signed with an unsupported algorithm (not SHA_RSA256) -> UnsupportedSignatureException
validation of the signature failed -> SignatureValidationFailedException
All exceptions extend BadRequestHttpException so this change should be backwards compatible.