[jboss-user] [EJB 3.0] - Re: how to get principal from Entity

2009-06-15 Thread Wolfgang Knauf
Hi Roland, I think that "EntityContext" is EJB2 and no longer supported in EJB3. You can get this information from the SessionContext in a SessionBean: @Resource() | private SessionContext sessionContext = null; | | public void someSessionBeanMethod() | { |Principal principal = thi

[jboss-user] [EJB 3.0] - Re: how to get principal from Entity

2009-06-14 Thread rwiesemann
Hi, i have a similar requirement to lookup the caller principal in an entity bean. Have you got (or found) a solution? Thanks Roland Wiesemann View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237487#4237487 Reply to the post : http://www.jboss.org/index.ht