This content has been marked as final.
Show 2 replies
-
1. Re: User Principal in EntityListener
fhh Apr 12, 2007 6:42 PM (in response to moshe1)If you have access to FacesContext you can get the ExternalContext and the request.
Regards
Felix -
2. Re: User Principal in EntityListener
moshe1 Apr 13, 2007 2:14 AM (in response to moshe1)I do not always have access to FacesContext, the call might come from a webservice.
Is there anything inherently wrong with creating a Stateless Session Bean that just returns the prinicipal and calling that from the EntityListener?