Thanks.. I would try to do that and solve the problem on hand before finding a final soln.
On Tue, Mar 23, 2010 at 7:35 PM, Oleg Kalnichevski <[email protected]> wrote: > On Tue, 2010-03-23 at 19:17 +0530, Gokulakannan Somasundaram wrote: > > > > > > > > > I do not see username getting converted to upper case anywhere in > > > HttpClient code. > > > > > > From a brief reading of http://davenport.sourceforge.net/ntlm.html > > <http://davenport.sourceforge.net/ntlm.html>The NTLMv2 Response > > Step 2 > > *The Unicode uppercase username is concatenated *with the Unicode > > authentication target (the domain or server name specified in the Target > > Name field of the Type 3 message). Note that this calculation always uses > > the Unicode representation, even if OEM encoding has been negotiated; > *also > > note that the username is converted to uppercase*, while the > authentication > > target is case-sensitive and must match the case presented in the Target > > Name field. > > > > Is this not the reference doc for apache commons-httpclient? > > > > Thanks > > As far as I know the NTLMv1 implementation in HttpClient 2.x and 3.x are > loosely based on Davenport code. > > If you want to prevent username from being converted to upper case when > the message type 3 is generated, you need to tweak this method: > > > http://hc.apache.org/httpclient-3.x/xref/org/apache/commons/httpclient/auth/NTLM.html#331 > > Oleg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
