wood burning stoves 2.0
The moose likes Sockets and Internet Protocols and the fly likes Unable to connect through an NTLM proxy... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Unable to connect through an NTLM proxy... " Watch "Unable to connect through an NTLM proxy... " New topic

Unable to connect through an NTLM proxy...

Vikas Nair

Joined: Jan 26, 2003
Posts: 3
My internet access is through an NTLM proxy ,so i tried the normal proxy-connection procedure in a WHOIS program that i am developing .... i.e ,setting the "proxySet","proxyHost","proxyPort" system properties and then ,setting the "Proxy-Authorization" property in the request header with the base64Encoded "username:password" string ... but,still the server is giving me 407 (Proxy authentication required" error. I even tried using the HTTPClient package ,but even that is giving me a "AuthSchemeNotImplException" Exception ... Any ideas ??? Is there a compatibilty issue b/w NTLM and Java ??? (i am using J2SE 1.3.1_06)
[ January 26, 2003: Message edited by: Vikas Nair ]
Peter den Haan
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
NTLM authentication is a proprietary Microsoft protocol; as the exception you are reporting strongly suggests, the Java platform does not support it. Of course, enterprising companies and individuals have written support for it; a quick Google search threw up this interesting candidate among probably many others.
- Peter
Akperov Nazim

Joined: Jan 31, 2003
Posts: 1
this may help
I agree. Here's the link: http://aspose.com/file-tools
subject: Unable to connect through an NTLM proxy...
It's not a secret anymore!