SecurityFilter with Struts quick and easy question

2004-02-17 Thread Nathan Maves
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: SecurityFilter with Struts quick and easy question

2004-02-17 Thread Max Cooper
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" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: SecurityFilter with Struts quick and easy question

2004-02-17 Thread Nathan Maves
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
On Feb 17, 2004, at 10:05 AM, Max Cooper wrote:

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" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: SecurityFilter with Struts quick and easy question

2004-02-17 Thread Nathan Maves
Never Mind you were right :)

Nathan Maves
Sun Microsystems
On Feb 17, 2004, at 12:08 PM, Nathan Maves wrote:

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
On Feb 17, 2004, at 10:05 AM, Max Cooper wrote:

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" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: SecurityFilter with Struts quick and easy question

2004-02-17 Thread Paul McCulloch
Have a look at the Servlet spec.

Paul

> -Original Message-
> From: Nathan Maves [mailto:[EMAIL PROTECTED]
> Sent: 17 February 2004 19:09
> To: Struts Users Mailing List
> Subject: Re: SecurityFilter with Struts quick and easy question
> 
> 
> 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
> 
> 


**
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you are not 
the addressee indicated in this message (or responsible for delivery of the message to 
such person), you may not copy or deliver this message to anyone. In such case, you 
should destroy this message, and notify us immediately. If you or your employer does 
not consent to Internet email messages of this kind, please advise us immediately. 
Opinions, conclusions and other information expressed in this message are not given or 
endorsed by my Company or employer unless otherwise indicated by an authorised 
representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted 
via electronic mail attachments we cannot guarantee that attachments do not contain 
computer virus code.  You are therefore strongly advised to undertake anti virus 
checks prior to accessing the attachment to this electronic mail.  Axios Systems Ltd 
grants no warranties regarding performance use or quality of any attachment and 
undertakes no liability for loss or damage howsoever caused.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]