You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Nathan Maves <Na...@Sun.COM> on 2004/02/17 17:47:14 UTC
SecurityFilter with Struts quick and easy question
I am looking into using SecurityFilter to handle all the authentication
for my app.
Since it uses filters, like sturts, how does the Struts action get
called?
Will the request pass through multiple servlet filters?
Should the authentication servlet filter be placed above the struts
filter?
Nathan Maves
Sun Microsystems
Re: SecurityFilter with Struts quick and easy question
Posted by Nathan Maves <Na...@Sun.COM>.
Never Mind you were right :)
Nathan Maves
Sun Microsystems
Re: SecurityFilter with Struts quick and easy question
Posted by Nathan Maves <Na...@Sun.COM>.
It does use a servlet that all request that match a filter are sent to.
Are the filters called in the order that they appear in the web.xml
file?
Nathan Maves
Sun Microsystems
Re: SecurityFilter with Struts quick and easy question
Posted by Max Cooper <ma...@maxcooper.com>.
Nathan,
Struts actually uses a Servlet rather than a Filter. But you are right about
Filters in general -- requests can pass through as many filters as you have
configured. If you have both SecurityFilter and Struts in the same app,
SecurityFilter will always be called first (when the request URL matches the
url-patterns for both).
-Max
----- Original Message -----
From: "Nathan Maves" <Na...@Sun.COM>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Tuesday, February 17, 2004 8:47 AM
Subject: SecurityFilter with Struts quick and easy question
> I am looking into using SecurityFilter to handle all the authentication
> for my app.
>
> Since it uses filters, like sturts, how does the Struts action get
> called?
> Will the request pass through multiple servlet filters?
> Should the authentication servlet filter be placed above the struts
> filter?
>
>
> Nathan Maves
> Sun Microsystems
>
>
>
----------------------------------------------------------------------------
----
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org