6 Replies Latest reply on Apr 9, 2008 4:08 AM by beherenow

    How to get the current user in a SessionBean from the Sessio

    heinrich

      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