You shall be able to get user id from user principal.


-----Original Message-----
From: J Malcolm [mailto:[EMAIL PROTECTED] 
Sent: February 23, 2005 11:59 PM
To: tomcat-user@jakarta.apache.org
Subject: Getting userid of current authenticated user


Is it possible to obtain the userid within a servlet of the person that has
logged in via a realm authentication?  I want to use the standard
authentication to manage access.  But once a person is into a certain page,
I'd like to know which user it is so I can display, for instance, that
user's account info.

Thanks in advance.

Jerry


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


!DSPAM:421d5ef7312021380957354!

Reply via email to