• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Windows NT authentication from a JSP page

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
Is there a way to use Windows NT authentication for a JSP page?
I mean i want the provided user name and password to be checked against the Windows NT username and passwords.
I am using Tomcat4 and Windows NT.
Thanx in advance
Geeta
 
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check out jCIFS.
It's pretty neat. If your servlet runner supports Servlet Chaining, they give you a servlet that you can chain which will enforce NTLM. So you can code your own servlet without even using the API.
Also, there is an NTLM class in Jakarta Commons HttpUtils. But I think that one works the other way -- you run a client in Java to access a web site that is already protected with NTLM.
 
Or we might never have existed at all. Freaky. So we should cherish everything. Even this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic