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

KNOX-2547 - Token-based providers should perform signature verificati… #410

Merged
merged 1 commit into from
Mar 12, 2021

Conversation

pzampino
Copy link
Contributor

…on last

What changes were proposed in this pull request?

Moved token signature verification to be performed after all other token validations. I've also increased the signature verification cache maximum to 250 and added the explicit removal of signature verification records for expired tokens.

How was this patch tested?

Added AbstractJWTFilterTest#testExpiredTokensEvictedFromSignatureVerificationCache() to validate the explicit eviction of expired tokens' signature verification. Ran all other existing tests.

@pzampino pzampino merged commit 007024f into apache:master Mar 12, 2021
Copy link
Contributor

@lmccay lmccay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

stoty pushed a commit to stoty/knox that referenced this pull request May 14, 2024
…on last (apache#410)

Change-Id: I8004799d38b488418f5cf5bd0c5f810a5fbc8850
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.

2 participants