forked from apache/pulsar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Broker] Fix prefix setting in JWT authn and avoid multi calls for th…
…e getProperty (apache#12132) Motivation Currently, the setting prefix for JWT authentication does not work because the code does not specify the property name for the token setting prefix. Modifications Add token setting prefix property name: tokenSettingPrefix. Avoid multi calls for the getProperty in JWT auth. Verifying this change This change is already covered by the existing test, such as testTokenSettingPrefix. (cherry picked from commit b9a250d)
- Loading branch information
1 parent
ea40033
commit 916cb3b
Showing
2 changed files
with
61 additions
and
23 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