dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #04112
Switch from Acegi to Spring Security
Hi,
I have just merged in work from a student group at inf5750 which did the
migration from Acegi to Spring Security. Thanks to Dlzar, Aslak, Anders,
Magnus, Mo for nice work.
This is good news as there are now no more out-dated frameworks inside DHIS
2.
Migrating web-modules only requires a minor change in WEB.XML (have a look
in any WEB.XML in trunk if in doubt) :
<filter>
- <filter-name>SecurityFilterChain</filter-name>
- <filter-class>org.acegisecurity.util.FilterToBeanProxy</filter-class>
- <init-param>
- <param-name>targetBean</param-name>
- <param-value>org.acegisecurity.util.FilterChainProxy</param-value>
- </init-param>
+ <filter-name>filterChainProxy</filter-name>
+ <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
</filter>
<filter-mapping>
- <filter-name>SecurityFilterChain</filter-name>
+ <filter-name>filterChainProxy</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
Lars
Follow ups