[jcifs] NTLM authentication

Giampaolo Tomassoni Giampaolo at Tomassoni.biz
Thu Apr 23 14:32:00 GMT 2009

> 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.


> With
> Suvendu

More information about the jcifs mailing list