Register SASL security provider for kudu
@@ -20,6 +20,7 @@ import io.quarkus.deployment.annotations.BuildProducer;
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 @@ class KuduProcessor {
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,
