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 committed Aug 3, 2021
1 parent 208f018 commit 92559de
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 92559de

Please sign in to comment.