tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadole, Nishant IN BOM SISL" <Nishant.Had...@siemens.com>
Subject RE: How to find network user id of user in servlet
Date Wed, 03 Feb 2010 07:07:15 GMT
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.Hadole@siemens.com
www.siemens.co.in
-----Original Message-----
From: Mark Thomas [mailto:markt@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@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.
Mime
View raw message