From b1c338dd80c82144bb7193928850bfcb6ae3de40 Mon Sep 17 00:00:00 2001 From: James Netherton Date: Tue, 3 Aug 2021 15:36:58 +0100 Subject: [PATCH] Temporarily work around Kudu SASL issues related to #2975 --- .../quarkus/component/kudu/deployment/KuduProcessor.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/extensions/kudu/deployment/src/main/java/org/apache/camel/quarkus/component/kudu/deployment/KuduProcessor.java b/extensions/kudu/deployment/src/main/java/org/apache/camel/quarkus/component/kudu/deployment/KuduProcessor.java index cab0cc1b82ed..ea8c820a548d 100644 --- a/extensions/kudu/deployment/src/main/java/org/apache/camel/quarkus/component/kudu/deployment/KuduProcessor.java +++ b/extensions/kudu/deployment/src/main/java/org/apache/camel/quarkus/component/kudu/deployment/KuduProcessor.java @@ -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 { @@ -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 reflectiveClass) { reflectiveClass.produce(new ReflectiveClassBuildItem(true, false,