hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: NTLM authentication problem
Date Thu, 16 Dec 2004 13:32:08 GMT

>  AuthScope authscope =  new AuthScope("http://servername/index.html",80);

Authentication scope is meant to apply to hosts not URLs. Use the target
host name instead of the target url and this should do the trick

AuthScope authscope =  new AuthScope("servername",80);

Hope this helps


To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org

View raw message