From 071032a108bd9e9fce9e66d00c36d56bd4b334df Mon Sep 17 00:00:00 2001 From: Alexander Schwartz Date: Sat, 20 Apr 2024 11:37:56 +0200 Subject: [PATCH] Fixing the condition for embedded cache MTLS encryption Closes #28750 Signed-off-by: Alexander Schwartz --- .../runtime/storage/legacy/infinispan/CacheManagerFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quarkus/runtime/src/main/java/org/keycloak/quarkus/runtime/storage/legacy/infinispan/CacheManagerFactory.java b/quarkus/runtime/src/main/java/org/keycloak/quarkus/runtime/storage/legacy/infinispan/CacheManagerFactory.java index da4db0ccf7..2f63124350 100644 --- a/quarkus/runtime/src/main/java/org/keycloak/quarkus/runtime/storage/legacy/infinispan/CacheManagerFactory.java +++ b/quarkus/runtime/src/main/java/org/keycloak/quarkus/runtime/storage/legacy/infinispan/CacheManagerFactory.java @@ -179,7 +179,7 @@ public class CacheManagerFactory { transportConfig.defaultTransport().stack(transportStack); } - if (Configuration.isTrue(CachingOptions.CACHE_REMOTE_TLS_ENABLED)) { + if (Configuration.isTrue(CachingOptions.CACHE_EMBEDDED_MTLS_ENABLED_PROPERTY)) { validateTlsAvailable(transportConfig.build()); var tls = new TLS() .enabled(true)