-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Offload JWK Set fetching from the event loop (#1641)
JwtTokenValidator is modified to explicitly execute JwtValidator.validate in a separate thread from the Netty event loop. JwtValidator.validate is blocking in its current implementation and this allows it to be executed in a non-blocking fashion. This is a short-term fix for #1633, where the preferred long-term fix would be to refactor the JwtValidator API to be non-blocking.
- Loading branch information
1 parent
0bdd444
commit afd2f69
Showing
6 changed files
with
412 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.