diff --git a/spring-security-login-and-registration/pom.xml b/spring-security-login-and-registration/pom.xml index c645be50d9..8b3a0da99a 100644 --- a/spring-security-login-and-registration/pom.xml +++ b/spring-security-login-and-registration/pom.xml @@ -1,182 +1,185 @@ - - 4.0.0 - org.baeldung - spring-security-login-and-registration - spring-security-login-and-registration - war - 1.0.1-SNAPSHOT + + 4.0.0 + org.baeldung + spring-security-login-and-registration + spring-security-login-and-registration + war + 1.0.1-SNAPSHOT - - org.springframework.boot - spring-boot-starter-parent - 1.1.10.RELEASE - + + org.springframework.boot + spring-boot-starter-parent + 1.1.10.RELEASE + - + - - - org.springframework.boot - spring-boot-starter-web - - - org.springframework - spring-context-support - - - org.springframework.security - spring-security-config - runtime - + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework + spring-context-support + + + org.springframework.security + spring-security-config + runtime + - - - - - - + + + + + - - - javax.servlet - javax.servlet-api - - - javax.servlet.jsp - javax.servlet.jsp-api - ${javax.servlet.jsp-api.version} - - - javax.servlet - jstl - - - org.springframework.security - spring-security-taglibs - + + + javax.servlet + javax.servlet-api + + + javax.servlet.jsp + javax.servlet.jsp-api + ${javax.servlet.jsp-api.version} + + + javax.servlet + jstl + + + org.springframework.security + spring-security-taglibs + + + javax.el + el-api + 2.2 + - - - org.springframework.data - spring-data-jpa - - - org.hibernate - hibernate-entitymanager - - - - - - + + + org.springframework.data + spring-data-jpa + + + org.hibernate + hibernate-entitymanager + + + + + + - - org.hibernate - hibernate-validator - + + org.hibernate + hibernate-validator + - - - mysql - mysql-connector-java - - - commons-dbcp - commons-dbcp - - - com.fasterxml.jackson.core - jackson-databind - - - javax.mail - mail - 1.4.7 - - - com.google.guava - guava - ${guava.version} - + + + mysql + mysql-connector-java + + + commons-dbcp + commons-dbcp + + + com.fasterxml.jackson.core + jackson-databind + + + javax.mail + mail + 1.4.7 + + + com.google.guava + guava + ${guava.version} + - - - org.slf4j - slf4j-api - - - ch.qos.logback - logback-classic - - - org.slf4j - jcl-over-slf4j - - - - org.slf4j - log4j-over-slf4j - + + + org.slf4j + slf4j-api + + + ch.qos.logback + logback-classic + + + org.slf4j + jcl-over-slf4j + + + + org.slf4j + log4j-over-slf4j + - - - junit - junit - test - + + + junit + junit + test + - + - - spring-security-login-and-registration - - - src/main/resources - true - - + + spring-security-login-and-registration + + + src/main/resources + true + + - + - - org.apache.maven.plugins - maven-compiler-plugin - - ${java-version} - ${java-version} - - - - - org.apache.maven.plugins - maven-war-plugin - + + org.apache.maven.plugins + maven-compiler-plugin + + ${java-version} + ${java-version} + + - - + + org.apache.maven.plugins + maven-war-plugin + - - 1.7 - 3.1.4.RELEASE - 3.2.5.RELEASE + + - - 1.7.7 - 1.1.2 + + 1.7 + 3.1.4.RELEASE + 3.2.5.RELEASE - - 2.3.2-b01 + + 1.7.7 + 1.1.2 - - 1 + + 2.3.2-b01 - - 1.7.1.RELEASE + + 1 - - 18.0 + + 1.7.1.RELEASE - + + 18.0 + + diff --git a/spring-security-login-and-registration/src/main/resources/webSecurityConfig.xml b/spring-security-login-and-registration/src/main/resources/webSecurityConfig.xml index 2cb2c9d717..2065dda218 100644 --- a/spring-security-login-and-registration/src/main/resources/webSecurityConfig.xml +++ b/spring-security-login-and-registration/src/main/resources/webSecurityConfig.xml @@ -1,38 +1,33 @@ - - - - - - - - - - - - + http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd"> - - - - - - - - + + + + + + + + + + - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/spring-security-login-and-registration/src/main/webapp/WEB-INF/mvc-servlet.xml b/spring-security-login-and-registration/src/main/webapp/WEB-INF/mvc-servlet.xml index 94bd63e068..7862ca24c0 100644 --- a/spring-security-login-and-registration/src/main/webapp/WEB-INF/mvc-servlet.xml +++ b/spring-security-login-and-registration/src/main/webapp/WEB-INF/mvc-servlet.xml @@ -1,7 +1,5 @@ - + \ No newline at end of file diff --git a/spring-security-login-and-registration/src/main/webapp/WEB-INF/web.xml b/spring-security-login-and-registration/src/main/webapp/WEB-INF/web.xml index 9f6dc00aa3..41f9c310a1 100644 --- a/spring-security-login-and-registration/src/main/webapp/WEB-INF/web.xml +++ b/spring-security-login-and-registration/src/main/webapp/WEB-INF/web.xml @@ -1,51 +1,47 @@ - + http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0"> - - contextClass - - org.springframework.web.context.support.AnnotationConfigWebApplicationContext - - - - contextConfigLocation - org.baeldung.spring - + + contextClass + org.springframework.web.context.support.AnnotationConfigWebApplicationContext + + + contextConfigLocation + org.baeldung.spring + - - 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 - /* - - - localizationFilter - org.springframework.web.filter.RequestContextFilter - - - localizationFilter - /* - + + springSecurityFilterChain + org.springframework.web.filter.DelegatingFilterProxy + + + springSecurityFilterChain + /* + + + localizationFilter + org.springframework.web.filter.RequestContextFilter + + + localizationFilter + /* + \ No newline at end of file