hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Arora <aro_ni...@yahoo.com>
Subject Re: Authenticate Proxy using currently logged on domain user's credentials
Date Thu, 01 Dec 2011 18:27:08 GMT


I found out that there is an implementation of HttpURLConnection in the
package (sun.net.www.protocol.http) which uses the current logged on user's
credentials to perform NTLM authentication. 

Based on the debugging that I've done, I did not see the usage of native
windows API. It's a pure Java based implementation. (Correct me if I'm

Can't we have the same implementation in the Apache HttpClient library?

I'm currently figuring out how can I use the same logic as being used in
sun.net.www.http.HttpURLConnection in the Apache HttpClient Library. If you
aware then can you share your thoughts?

Using native windows API is the last option that I would opt for.


olegk wrote:
> On Tue, 2011-11-29 at 16:50 -0800, Nitin Arora wrote:
>> Hey guys,
>> It's been a week now, no replies so far.
>> Oleg, Do you have any suggestions for the problem that I'm facing or any
>> pointer on how to achieve integrated user authentication?
> Using Native Windows Security API through JNI.
> Oleg
> PS: this issue has been beaten to death on so many occasions that it is
> no longer funny.

View this message in context: http://old.nabble.com/Authenticate-Proxy-using-currently-logged-on-domain-user%27s-credentials-tp32873481p32897644.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

View raw message