Hi,

I also have what seems to be a very simple question
but have been pouring over the J2EE API for a few days
and can't find a solution.

Once Inside a bean I can use the SessionContext and
EntityContext objects  as a link to the container and
the (some) user information.  What I want to get is
the unique identification that the application server
has assigned to that user, especially in the case of
stateful session beans.  the "getCallerPrinciple()"
method isn't helpful because then each client must
have a seperate login and that's just not possible.
Bottomline, I want the equivalent of the session id
you can get from the an HttpServletRequest, or
something equivalent.

Any idea?
Thanks in advance,
Mike

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to