From ce34595afd20a50071addcd8863dbe7c1761cba8 Mon Sep 17 00:00:00 2001 From: Manuel Rego Casasnovas Date: Wed, 16 May 2012 09:01:27 +0200 Subject: [PATCH] Configure a custom authentication filter For the moment the same behavior than before the authentication filter is kept. Later it will be used to do some redirects depending on if the user is bound or not to any resource. In order to define a custom authentication filter it's needed to set auto-config="false" see http://static.springsource.org/spring-security/site/docs/2.0.x/reference/ns-config.html#ns-auto-config We also need an entry point specified by "entry-point-ref" attribute. FEA: ItEr76S28UserDashboard --- ...ibreplan-webapp-spring-security-config.xml | 29 +++++++++++++++++-- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/libreplan-webapp/src/main/resources/libreplan-webapp-spring-security-config.xml b/libreplan-webapp/src/main/resources/libreplan-webapp-spring-security-config.xml index 309405f81..302d817d5 100644 --- a/libreplan-webapp/src/main/resources/libreplan-webapp-spring-security-config.xml +++ b/libreplan-webapp/src/main/resources/libreplan-webapp-spring-security-config.xml @@ -9,7 +9,8 @@ - + + @@ -54,8 +56,11 @@ access="ROLE_ADMINISTRATION" /> - + + + + + @@ -115,4 +120,22 @@ Provider. --> + + + + + + + + + + + + + + + +