On Thu, 2011-12-01 at 22:00 +0100, Oleg Kalnichevski wrote: > On Thu, 2011-12-01 at 10:27 -0800, Nitin Arora wrote: > > Oleg, > > > > 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. > > I seriously doubt that, but you are very welcome to prove me wrong. >
Here you go http://www.docjar.com/html/api/sun/net/www/protocol/http/NTLMAuthSequence.java.html Oleg > > Can't we have the same implementation in the Apache HttpClient library? > > > > You are welcome to contribute similar implementation to the project as > long as it is a 'clean room' implementation which does not contain bits > of Oracle code. > > Oleg > > > 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. > > > > Nitin > > > > > > 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. > > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
