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.
I have a requirement of implementing LDAP based automatic windows authentication for a application deployed in tomcat 7. The requirement is, when I try to access the application page it should take the windows login credentials for authentication process and should not prompt user to enter the credentials. I had came across JNDI realms and various authentication types like BASIC, form based ,digest,etc. From my study I think all are prompting user to enter the credentials.
Is there any other way to achieve my requirement? All the client systems are in Intranet domain and user details stored in LDAP server.
Note that your browser must cooperate. Firefox will keep asking for the credentials unless you add the site to the "network.automatic-ntlm-auth.trusted-uris" configuration parameter. Opera always asks for the credentials, although it can remember them (so can Firefox). I can't really remember what Chrome does.