In a Windows-centric environment, you may wish to use NTLM authentication rather than a
login dialog box. Each user will be "pre-authenticated" and identified based on their
workstation login.

This works for IE and for Firefox, but Firefox users must manually turn on NTLM support.

To use NTLM you just need to change JspWiki's web.xml to specify its a version 2.3 servlet
(Tomcat 4+) and then add a servlet filter to set the response's remote user.

Its easy to do that, just change the second line of web.xml to
{{{<!DOCTYPE web-app
     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"

then add the filter specification before the first {{<servlet>}} tag. Order matters to Tomcat.




In the above, replace YOURDOMAINNAME with your NTLM domain name and replace with the ip address of your WINS server. Use {{ipconfig /all}} to find out
the ip numbers of your WINS server.

And of course, you need to add the [JCIFS jar file|] to WEB-INF/lib.

For more information on how this works, see the
[JCIFS|] site.