The best way I can describe it is the Spring Security 2 configuration
creates the springSecurityFilterChain bean automatically before you w/o
requiring any configuration.


On Thu, Apr 9, 2009 at 11:55 AM, nani2ratna <nani2ra...@gmail.com> wrote:

>
> Hi matt,
>
> I just saw the tutorial that you have given for upgrading spring security.
> This is the link.
> http://raibledesigns.com/rd/entry/upgrading_to_spring_security_2
> http://raibledesigns.com/rd/entry/upgrading_to_spring_security_2
>
> you removed so many lines.
> I just asked the question regarding that.
>
> Thanks and Regards
> Ratna
>
>
>
>
>
> mraible wrote:
> >
> >
> > We don't use a file named applicationContect-acegi-security.xml in
> > AppFuse.
> >
> > On Thu, Apr 9, 2009 at 11:29 AM, nani2ratna <nani2ra...@gmail.com>
> wrote:
> >
> >>
> >> Hi,
> >>
> >> So is security.xml same as
> >> applicationContect-acegi-security.xml ??
> >>
> >> Thanks and Regards
> >> Ratna Sekhar.K
> >> 0713156337
> >>
> >>
> >> mraible wrote:
> >> >
> >> > security.xml is specified as a file to load in web.xml.
> >> >
> >> > On Thu, Apr 9, 2009 at 1:51 AM, nani2ratna <nani2ra...@gmail.com>
> >> wrote:
> >> >
> >> >>
> >> >> Hi,
> >> >>
> >> >> I got one small doubt when I am debugging Appfuse.
> >> >> If you see the secuirty configuration in web.xml --
> >> >>
> >> >>    <filter>
> >> >>        <filter-name>securityFilter</filter-name>
> >> >>
> >> >>
> >> >>
> >>
> <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
> >> >>        <init-param>
> >> >>            <param-name>targetBeanName</param-name>
> >> >>            <param-value>springSecurityFilterChain</param-value>
> >> >>        </init-param>
> >> >>    </filter>
> >> >>
> >> >> How we are giving this "springSecurityFilterChain".
> >> >> We should specify some class or some bean name if it exists in bean
> >> >> factory.
> >> >> springSecurityFilterChain is not there in any applicationContext*.xml
> >> >> files.
> >> >> So how security.xml is getting called.
> >> >> Ok its loading when we specify in context-param tag.
> >> >>
> >> >> If you look at Acegi configuration, we have configure with
> >> >> FilterToBeanProxy.
> >> >> And then we have to give param value as FilterChainProxy.
> >> >> And then we have to allocate a seperate
> >> >> applicationContext-acegi-security.xml
> >> >> for only acegi.
> >> >>
> >> >> My main question where all these things were encapsulated.
> >> >>
> >> >> Thanks and Regards
> >> >> Ratna Sekhar.K
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> http://www.nabble.com/security-in-Acegi-tp22966101s2369p22966101.html
> >> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> >> >> For additional commands, e-mail: users-h...@appfuse.dev.java.net
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/security-in-Acegi-tp22966101s2369p22975780.html
> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> >> For additional commands, e-mail: users-h...@appfuse.dev.java.net
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/security-in-Acegi-tp22966101s2369p22976240.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>

Reply via email to