Skip to content

Commit

Permalink
Merge pull request quarkusio#38855 from zakkak/2024-02-19-kafka-fix
Browse files Browse the repository at this point in the history
Make registration of OAuthBearerValidatorCallbackHandler conditional
  • Loading branch information
cescoffier authored Feb 19, 2024
2 parents 6e85aca + d88e0bd commit b353c8b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,9 @@ public void withSasl(CombinedIndexBuildItem index,
reflectiveClassCondition.produce(new ReflectiveClassConditionBuildItem(
"org.apache.kafka.common.security.oauthbearer.secured.OAuthBearerValidatorCallbackHandler",
"org.jose4j.keys.resolvers.VerificationKeyResolver"));
reflectiveClassCondition.produce(new ReflectiveClassConditionBuildItem(
"org.apache.kafka.common.security.oauthbearer.OAuthBearerValidatorCallbackHandler",
"org.jose4j.keys.resolvers.VerificationKeyResolver"));
}

private void registerJDKLoginModules(BuildProducer<ReflectiveClassBuildItem> reflectiveClass) {
Expand Down

0 comments on commit b353c8b

Please sign in to comment.