← Back to team overview

dhis2-devs team mailing list archive

Re: Switch from Acegi to Spring Security

 

awesome... hadn't Murod done it on his branch as well??

---
Regards,
Saptarshi PURKAYASTHA
Director R & D, HISP India
Health Information Systems Programme

My Tech Blog:  http://sunnytalkstech.blogspot.com
You Live by CHOICE, Not by CHANCE


2010/1/28 Lars Helge Øverland <larshelge@xxxxxxxxx>

>
> 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
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References