Windows IIS Web Server as DATA SOURCE



Download the project files from here.


First set up the IIS web server :

    * If your running both web server in the same machine, Change IIS web server port number for example 8080

    * Copy app\code\iis-asp\user.asp file into into IIS web directory.

                eg. c:\Inetpub\wwwroot direcoty.

    * Start the IIS web server and point your browser to http://localhost:8080/user.asp you should be able to see login form enter your domain name, user name and password.  This page will give success or failure message.

Now setup the tomcat web server,  follow these steps :-

    * Copy authenticate   direcotry into tomcat webapps directory.

    * rename webapps/authenticate/WEB-INF/web-win32iis.xml file into  webapps/authenticate/WEB-INF/web.xml


Now edit the web.xml file :









* Replace domain name (sundaram) with your domain name.

* If your URL is different than http://localhost:8080/user.asp change that also.

* Save the changes and start the tomcat web server

* Point your URL to login.jsp, you should be able to see the login page.


For more information about ASP refer this link:

Authenticating Web Users Transparently against NTLM with ASP Script and ADSI