Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

NTLM proxy authentication for HTTP

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I need to authenticate HTTP request using NTLM scheme through proxy in my standalone application. I have taken look at http://davenport.sourceforge.net/ntlm.html and http://www.innovation.ch/java/ntlm.html and understood the theory described in them but the implementation is still unclear.

How do I create messages of type (1) , (2) and (3) to use them back and forth between client and server?

I would appreciate if somebody can help me with an example of

1) how to send NTLM negotiate to server ?
2) how to capture the server's challenge? and
3) how to send response back to server with credentials?

Thanks in advance
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

If your still looking for ntlm authentication then i have a jsp that does just that.
 
reply
    Bookmark Topic Watch Topic
  • New Topic