Java through (NTLM) proxy

  • Follow


Hi all,

I need urgent help on these (questions are numbered below):

I know that I can set proxyhost and proxyport for the java application 
to work through a normal proxy server. But (at least) on corporate 
networks there are authentication schemes on proxys. I am using 
URLConnection with SSL encryption to encapsulate java objects that I 
transfer from our server to the (Java app) client that resides inside 
corporate network. I am aware of HTTPClient that claims to deal with the 
NTLM proxy, but how? Asking user for Windows l/p/d?!? I have found no 
examples nor tutorials that deal with this..

I have been searching web really for a while now and have found out that 
NTLM proxy authentication is Microsoft's authentication scheme that has 
no public specification!?! Is it really true that Java is not capable of 
dealing with corporate networks (or corporate proxies)? Do I really need 
to go to the JSP ect. road on this one?

1. Is it possible to get proxy settings somehow from the client computer 
other than asking them from the user?
2. Is it possible to use java application client to access server 
through NTLM proxy server? How? Example would REALLY be appriciated!
3. Is it possible to get somehow Windows credentials other than asking 
user (I guess that HTTPClient needs these)?

Best Regards,
Mika
0
Reply unde 8/22/2006 6:00:36 PM


0 Replies
126 Views

(page loaded in 0.031 seconds)

Similiar Articles:






7/6/2012 11:26:18 PM


Reply: