From cd38d4000a82483afffa1c6a9d48906408a40952 Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Tue, 16 Oct 2018 14:30:55 +0200 Subject: [PATCH] configuration of spring security changed --- web/src/main/webapp/WEB-INF/security-context.xml | 4 ++-- web/src/main/webapp/WEB-INF/web.xml | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/web/src/main/webapp/WEB-INF/security-context.xml b/web/src/main/webapp/WEB-INF/security-context.xml index 783c154e31..e475dcc3be 100644 --- a/web/src/main/webapp/WEB-INF/security-context.xml +++ b/web/src/main/webapp/WEB-INF/security-context.xml @@ -3,9 +3,9 @@ xmlns:security="http://www.springframework.org/schema/security" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans - http://www.springframework.org/schema/beans/spring-beans-4.0.xsd + http://www.springframework.org/schema/beans/spring-beans-4.3.xsd http://www.springframework.org/schema/security - http://www.springframework.org/schema/security/spring-security-4.0.xsd"> + http://www.springframework.org/schema/security/spring-security-4.2.xsd"> <security:http pattern="/resources/css/**" security="none" /> <security:http pattern="/resources/js/**" security="none" /> diff --git a/web/src/main/webapp/WEB-INF/web.xml b/web/src/main/webapp/WEB-INF/web.xml index e5bdde9887..27a78144f2 100644 --- a/web/src/main/webapp/WEB-INF/web.xml +++ b/web/src/main/webapp/WEB-INF/web.xml @@ -1,5 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> -<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> +<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xmlns="http://java.sun.com/xml/ns/javaee" +xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" +version="2.5"> <display-name>MapViewer2</display-name> <context-param> <param-name>com.sun.faces.enableMissingResourceLibraryDetection</param-name> -- GitLab