You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2021/08/06 07:52:31 UTC

[camel-quarkus] 02/05: Temporarily work around Infinispan SASL issues #2975

This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch quarkus-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit 7868ea8c1f1e22b45d4504bc8ddf548dab5db1c3
Author: James Netherton <ja...@gmail.com>
AuthorDate: Tue Aug 3 15:36:19 2021 +0100

    Temporarily work around Infinispan SASL issues #2975
---
 .../component/infinispan/deployment/InfinispanProcessor.java       | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/extensions/infinispan/deployment/src/main/java/org/apache/camel/quarkus/component/infinispan/deployment/InfinispanProcessor.java b/extensions/infinispan/deployment/src/main/java/org/apache/camel/quarkus/component/infinispan/deployment/InfinispanProcessor.java
index f305db1..7aa33fd 100644
--- a/extensions/infinispan/deployment/src/main/java/org/apache/camel/quarkus/component/infinispan/deployment/InfinispanProcessor.java
+++ b/extensions/infinispan/deployment/src/main/java/org/apache/camel/quarkus/component/infinispan/deployment/InfinispanProcessor.java
@@ -18,6 +18,7 @@ package org.apache.camel.quarkus.component.infinispan.deployment;
 
 import io.quarkus.deployment.annotations.BuildStep;
 import io.quarkus.deployment.builditem.FeatureBuildItem;
+import io.quarkus.deployment.builditem.nativeimage.NativeImageSecurityProviderBuildItem;
 
 class InfinispanProcessor {
 
@@ -27,4 +28,10 @@ class InfinispanProcessor {
     FeatureBuildItem feature() {
         return new FeatureBuildItem(FEATURE);
     }
+
+    // TODO: Remove this - https://github.com/apache/camel-quarkus/issues/2975
+    @BuildStep
+    NativeImageSecurityProviderBuildItem saslSecurityProvider() {
+        return new NativeImageSecurityProviderBuildItem("com.sun.security.sasl.Provider");
+    }
 }