tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boland, Dave" <>
Subject RE: Filter mapping problem under Solaris 9
Date Fri, 20 Feb 2004 17:11:45 GMT
Sitting here mildly red-faced. Yes, you are right - the problem is narrowing
down to be a problem with the jCIFS code. I have just finished testing using
a couple of Linux and a Solaris box, and I am coming round to the conclusion
that there is something awry with the NtlmAuth code.

Using the example RequestDumperFilter and a couple of files, the pattern
matching _is_ ok after all ... so I am interested in the reported problem
with POSTing. I'll have a dig around the archives and see if I can find
anything out. 

Cheers for the help!


-----Original Message-----
From: Shapira, Yoav []
Sent: Friday, February 20, 2004 1:53 PM
To: Tomcat Users List
Subject: RE: Filter mapping problem under Solaris 9


>Now I am really confused. I also have the same problem under Linux (
>Hat Enterprise - not sure of version number.. )

This is good, in that it's more consistent.

>This raises the obvious question of 'am I setting the url-pattern
>correctly?' I would assume that it would be possible to set a pattern
>narrows the field more than simply a plain wildcard '/*' ... is this
>As I said, it works fine on Widnows 2k ...

Yes, it's possible to set the filter-mapping url-pattern to something
more complex than /* ;)  See the Servlet Specification SRV.11 for the
exact specification.  I personally have used /*, /foo/*, *.do (the
classic Struts mapping), and specific servlet-name mappings instead of
url-pattern, for filters successfully with tomcat 5.x.

>As a simple and reproducable example, I am using the supplied
>'NtlmHttpAuthExample' servlet with jCifs0.8.0. Under Unix, if I set a
>mapping that is specific, I can't get the expected parameters from the
>request object, but under Widnows I do. Very odd.

As a sidenote, NtlmHttpAuth is NOT a simple example.  Pick or write
something very trivial.  Someone was complaining earlier about a bug
with POST request parameters when using NtlmHttpAuth.

Yoav Shapira

This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.

The contents of this email and any attachments are sent for the personal attention
of the addressee(s) only and may be confidential.  If you are not the intended
addressee, any use, disclosure or copying of this email and any attachments is
unauthorised - please notify the sender by return and delete the message.  Any
representations or commitments expressed in this email are subject to contract. 
ntl Group Limited

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message