Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Capturing login

 
Rashmi Rajappa
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My application should be able to capture the Windows network login in a servlet, and hence use it for validating the user so that his Windows login can be used as the login for my application.
Thanx in advance for ur help
 
Michael Zalewski
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out jCIFS
It will even do NTLM authentication (where the user is not actually prompted
for a password if the user has already logged in to the NT domain). It is a 100% java implementation. And it can work from Linux, Solaris, or any system (provided the system can see a resource domain controller via TCP). Nothing needs to be installed on the NT side.
It's easy to add to an existing application if your container supports servlet chaining. Just add their NTLM HTTP Servlet Filter to yoru filter chain.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic