This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
Author

Unable to connect through an NTLM proxy...

Vikas Nair
Greenhorn

Joined: Jan 26, 2003
Posts: 3
Hi,
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
author
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
Greenhorn

Joined: Jan 31, 2003
Posts: 1
this may help
http://java.sun.com/features/2002/11/hilevel_network.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to connect through an NTLM proxy...
 
Similar Threads
WebViewClient in android
How to connect to the internet behind proxy ?
Unable to connect through an NTLM proxy...
Credentials cannot be used for NTLM authentication
Connecting Internet from android code