[jboss-user] [EJB/JBoss] - How to get the current user in a SessionBean from the Sessio

heinrich do-not-reply at jboss.com
Tue Aug 1 09:07:33 EDT 2006


Hi,

in ejb2.1 i was able to obtain the current user from the sessionContext

context.getEnvironment().getProperty("user");

But using ejb3 and the current JBoss this will not work anymore.
How is it possible to get the current user from the context?

Thanks

 martin

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962153#3962153

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962153



More information about the jboss-user mailing list