From 9ca6724a17a7e829af232cdf414769cbfe131d84 Mon Sep 17 00:00:00 2001 From: eugenp Date: Sun, 26 May 2013 18:44:06 +0300 Subject: [PATCH] minor cleanup --- .../spring/web/config/SecSecurityConfig.java | 6 +- .../src/main/webapp/WEB-INF/web.xml | 78 +++++++++---------- 2 files changed, 41 insertions(+), 43 deletions(-) diff --git a/spring-security-rest/src/main/java/org/baeldung/spring/web/config/SecSecurityConfig.java b/spring-security-rest/src/main/java/org/baeldung/spring/web/config/SecSecurityConfig.java index 65a571c715..a21a05c17d 100644 --- a/spring-security-rest/src/main/java/org/baeldung/spring/web/config/SecSecurityConfig.java +++ b/spring-security-rest/src/main/java/org/baeldung/spring/web/config/SecSecurityConfig.java @@ -7,8 +7,8 @@ import org.springframework.context.annotation.ImportResource; @ImportResource({ "classpath:webSecurityConfig.xml" }) public class SecSecurityConfig { - public SecSecurityConfig() { - super(); - } + public SecSecurityConfig() { + super(); + } } diff --git a/spring-security-rest/src/main/webapp/WEB-INF/web.xml b/spring-security-rest/src/main/webapp/WEB-INF/web.xml index 6274cdd9fe..aa8d47fe86 100644 --- a/spring-security-rest/src/main/webapp/WEB-INF/web.xml +++ b/spring-security-rest/src/main/webapp/WEB-INF/web.xml @@ -1,52 +1,50 @@ - + http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0"> - Spring MVC Application + Spring MVC Application - - - contextClass - + + + contextClass + org.springframework.web.context.support.AnnotationConfigWebApplicationContext - - - contextConfigLocation - org.baeldung.spring.web.config - + + + contextConfigLocation + org.baeldung.spring.web.config + - - org.springframework.web.context.ContextLoaderListener - + + org.springframework.web.context.ContextLoaderListener + - - - mvc - org.springframework.web.servlet.DispatcherServlet - 1 - - - mvc - / - + + + mvc + org.springframework.web.servlet.DispatcherServlet + 1 + + + mvc + / + - - - springSecurityFilterChain - org.springframework.web.filter.DelegatingFilterProxy - - - springSecurityFilterChain - /* - + + + springSecurityFilterChain + org.springframework.web.filter.DelegatingFilterProxy + + + springSecurityFilterChain + /* + - - - + + + \ No newline at end of file