Hi,

In a J2EE aplication, when   servlet or a JSP need to know the user
identity,
 Whet method should they call ?

I have not found that method in the API.
Nevertheless, in the EJB API you can use EJBContext getPrincipal to
obtain caller�s identity.

A trick would be that the servlet connect to a EJB that returns the
caller identity to the Servlet ,but I do not like this turn around
method.

Do you have any solution ?




Reply via email to