This content has been marked as final.
Show 3 replies
-
1. Re: How to get Principal in Domain Object
michael_c_small Sep 2, 2005 12:33 PM (in response to mglicks)I'm looking for the exact same functionality. Have you found an answer yet?
-
2. Re: How to get Principal in Domain Object
mglicks Sep 2, 2005 12:46 PM (in response to mglicks)No I have not. I've read in some forums that there are work arounds, but they sound more like hacks. Temporarily I passing the Session Context to my DAO objects, and having the DAO set the principal.getName() from the Session Context on the actual DO object. For now the EntityListener is only setting the create/update date time.
-
3. Re: How to get Principal in Domain Object
michael_c_small Sep 2, 2005 12:49 PM (in response to mglicks)I just launched a new topic with the possible solution of using a Stateless Sean bean as the listener ... not sure if that can be done.