You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by BazzaRy <ba...@yahoo.co.uk> on 2008/07/11 10:55:27 UTC

Use httpClient to authenticate with proxy and server

Hi,

I need to authenticate with an apache proxy server using NTLM and a web
application runnig on JBoss.  the problem I have is with using HTTPClient to
authenticate with the proxy and the web-app.  When I provide proxy
credentials using client.getState().setProxyCredentials() these appear to be
ignored by apache and it only recognises the credentials provided by
client.getState().setCredentials().  I am not 100% if the problem is with my
usage of HttpClient or how apache is set up as a proxy.  If I request a
server resource that does not require authentication (e.g. the login form)
then I authenticate with the proxy and get through to the web-app no
problem. 

Any help on this would be appreciated.

Regards

Barry
-- 
View this message in context: http://www.nabble.com/Use-httpClient-to-authenticate-with-proxy-and-server-tp18399498p18399498.html
Sent from the HttpClient-User mailing list archive at Nabble.com.


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