Filter problem

2005-06-23 Thread Jack Lauman
I have the following code for an access filter. If I log in with the role of admin everything works as expected. If I try to log in with the role of user I immediately get a permissions error that denies access. I've added ${sessionScope.USER} to the jsp pages as well as adding entries for

Filter Problem

2004-11-23 Thread Jack Lauman
I have an access control filter that is supposed to grant all access to users wirh the role of 'admin' and limited access to those with the role of 'user. Specifically a 'user' can only manipulate the data that belongs to them. It uses 'contextPath.startsWith' and the users 'id' (int) from

Re: Filter Problem

2004-11-23 Thread Tim Funk
getContextPath is the path name of the webapp. For example, if my webapp is registered at /more. Then my contextPath is /more. If I request /more/cowbell.jsp. The contextPath is /more and the servletPath is /cowbell.jsp. -Tim Jack Lauman wrote: I have an access control filter that is supposed

Re: Filter Problem

2004-11-23 Thread Jack Lauman
Can you append the two together to get the desired result? Jack Tim Funk wrote: getContextPath is the path name of the webapp. For example, if my webapp is registered at /more. Then my contextPath is /more. If I request /more/cowbell.jsp. The contextPath is /more and the servletPath is

Re: Filter Problem

2004-11-23 Thread Tim Funk
You probably want to ignore context path. Its servletPath you really care about. -Tim Jack Lauman wrote: Can you append the two together to get the desired result? Jack Tim Funk wrote: getContextPath is the path name of the webapp. For example, if my webapp is registered at /more. Then my

Re: Filter Problem

2004-11-23 Thread Jack Lauman
Tim: Thanks for your help. It's fixed. Jack Tim Funk wrote: You probably want to ignore context path. Its servletPath you really care about. -Tim Jack Lauman wrote: Can you append the two together to get the desired result? Jack Tim Funk wrote: getContextPath is the path name of the webapp. For

Re: [FIXED] jndi realm filter problem

2004-11-09 Thread Xavier Renard
Hi, ok it's fixed i made another realm with a new mbean-descriptor bases on the JNDIRealm file from version 4.1.31 and that do the trick till an update of tomcat. However, for those runnin 4.1.30,the main difference between file is: * @version $Revision: 1.19 $ $Date: 2004/08/26 21:37:21 $ ---

jndi realm filter problem

2004-11-08 Thread Xavier Renard
Hi, I'm using the Debian package of tomcat (4.1.30) with ldap auth with the following config: myapplication.xml -- Context path=/myapplication docBase=/path/2/build Realm className=org.apache.catalina.realm.JNDIRealm debug=99 connectionURL=ldap://localhost:389;

filter problem

2003-11-24 Thread bwasko
My web.xml fragment: filter-nameSet Character Encoding/filter-name filter-classfilters.SetCharacterEncodingFilter/filter-class init-param param-nameencoding/param-name param-valueISO-8859-2/param-value /init-param /filter filter-mapping filter-nameSet Character Encoding/filter-name

RE: filter problem

2003-11-24 Thread Shapira, Yoav
List Subject: filter problem My web.xml fragment: filter-nameSet Character Encoding/filter-name filter-classfilters.SetCharacterEncodingFilter/filter-class init-param param-nameencoding/param-name param-valueISO-8859-2/param-value /init-param /filter filter-mapping filter-nameSet Character

RE: Win2003 IIS6 ISAPI filter problem

2003-09-02 Thread Nick Tatham
I posted this thread back in June-03 as I was having problems making the ISAPI redirector work under IIS 6 on Windows 2003. Now thanks entirely to Andrew Duey of TerraScan Inc., I now have this working. If you are using IIS V6, which ships with Windows Server 2003, you must allow the Web

Re: Win2003 IIS6 ISAPI filter problem

2003-09-02 Thread John Turner
Excellent. Thank you for posting this, many IIS users have posted to the list trying to get the redirector to work with IIS 6. John Nick Tatham wrote: I posted this thread back in June-03 as I was having problems making the ISAPI redirector work under IIS 6 on Windows 2003. Now thanks

