Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SecurityTokenSignatureKeyNotFoundWithValidationErrorsException #1615

Merged
merged 13 commits into from
Mar 30, 2021

Conversation

keegan-caruso
Copy link
Contributor

SecurityTokenSignatureKeyNotFoundWithValidationErrorsException represents
SecurityTokenSignatureKeyNotFoundException but with validation errors
such that a different signal is sent to the layer above

SecurityTokenSignatureKeyNotFoundWithValidationErrorsException represents
SecurityTokenSignatureKeyNotFoundException but with validation errors
such that a different signal is sent to the layer above
@GeoK
Copy link
Member

GeoK commented Mar 20, 2021

Conceptually looks good.

SecurityTokenSignatureKeyNotFoundWithValidationErrorsException is not a
signal for metadata refresh
Update message to indicate it is not used for metadata refresh
Remove SecurityTokenSignatureKeyNotFoundWithValidationErrorsException and
use SecurityTokenUnableToValidateException instead, allowing the single
exception type to express different types of validation failures

Add ValidationFailure as a bit field enum
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 8 Code Smells

93.4% 93.4% Coverage
2.0% 2.0% Duplication

@keegan-caruso keegan-caruso merged commit c67924c into dev Mar 30, 2021
@keegan-caruso keegan-caruso deleted the kecaruso/key-not-found-with-errors-exception branch March 30, 2021 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modify when SecurityTokenSignatureKeyNotFoundException is thrown
4 participants