You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dinesh P <dp...@yahoo.com> on 2002/09/30 01:51:31 UTC

HELP! getRemoteUser()/getUserPrincipal() returns Null

Hi All,

I am running Tomcat 4.1.12 and using Struts 1.0
framework.

I am doing form based authentication and unable to
get the logged in user name in my servlet code.

I have tried both request.getRemoteUser() and
request.getUserPrincipal() and they return 'null'.

Please help. Any suggestions or pointers are
greatly appreciated. I have searched the archives
and not found any solution so far.

Thanks,
DP

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>