This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat and NTLM authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat and NTLM authentication" Watch "Tomcat and NTLM authentication" New topic

Tomcat and NTLM authentication

sivaraman subbiah

Joined: Dec 29, 2008
Posts: 7

I am doing NTLM authentication using jcifs . My web.xml is like this:

<!-- NTLM Authentication -->






am using struts and working in eclipse. The problem is when i start my server, An applet alert dialog is shown and i have to click on Allow button for the jcifs to be configured properly, otherwise it throws an exception. Even after that, when i try to access a link, i the applet alert keeps on displaying and i have to click on Allow button many times, before finally the whole configuration works and the user is authenticated. WHen i try to access the link from a remote machine, then also i have to click on the Allow button in the applet alerts in the server ..then only it works.

WHat am I doing wrong here or do I have to do some additional settings??

Thanks in advance
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41149
What is the "applet alert dialog" you're talking about? Can you post a screenshot of it?

Ping & DNS - my free Android networking tools app
sivaraman subbiah

Joined: Dec 29, 2008
Posts: 7
Hi All,

I have found the reason for the applet thing. It was because of me being in a secured zone in my work place (network). THanks for the reply
wood burning stoves
subject: Tomcat and NTLM authentication
Similar Threads
JCIFS NTLM - giving backup domain controller in web.xml
Authentication mechanism and code procedure from web app to an LDAP server
Problems in Integrated Windows Authentication
Using variables for param-value elements in web.xml