This week's book giveaway is in the Artificial Intelligence forum.
We're giving away four copies of Pragmatic AI and have Noah Gift on-line!
See this thread for details.
Win a copy of Pragmatic AI this week in the Artificial Intelligence forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Unable to connect through an NTLM proxy...  RSS feed

 
Greenhorn
Posts: 3
  • 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 ]
 
author
Ranch Hand
Posts: 3252
  • 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
 
Greenhorn
Posts: 1
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!