From 05e5c2bc809e8eaa129b15f739b041ca1831d071 Mon Sep 17 00:00:00 2001 From: DOHA Date: Tue, 24 Mar 2015 21:32:50 +0200 Subject: [PATCH] fix user/registration path --- .../src/main/java/org/baeldung/spring/SecSecurityConfig.java | 2 +- .../src/main/webapp/WEB-INF/view/badUser.jsp | 2 +- .../src/main/webapp/WEB-INF/view/expiredAccount.jsp | 2 +- .../src/main/webapp/WEB-INF/view/forgetPassword.jsp | 2 +- .../src/main/webapp/WEB-INF/view/login.jsp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/spring-security-login-and-registration/src/main/java/org/baeldung/spring/SecSecurityConfig.java b/spring-security-login-and-registration/src/main/java/org/baeldung/spring/SecSecurityConfig.java index ec07c22811..ca3947f560 100644 --- a/spring-security-login-and-registration/src/main/java/org/baeldung/spring/SecSecurityConfig.java +++ b/spring-security-login-and-registration/src/main/java/org/baeldung/spring/SecSecurityConfig.java @@ -49,7 +49,7 @@ public class SecSecurityConfig extends WebSecurityConfigurerAdapter { .antMatchers("/j_spring_security_check*","/login*", "/logout*", "/signin/**", "/signup/**", "/user/registration*", "/regitrationConfirm*", "/expiredAccount*", "/registration*", "/badUser*", "/user/resendRegistrationToken*" ,"/forgetPassword*", "/user/resetPassword*", - "/user/changePassword*", "/emailError*", "/resources/**").permitAll() + "/user/changePassword*", "/emailError*", "/resources/**","/old/user/registration*").permitAll() .antMatchers("/invalidSession*").anonymous() .anyRequest().authenticated() .and() diff --git a/spring-security-login-and-registration/src/main/webapp/WEB-INF/view/badUser.jsp b/spring-security-login-and-registration/src/main/webapp/WEB-INF/view/badUser.jsp index 4ce72a5226..38c8a8e3a0 100644 --- a/spring-security-login-and-registration/src/main/webapp/WEB-INF/view/badUser.jsp +++ b/spring-security-login-and-registration/src/main/webapp/WEB-INF/view/badUser.jsp @@ -17,7 +17,7 @@ code="label.badUser.title"> ${param.message}
-">"> diff --git a/spring-security-login-and-registration/src/main/webapp/WEB-INF/view/expiredAccount.jsp b/spring-security-login-and-registration/src/main/webapp/WEB-INF/view/expiredAccount.jsp index a8f732c312..fa6796c6a8 100644 --- a/spring-security-login-and-registration/src/main/webapp/WEB-INF/view/expiredAccount.jsp +++ b/spring-security-login-and-registration/src/main/webapp/WEB-INF/view/expiredAccount.jsp @@ -16,7 +16,7 @@
-">"> diff --git a/spring-security-login-and-registration/src/main/webapp/WEB-INF/view/forgetPassword.jsp b/spring-security-login-and-registration/src/main/webapp/WEB-INF/view/forgetPassword.jsp index 29b5c50632..9a25ea9b2b 100644 --- a/spring-security-login-and-registration/src/main/webapp/WEB-INF/view/forgetPassword.jsp +++ b/spring-security-login-and-registration/src/main/webapp/WEB-INF/view/forgetPassword.jsp @@ -32,7 +32,7 @@
-"> +">
"> diff --git a/spring-security-login-and-registration/src/main/webapp/WEB-INF/view/login.jsp b/spring-security-login-and-registration/src/main/webapp/WEB-INF/view/login.jsp index e7c7c2604a..c8d8acc07b 100644 --- a/spring-security-login-and-registration/src/main/webapp/WEB-INF/view/login.jsp +++ b/spring-security-login-and-registration/src/main/webapp/WEB-INF/view/login.jsp @@ -97,7 +97,7 @@ ${param.message}
Current Locale : ${pageContext.response.locale}
">">


">