[Webtest] RE: RE: RE: RE: RE: problem with NT authentication

Marc Guillemot webtest@lists.canoo.com
Fri, 28 Apr 2006 00:09:23 -0700 (PDT)

Hi Mike,

this makes the problem coherent again what is already a first step.

There is currently an opened feature request by htmlunit concerning NTLM
It seems that the DefaultCredentialsProvider offers way to return an NTLM
credential for a proxy but not for an "end" site. 
Can you try to write your own quick and dirty CredentialProvider and set it
on the webClient like this:

CredentialsProvider provider = new CredentialsProvider()
  Credentials getCredentials(AuthScheme scheme, String host, int port,
boolean proxy) 
System.out.println("scheme: " + scheme);
    return new NTCredentials("username","password", "yourHost",

I don't have any experience with NTLM neither with Kerberos. If you don't
find the solution, perhaps could you ask on the commons-httpclient mailing

View this message in context: http://www.nabble.com/RE%3A-RE%3A-RE%3A-problem-with-NT-authentication-t1488973.html#a4135618
Sent from the WebTest forum at Nabble.com.