tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadole, Nishant IN BOM SISL" <>
Subject RE: How to find network user id of user in servlet
Date Wed, 03 Feb 2010 07:07:15 GMT
Using module for Apache for windows authentication will help.

Configuration changes -

LoadModule sspi_auth_module modules/

<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

With best regards,
Nishant Hadole
-----Original Message-----
From: Mark Thomas []
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.


To unsubscribe, e-mail:
For additional commands, e-mail:

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.
View raw message