Win2003 IIS6 ISAPI filter problem

2003-06-27 Thread Nick Tatham
I have a Tomcat 3 application and have been running this successfully on several NT and 2000 machines under IIS using the isapi_redirect.dll filter (from Tomcat 3.3). I'm now trying to make it work under IIS 6 on Windows server 2003. Debug to the logfile shows it processing the HttpFilterProc OK

RE: Win2003 IIS6 ISAPI filter problem

2003-06-27 Thread Eriksen, Kjell
? Has anyone tried the ISAPI from Tomcat 5.0? - Kjell Eriksen -Original Message- From: Nick Tatham [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 9:14 AM To: Tomcat Users List Subject: Win2003 IIS6 ISAPI filter problem I have a Tomcat 3 application and have been running

Re: Win2003 IIS6 ISAPI filter problem

2003-06-27 Thread Tom Cole
filter problem I have been experiencing a similar problem with the ISAPI from 4.1.18. The application works fine when I hit Tomcat's HTTP listener, but going through IIS I receive the error with ACCESS DENIED. I have tried everything imaginable with the permissions. Is there a new ISAPI filter

RE: Win2003 IIS6 ISAPI filter problem

2003-06-27 Thread Nick Tatham
Subject: Re: Win2003 IIS6 ISAPI filter problem I'm using the latest isapi_redirector.dll (notice the 'or' at the end) with no problems. But I'm running 4.1.24. - Original Message - From: Eriksen, Kjell [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, June 27, 2003 9

RE: Win2003 IIS6 ISAPI filter problem

2003-06-27 Thread Reynir Hübner
On win2003 ? -Original Message- From: Tom Cole [mailto:[EMAIL PROTECTED] Sent: 27. júní 2003 13:23 To: Tomcat Users List Subject: Re: Win2003 IIS6 ISAPI filter problem I'm using the latest isapi_redirector.dll (notice the 'or' at the end) with no problems. But I'm running

RE: Win2003 IIS6 ISAPI filter problem

2003-06-27 Thread Nick Tatham
To answer my own question, I have now found the -or version: isapi_redirector.dll in /builds/jakarta-tomcat-connectors/jk/release/v1.2.0/bin/win32 I have upgraded to this version and still get the same problem on Win2003. I did earlier have access problems but fixed those in IIS6 by going to

RE: Win2003 IIS6 ISAPI filter problem

2003-06-27 Thread connil
On IIS 6? Is there light in this darkness? Is it possible get Tomcat to work with IIS 6 (win 2003)? -- Original Message -- Reply-To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Win2003 IIS6 ISAPI filter problem Date: Fri, 27 Jun 2003 13:39:55 - From: Reynir Hübner [EMAIL PROTECTED

Re: Win2003 IIS6 ISAPI filter problem

2003-06-27 Thread John Turner
it a priority. John On Fri, 27 Jun 2003 16:04:40 +0200, [EMAIL PROTECTED] wrote: On IIS 6? Is there light in this darkness? Is it possible get Tomcat to work with IIS 6 (win 2003)? -- Original Message -- Reply-To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Win2003 IIS6 ISAPI filter problem

RE: compression filter problem

2003-02-11 Thread Varley, Roger
I am Developing Web application using tomcat. I want to Comopress my all jsp pages in web application, for that i have make some java filter classes and make changes in web.xml. but I am facing two problems 1. in jsp i have to put header content encoding is gzip, without that brower display zip

RE: compression filter problem

2003-02-11 Thread mech
see them. ;-) Other browsers, no problem at all. -Original Message- From: Varley, Roger [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 11. Februar 2003 13:50 To: 'Tomcat Users List' Subject: RE: compression filter problem I am Developing Web application using tomcat. I want

compression filter problem

2003-02-10 Thread Alkesh
Hi I am Developing Web application using tomcat. I want to Comopress my all jsp pages in web application, for that i have make some java filter classes and make changes in web.xml. but I am facing two problems1. in jsp i have to put header content encoding is gzip, without that brower

compression filter problem

2003-02-10 Thread Alkesh
Hi I am Developing Web application using tomcat. I want to Comopress my all jsp pages in web application, for that i have make some java filter classes and make changes in web.xml. but I am facing two problems1. in jsp i have to put header content encoding is gzip, without that brower

Re: compression filter problem

2003-02-10 Thread Jacob Kjome
All I found was your web.xml file. You'll need to re-attach your jsp and java files. Note that I posted stuff about this and still haven't found a simple solution. http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg82477.html Jacob Hookum figured out a way to do it using the same

RE: GZIP filter problem....

2003-01-07 Thread Cox, Charlie
did you look at CompressionFilter.java that is part of the examples distributed with Tomcat? Charlie -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 8:22 PM To: Tomcat Users List Subject: GZIP filter problem I'm trying to use

RE: GZIP filter problem....

2003-01-07 Thread Jacob Kjome
with Tomcat? Charlie -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 8:22 PM To: Tomcat Users List Subject: GZIP filter problem I'm trying to use a GZIP servlet filter under Tomcat-4.1.18. I am basing this filter on an existing

RE: GZIP filter problem....

2003-01-07 Thread Cox, Charlie
: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 9:19 AM To: Tomcat Users List Subject: RE: GZIP filter problem Hi Charlie, I looked at it a little bit, but, to be honest, that one is less straightforward (kind of messy, actually) and I'm not even sure

RE: GZIP filter problem....

2003-01-07 Thread Cox, Charlie
be skipping some functionality in the HttpServletResponse since it has your headers. Charlie -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 2:55 PM To: Tomcat Users List Subject: RE: GZIP filter problem Hi Charlie, Thanks

RE: GZIP filter problem....

2003-01-07 Thread Jacob Kjome
PROTECTED]] Sent: Tuesday, January 07, 2003 2:55 PM To: Tomcat Users List Subject: RE: GZIP filter problem Hi Charlie, Thanks for the tip. Actually, that seems to make no difference. I finally decided to test it with a plain HTML page. It successfully GZIP'ed an html

RE: GZIP filter problem....

2003-01-07 Thread Jacob Kjome
-Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 9:19 AM To: Tomcat Users List Subject: RE: GZIP filter problem Hi Charlie, I looked at it a little bit, but, to be honest, that one is less straightforward (kind of messy, actually

GZIP filter problem....

2003-01-06 Thread Jacob Kjome
I'm trying to use a GZIP servlet filter under Tomcat-4.1.18. I am basing this filter on an existing example at Orion ( http://www.orionserver.com/tutorials/filters/5.html ) It GZIPs fine and, in my debugging, I can decompress the data back to what it was originally (more on that below). The

Tomcat 4 - Filter problem

2001-05-02 Thread Francesco Marsoni
I wrote a filter. Put it in a jar file and added to classpath. This is the result: java.lang.ClassCastException: net.indaco.klyx.auth.tomcat.KlyxFilter at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter Config.java:250) at

Antwort: Tomcat 4 - Filter problem

2001-05-02 Thread Christian . Schildt
: enze.it Thema: Tomcat 4 - Filter problem

ISAPI filter problem on win2k, more info

2001-03-26 Thread Dave Brown
I have triple checked all of my settings and whenever I try to start IIS I get the error below. Here's the strangest thing. I downloaded the source and added some DebugBreak() calls and recompiled it and put it into the designated filter location. When I do this I still get the problem and the

isapi_redirect filter problem

2001-01-31 Thread shlomi sarfati
Hi I tried to install the isapi+AF8-redirec dll on my windows 2000 IIS as explained in the document : 'Tomcat IIS HowTo' my problem is that the that the green arrow up (indicating that the dll is in the air) doesn't appear after restarting the iis as result the redirect doesn't work.( a red