With a Servlet 2.4 container it is possible to make requests forwarded
by a RequestDispatcher also go through a filter by added the following
to the filter-mapping:

        <dispatcher>REQUEST</dispatcher>
        <dispatcher>FORWARD</dispatcher> 

It would be nice to use this with Acegi to ensure that pages are
secured even when they are arrived at from a forward. But it doesn't
work because the FilterSecurityInterceptor will only check security
once per request. If the original request was checked then it won't be
checked again after the forward.

Any suggestions?

Thanks


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r 
_______________________________________________
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to