Re: Using Tomcat declarative security for my app

2004-03-24 Thread Mark Lowe
opps.. sorry for the dodgy info. in fact mine follow the /dir/* pattern. On 24 Mar 2004, at 18:45, Kris Schneider wrote: You can use either path or extension mapping, but not a combination of both. So /administrator/* is okay and *.do is okay but /administrator/*.do is not. Quoting Mark Lowe

Re: Using Tomcat declarative security for my app

2004-03-24 Thread Kris Schneider
You can use either path or extension mapping, but not a combination of both. So /administrator/* is okay and *.do is okay but /administrator/*.do is not. Quoting Mark Lowe <[EMAIL PROTECTED]>: > If you're using a javax.servlet.Filter and you then > > > MyFilter > /administr

Re: Using Tomcat declarative security for my app

2004-03-24 Thread Mark Lowe
If you're using a javax.servlet.Filter and you then MyFilter /administrator/*.do you can also map to a servlet name rather than a url pattern but this seems what you want. On 24 Mar 2004, at 18:10, Sipe Informática wrote: Thanks for your help, but it is not the problem...

Re: Using Tomcat declarative security for my app

2004-03-24 Thread Sipe Informática
Thanks for your help, but it is not the problem... I deleted all about security in my web.xml to test only de filter mapping of the struts action servlet: action /administrator/*.do With this mapping always returns to me a 400 error (Invalid Path)... I have tried also /app/adm

RE: Using Tomcat declarative security for my app

2004-03-24 Thread Pady Srinivasan
wed access. Thanks -- pady [EMAIL PROTECTED] -Original Message- From: Sipe Informática [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 9:40 AM To: Struts Users Mailing List Subject: Using Tomcat declarative security for my app Hi!, first of all excuse my poor english... I have th

Using Tomcat declarative security for my app

2004-03-24 Thread Sipe Informática
Hi!, first of all excuse my poor english... I have this problem: My idea for securing my app was using Tomcat, so i have two directories: administrator and user, with their own jsp's. In the web.xml i was pretending to do this: action /administrator/*.do action