Once you are properly serving through IIS, you can go to the IIS
administration panel and set security for a directory or a page. How you
set it is different with each version of Windows & IIS so I can't tell you
exactly how to do that.
On Win2K, here's what I do: Start=>Settings=>Control Panel=>Administrative
Tools=>Internet Services Manager. Right-click on the virtual server you
want to protect (its name will match your Tomcat context name) and select
Properties. Look for the Security properties. Un-check "Allow Anonymous"
That's it. Security is now enabled for that context.
What this does, is it causes IIS to issue the NT Challenge/response (did I
say that right?) and if the user isn't logged in to a valid domain, it pops
up the username/password box. Your Tomcat programs read this as
request.getRemoteUser()
-----Original Message-----
From: Georges Boutros [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 8:35 AM
To: Tomcat-User (E-mail)
Subject: find the NT account name with tomcat for IIS
hi,
i would like to get the NT account name of the person browsing the web page.
i'm using jsp pages with tomcat for IIS.
does anyone know how can i do it?
thanks
Georges