Using mod_auth_sspi.so module for Apache for windows authentication will help.

Configuration changes -

LoadModule sspi_auth_module modules/mod_auth_sspi.so

<Location /XXXXX/servlet/ >
        SSPIAuth On
        AllowOverride None
        Order allow,deny
        Allow from all
        AuthName "XXXXXX"
        AuthType SSPI
        SSPIAuth On
        SSPIAuthoritative On
        require valid-user
        SSPIDomain XXX
</Location>

With best regards,
Nishant Hadole
Mailto: nishant.had...@siemens.com
www.siemens.co.in
-----Original Message-----
From: Mark Thomas [mailto:ma...@apache.org]
Sent: Wednesday, 03 February, 2010 12:20 PM
To: Tomcat Users List
Subject: Re: How to find network user id of user in servlet

On 03/02/2010 05:29, Ashish Kulkarni wrote:
> Hi
> How to find network user id who is logged into windows from servlet, there
> is a method in request getRemoteUser(), but it is returning null,

Tomcat doesn't support that directly. You need a 3rd party
authentication mechanism that supports windows authentication.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


Important notice: This e-mail and any attachment there to contains corporate 
proprietary information. If you have received it by mistake, please notify us 
immediately by reply e-mail and delete this e-mail and its attachments from 
your system.
Thank You.

Reply via email to