RE: Getting userid of current authenticated user

2005-02-24 Thread Phillip Qin
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!


Getting userid of current authenticated user

2005-02-23 Thread J Malcolm
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]



Re: Getting userid of current authenticated user

2005-02-23 Thread Larry Meadors
look at the request, there is a user principle there that is the current user


On Wed, 23 Feb 2005 22:58:32 -0600, J Malcolm [EMAIL PROTECTED] wrote:
 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]
 


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