• Post Reply Bookmark Topic Watch Topic
  • New Topic

Windows NT authentication from a JSP page

 
Geeta Gune
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • 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
 
Michael Zalewski
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!