Article View: borland.public.jbuilder.java.language
Article #213Java through (NTLM) proxy
From: unde
Date: Tue, 22 Aug 2006 18:00
Date: Tue, 22 Aug 2006 18:00
28 lines
2391 bytes
2391 bytes
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
Technical Details
Message-ID:
<NCHGg.9294$JU3.7167@reader1.news.jippii.net>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.germany.com!feeder2.news.jippii.net!reader1.news.jippii.net!53ab2750!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f74b3,8c04e5273243896d,start X-Google-Attributes: gidf74b3,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.germany.com!feeder2.news.jippii.net!reader1.news.jippii.net!53ab2750!not-for-mail From: unde <gundeg@gmail.com> User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language Subject: Java through (NTLM) proxy Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 28 Message-ID: <NCHGg.9294$JU3.7167@reader1.news.jippii.net> Date: Tue, 22 Aug 2006 21:00:13 +0300 NNTP-Posting-Host: 83.245.220.89 X-Complaints-To: newsmaster@saunalahti.com X-Trace: reader1.news.jippii.net 1156269613 83.245.220.89 (Tue, 22 Aug 2006 21:00:13 EEST) NNTP-Posting-Date: Tue, 22 Aug 2006 21:00:13 EEST Organization: Saunalahti Customer