Skip to content

Commit

Permalink
Temporarily work around Kudu SASL issues related to #2975
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnetherton authored and github-actions[bot] committed Aug 10, 2021
1 parent f665b3f commit 38bcda4
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import io.quarkus.deployment.annotations.BuildStep;
import io.quarkus.deployment.builditem.ExtensionSslNativeSupportBuildItem;
import io.quarkus.deployment.builditem.FeatureBuildItem;
import io.quarkus.deployment.builditem.nativeimage.NativeImageSecurityProviderBuildItem;
import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;

class KuduProcessor {
Expand All @@ -36,6 +37,11 @@ ExtensionSslNativeSupportBuildItem activateSslNativeSupport() {
return new ExtensionSslNativeSupportBuildItem(FEATURE);
}

@BuildStep
NativeImageSecurityProviderBuildItem saslSecurityProvider() {
return new NativeImageSecurityProviderBuildItem("com.sun.security.sasl.Provider");
}

@BuildStep
void reflection(BuildProducer<ReflectiveClassBuildItem> reflectiveClass) {
reflectiveClass.produce(new ReflectiveClassBuildItem(true, false,
Expand Down

0 comments on commit 38bcda4

Please sign in to comment.