[jcifs] NTLM authentication

Suvendu_Mohapatra Suvendu_mohapatra at satyam.com
Thu Apr 23 15:26:49 GMT 2009


Hi,

        Thank you very much for your reply.
I have gone through some examples in src package of JCIFS. I got the code for NtlmHttpClient.java file. But the problem is that my proxy server uses NTLM authentication. But in that code how can I pass my proxy information for ntlm authentication.

With Regards,
Suvendu


-----Original Message-----
From: jcifs-bounces+suvendu_mohapatra=satyam.com at lists.samba.org [mailto:jcifs-bounces+suvendu_mohapatra=satyam.com at lists.samba.org] On Behalf Of Giampaolo Tomassoni
Sent: Thursday, April 23, 2009 8:02 PM
To: jcifs at lists.samba.org
Subject: RE: [jcifs] NTLM authentication

> From: Suvendu_Mohapatra
> Sent: Thursday, April 23, 2009 3:34 PM
>
> Hi,
>
> I am using an open source performance tool(Grinder) which does
> not support NTLM authentication for replaying back the script.
> But it supports basic and digest type of authentication(it uses
> innovation HTTPClient package). Kindly tell me can I find any code
> which supports NTLM authentication using JCIFS package.
>
> Thank you in advance...

Hi Suvendu,

the jCifs package offers the jcifs.http.NtlmHttpFilter which, when installed
as a servlet filter, attempts authenticating throw the NTLM protocol. The
identity of the authenticated user is propagated in the attributes of the
request, so that the servlet or a further filter can eventually assign a
role to the user, if Grinder needs it.

The setup of the filter is a bit tricky and may require some compromise
among features, but then it is used to work as expected.

Giampaolo


>
> With
Regards,

> Suvendu



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.


More information about the jcifs mailing list