diff --git a/src/main/java/com/merkle/oss/magnolia/testing/configuration/MagnoliaIntegrationTestInitializer.java b/src/main/java/com/merkle/oss/magnolia/testing/configuration/MagnoliaIntegrationTestInitializer.java index b8185a6..3ee97a5 100644 --- a/src/main/java/com/merkle/oss/magnolia/testing/configuration/MagnoliaIntegrationTestInitializer.java +++ b/src/main/java/com/merkle/oss/magnolia/testing/configuration/MagnoliaIntegrationTestInitializer.java @@ -1,5 +1,6 @@ package com.merkle.oss.magnolia.testing.configuration; +import info.magnolia.cms.core.SystemProperty; import info.magnolia.cms.filters.MgnlMainFilter; import info.magnolia.cms.util.CustomFilterConfig; import info.magnolia.context.AbstractSystemContext; @@ -59,6 +60,8 @@ public void init(final ExtensionContext extensionContext) throws Exception { final IntegrationTestMagnoliaConfigurationProperties properties = platformComponentProvider.newInstance(IntegrationTestMagnoliaConfigurationProperties.class, appRootDir); properties.init(); + // Connect legacy properties to the MagnoliaConfigurationProperties object + SystemProperty.setMagnoliaConfigurationProperties(properties); //ConfigLoader.JAAS_PROPERTYNAME System.setProperty("java.security.auth.login.config", properties.getProperty("jaas.config")); diff --git a/src/main/resources/default-test-magnolia.properties b/src/main/resources/default-test-magnolia.properties index 93c3430..50368d2 100644 --- a/src/main/resources/default-test-magnolia.properties +++ b/src/main/resources/default-test-magnolia.properties @@ -9,6 +9,8 @@ magnolia.clusterid=test-01 magnolia.password.manager.key.location=${magnolia.home}/password-manager-key magnolia.upload.tmpdir=${magnolia.home}/upload-tmp-dir magnolia.bootstrap.dir=WEB-INF/bootstrap/author WEB-INF/bootstrap/common +magnolia.cache.startdir=cacheDir +magnolia.author.key.location=authorKey jaas.config=classpath:/config/current-jaas.config