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!

Dave

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



Howdy,

>Now I am really confused. I also have the same problem under Linux (
White
>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
that
>narrows the field more than simply a plain wildcard '/*' ... is this
right?
>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
>filter
>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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to