File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to connect through an NTLM proxy...

 
Vikas Nair
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3252
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this may help
http://java.sun.com/features/2002/11/hilevel_network.html
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic