MathiasHaudgaard commented on a change in pull request #11794: URL: https://github.com/apache/pulsar/pull/11794#discussion_r698503213
########## File path: pulsar-broker-common/src/main/java/org/apache/pulsar/broker/authentication/AuthenticationProviderToken.java ########## @@ -237,6 +280,69 @@ private static String validateToken(final String token) throws AuthenticationExc } } + @SuppressWarnings("unchecked") + private DecodedJWT authenticateTokenJwk(final String token) throws AuthenticationException { Review comment: @cckellogg I added the feature as a separate plugin instead. This gets rid of most of the if else statements and the jwkEnable flag which makes it a bit cleaner 😄 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org