diff --git a/pom.xml b/pom.xml index eda99123f9..7351a4ca93 100755 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ 3.0.5.Final - 1.0.0.Beta12 + 1.0.0.Beta21 2.5.0.Beta6 2.11.2 3.1.1.GA diff --git a/testsuite/integration/src/main/java/org/keycloak/testutils/KeycloakServer.java b/testsuite/integration/src/main/java/org/keycloak/testutils/KeycloakServer.java index 023acd3f35..1d5f43e446 100755 --- a/testsuite/integration/src/main/java/org/keycloak/testutils/KeycloakServer.java +++ b/testsuite/integration/src/main/java/org/keycloak/testutils/KeycloakServer.java @@ -26,6 +26,7 @@ import io.undertow.Undertow.Builder; import io.undertow.server.handlers.resource.FileResource; import io.undertow.server.handlers.resource.FileResourceManager; import io.undertow.server.handlers.resource.Resource; +import io.undertow.server.handlers.resource.ResourceChangeListener; import io.undertow.server.handlers.resource.ResourceManager; import io.undertow.server.handlers.resource.URLResource; import io.undertow.servlet.Servlets; @@ -261,8 +262,7 @@ public class KeycloakServer { di.setDeploymentName("Keycloak"); di.setResourceManager(new KeycloakResourceManager(config.getResourcesHome())); - Set allowed = new HashSet(Arrays.asList(new String[]{"js", "css", "png", "jpg", "gif", "html", "svg", "ico"})); - di.setDefaultServletConfig(new DefaultServletConfig(false, allowed)); + di.setDefaultServletConfig(new DefaultServletConfig(true)); di.addWelcomePage("index.html"); FilterInfo filter = Servlets.filter("SessionFilter", KeycloakSessionServletFilter.class); @@ -326,6 +326,24 @@ public class KeycloakServer { return new FileResource(file, new FileResourceManager(file.getParentFile(), 1), path); } } + + @Override + public boolean isResourceChangeListenerSupported() { + return false; + } + + @Override + public void registerResourceChangeListener(ResourceChangeListener listener) { + } + + @Override + public void removeResourceChangeListener(ResourceChangeListener listener) { + } + + @Override + public void close() throws IOException { + } + } private static File file(String... path) {