RE: filters / tomcat / httpunit / webtest

2004-01-12 Thread Edgar P Dollin
FYI, using HTTP 'error' 202 SC_ACCEPTED (and maybe others) works around the problem. In other words is compatible with IE, Mozilla, etc and still works with HttpUnit / Webtest. I haven't loaded the application too much so I will find out later if this issue is truly resolved. If anyone is

RE: filters

2003-07-23 Thread Cecile Mercado
Use Tomcat's container managed (user) authorization, via one of the Realms (I use JDBCRealm, but there are others) - this has nothing to do with Struts. Search Tomcat's website about this - it's pretty well-documented, I think. - Cecile -Original Message- From: Balaji R [mailto:[EMAIL

RE: filters

2003-07-23 Thread Mohan Radhakrishnan
Struts doesn't have anything to do with Servlet filters (Servlets 2.3). You can use filters. You don't have to rewrite anything. web.xml only has entries for servlets. A Struts action is not a servlet. Do you mean role based permissions for actions ? Mohan -Original Message- From:

RE: filters

2003-07-23 Thread Chen, Gin
Either way would work. The controller you need to extend is actually the RequestProcessor (TilesRequestProcessor if your using Struts/Tiles) Check the archives for more information (archives are accessible from the jakarta site) -Tim -Original Message- From: Balaji R [mailto:[EMAIL

Re: filters

2003-07-23 Thread Sean Radford
Struts will work with Container based authentication/authorisation (a+a) and with Servlet Filters. If you plan/need to use a Filter to do a+a with a Filter, take a look at http://securityfilter.org/ Sean On Wed, 2003-07-23 at 14:40, Balaji R wrote: Am using Struts with tomcat. Can I use

RE: Filters and Struts

2003-01-28 Thread Craig R. McClanahan
On Tue, 28 Jan 2003, Sterin, Ilya wrote: Ok, thanks to all:-) Guess my only other option is to either define a filter for each servlet for now, until 2.4 is prod ready, or as Max mentioned, and put all actions in need of authentication, within the members namespace. Both are a hassle of

RE: Filters and Struts

2003-01-27 Thread Pani, Gourav
The way I have implemented it in the past is to have a /secure in the mapping for pages that are protected by Login. In the web.xml I did the following. filter filter-name='VerifyLoginFilter' filter-class='com.companyname.applicationname.filters.VerifyLoginFilter' init-param

Re: Filters and Struts

2003-01-27 Thread David Graham
I could be wrong but I believe filters apply to forwards. David From: Sterin, Ilya [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Filters and Struts Date: Mon, 27 Jan 2003 09:13:26 -0700 I'd like to know if anyone

RE: Filters and Struts

2003-01-27 Thread Jacob Hookom
It is in the 2.4 Servlet Spec, but I'm not fully sure if it's included in 2.3, which is 4.1.x I believe. | -Original Message- | From: David Graham [mailto:[EMAIL PROTECTED]] | Sent: Monday, January 27, 2003 10:35 AM | To: [EMAIL PROTECTED] | Subject: Re: Filters and Struts | | I could

RE: Filters and Struts

2003-01-27 Thread Sterin, Ilya
Message- From: Jacob Hookom To: 'Struts Users Mailing List' Sent: 1/27/03 9:39 AM Subject: RE: Filters and Struts It is in the 2.4 Servlet Spec, but I'm not fully sure if it's included in 2.3, which is 4.1.x I believe. | -Original Message- | From: David Graham [mailto:[EMAIL PROTECTED

RE: Filters and Struts

2003-01-27 Thread Jacob Hookom
with Security Filters. -Jacob -Original Message- From: Sterin, Ilya [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 10:54 AM To: 'Jacob Hookom '; ''Struts Users Mailing List' ' Subject: RE: Filters and Struts Hmmm, I'm successfuly using it with 2.3 just filtering jsp pages

Re: Filters and Struts

2003-01-27 Thread Craig R. McClanahan
On Mon, 27 Jan 2003, David Graham wrote: Date: Mon, 27 Jan 2003 09:35:12 -0700 From: David Graham [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Filters and Struts I could be wrong but I believe filters apply to forwards. Only

Re: Filters and Struts

2003-01-27 Thread Max Cooper
PROTECTED] Sent: Monday, January 27, 2003 8:35 AM Subject: Re: Filters and Struts I could be wrong but I believe filters apply to forwards. David From: Sterin, Ilya [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject

RE: Filters and Struts

2003-01-27 Thread Sterin, Ilya
' ' Subject: RE: Filters and Struts I did some more checking on the 2.3 Spec and you are correct that it does not allow for specific include requests. I believe Craig had mentioned before in Tomcat-User that the Filter chain is created once a request, which would not accommodate dynamic includes