This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JSP and the fly likes Capturing login Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Capturing login" Watch "Capturing login" New topic

Capturing login

Rashmi Rajappa

Joined: Jul 29, 2003
Posts: 2
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

-Rashmi<br />Try until u succeed
Michael Zalewski
Ranch Hand

Joined: Apr 23, 2002
Posts: 168
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.
I agree. Here's the link:
subject: Capturing login
jQuery in Action, 3rd edition