File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
Unable to connect through an NTLM proxy...
Connecting Internet from android code
WebViewClient in android
How to connect to the internet behind proxy ?
Credentials cannot be used for NTLM authentication