From 829957c9fc7316c5a4bea3a5e22d6de8de699e2b 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 da4db0ccf7f6..2f631243506c 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 @@ private void configureTransportStack(ConfigurationBuilderHolder builder) { 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)