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.
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
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.