views:

1352

answers:

3

Hi!

I need to do that with tomcat and a J2EE Web App. I don't want a pop up window asking the user for credentials.

I must use the user logged on Windows to authenticate him on my web app.

How can I do it?

Thanks!

+1  A: 

I don’t believe Tomcat natively supports integrated authentication, however it does support custom authentication modules. Give these URL's a try:

http://appliedcrypto.com/files/tomcat_spnego.pdf

http://jcifs.samba.org/src/docs/ntlmhttpauth.html

Exist
A: 

Tomcat doesn't support NTLM authentication, but there are other Java security libraries that do, such as Spring Security. Using SS, we have Tomcat and JBoss applications which silently authenticate against an MS Active Directory in both IE and FF browsers.

Here's a URL that might be helpful: http://blog.mediasoft.be/ntlm-with-spring-security-20/

Rob Beardow