[jcifs] NTLM using JCIFS under Tomcat 3.3.1
Allen, Michael B (RSCH)
Michael_B_Allen at ml.com
Thu Aug 29 11:41:46 EST 2002
> -----Original Message-----
> From: Peter.Leschev at BTFinancialgroup.com [SMTP:Peter.Leschev at BTFinancialgroup.com]
> Sent: Wednesday, August 28, 2002 9:21 PM
> To: jcifs at lists.samba.org
> Subject: [jcifs] NTLM using JCIFS under Tomcat 3.3.1
>
> Hi!
>
> We're looking into using NTLM authentication within our intranet for an internal java based web site that is being implemented. The current version of Tomcat used here is 3.3.1. I've
> attempted to get JCIFS to work under Tomcat 3.3.1 without success. It does, however, work like a dream under Tomcat 4.0.4. I have now noticed that 0.7.0b3 wraps up the authentication process behind
> a Filter interface - which is only available with the Servlet API 2.3 (Tomcat 4.X). Thus forcing users of the JCIFS api to have Tomcat 4.X (unless we hack away at JCIFS ourselves).
>
I would rather avoid application server specific functionality if at all possible. The Filter
interface serves our needs very well. If you are comfortable using beta functionality then
you can hack the code to work with Tomcat 3.3.1. The NTLM HTTP Authentication code
is very simple.
> Is there a reason why NTLM auth doesn't work under 3.3.1?
>
I don't see why it wouldn't (other than it being distributed in the form of a Filter) but consider
the note at the top of the NTLM HTTP Authentication document.
> Is there any workaround that I can perform to get it running under 3.3.1? Or are we forced to move to Tomcat 4.0.4? (This would be a hard line to push)
>
> Regards,
> Peter
>
> ------------------------------------------------------------------------------
> This message and any attachment is confidential and may be privileged or otherwise protected from disclosure. If you have received it by mistake please let us know by reply and then delete it from
> your system; you should not copy the message or disclose its contents to anyone.
>
>
>
>
More information about the jcifs
mailing list