diff --git a/quarkus/extensions/src/main/java/org/keycloak/provider/quarkus/QuarkusCacheManagerProvider.java b/quarkus/extensions/src/main/java/org/keycloak/provider/quarkus/QuarkusCacheManagerProvider.java index f86f0b9f87..182f5edf7e 100644 --- a/quarkus/extensions/src/main/java/org/keycloak/provider/quarkus/QuarkusCacheManagerProvider.java +++ b/quarkus/extensions/src/main/java/org/keycloak/provider/quarkus/QuarkusCacheManagerProvider.java @@ -77,7 +77,7 @@ public final class QuarkusCacheManagerProvider implements ManagedCacheManagerPro } private InputStream loadDefaultConfiguration(Config.Scope config) throws FileNotFoundException { - if (config.getBoolean("clustered")) { + if (config.getBoolean("clustered", false)) { log.debugf("Using default clustered cache configuration."); return FileLookupFactory.newInstance() .lookupFileStrict("default-clustered-cache.xml", Thread.currentThread().getContextClassLoader());