diff --git a/model/infinispan/src/main/java/org/keycloak/connections/infinispan/RemoteCacheProvider.java b/model/infinispan/src/main/java/org/keycloak/connections/infinispan/RemoteCacheProvider.java index 1fa81d4974..946dfcd7a2 100644 --- a/model/infinispan/src/main/java/org/keycloak/connections/infinispan/RemoteCacheProvider.java +++ b/model/infinispan/src/main/java/org/keycloak/connections/infinispan/RemoteCacheProvider.java @@ -34,6 +34,7 @@ import org.infinispan.client.hotrod.RemoteCache; import org.infinispan.client.hotrod.RemoteCacheManager; import org.infinispan.client.hotrod.configuration.Configuration; import org.infinispan.client.hotrod.configuration.ConfigurationBuilder; +import org.infinispan.commons.configuration.Combine; import org.infinispan.manager.EmbeddedCacheManager; import org.jboss.logging.Logger; import org.keycloak.Config; @@ -138,7 +139,7 @@ public class RemoteCacheProvider { Configuration origConfig = origManager.getConfiguration(); ConfigurationBuilder cfgBuilder = new ConfigurationBuilder() - .read(origConfig); + .read(origConfig, Combine.DEFAULT); String securedHotRodEndpoint = origConfig.servers().stream() .map(serverConfiguration -> serverConfiguration.host() + ":" + serverConfiguration.port()) diff --git a/pom.xml b/pom.xml index 21f49a849d..32684d9b4a 100644 --- a/pom.xml +++ b/pom.xml @@ -76,7 +76,7 @@