• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

J2SE NTLM Proxy Authentication

 
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to use J2SE to make NTLM Proxy Authentication. I cannot use HttpClient because it would work on J2EE but not J2SE. My requirement is to build it on J2SE and not J2EE.

Thanks
 
Rancher
Posts: 43028
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I cannot use HttpClient because it would work on J2EE but not J2SE.


Not sure where you got this. HttpClient does not depend on J2EE - using it with J2SE works fine.
 
Raef Kandeel
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I tried to use it and it turned out that it gave me so many errors. I kept importing new packages and the errors kept increasing. And there are some packages that would have to involve javax.

Please help. I don't want to import so many libraries. There got to be an easier way. If you can help me with a link of installation instructions that are easy to follow, I would be very grateful
 
Raef Kandeel
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have downloaded httpclient and all its dependencies and I am still getting errors.
 
Ulf Dittmer
Rancher
Posts: 43028
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I have downloaded httpclient and all its dependencies and I am still getting errors.


Are you going to tell us what those errors are? We can't help you if we don't know the details of the problem you're facing.

According to its documentation, HttpClient depends on Commons Codec and Commons Logging - that's all. Most definitely it doesn't require any J2EE classes.
 
I've read about this kind of thing at the checkout counter. That's where I met this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic