Roger,
Just to make sure that there's no misunderstanding, Odi meant to say
domain. Please make sure that you provide the correct domain host
information to the NTCredentials constructor.
Besides, 2.0rc2 was released with a pretty nasty bug that renders NTLM
authentication completely
Try this code:
SimpleHttpConnectionManager theConnectionManager = new
SimpleHttpConnectionManager();
HttpClient theClient = new HttpClient( theConnectionManager );
//Set The Proxy Host Configuration
HostConfiguration theHostConfiguration = theClient.getHostConfiguration();
to fulfill the
request. Access to the Web Proxy service is denied. )
Regards
Roger
-Original Message-
From: Khalid Ishaque [mailto:[EMAIL PROTECTED]
Sent: 21 November 2003 17:22
To: 'Commons HttpClient Project'
Subject: RE: Problems with NTLM authentication
Try this code
Varley, Roger wrote:
Hi Khalid
Thanks for the prompt response. Your code produces the follwoing message;
INFO: Already tried to authenticate with 'null' authentication realm at www-proxy2.uk.int.atosorigin.com, but still receiving: HTTP/1.1 407 Proxy Authentication Required ( The ISA Server