File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 41052
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
It is sorta covered in the JavaRanch Style Guide.
subject: Tomcat and NTLM authentication
Similar Threads
Authentication mechanism and code procedure from web app to an LDAP server
JCIFS NTLM - giving backup domain controller in web.xml
Problems in Integrated Windows Authentication
Using variables for param-value elements in web.xml