username in session bean

Discussion in 'Java' started by JannaB, Aug 19, 2009.

  1. JannaB

    JannaB Guest

    How do I determine the logged in user on a session bean (ejb 3.0) ? -
    Janna
    JannaB, Aug 19, 2009
    #1
    1. Advertising

  2. JannaB

    Arne Vajhøj Guest

    JannaB wrote:
    > How do I determine the logged in user on a session bean (ejb 3.0) ? -


    Try:
    context.getCallerPrincipal()

    Arne
    Arne Vajhøj, Aug 19, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Benjamin Stewart

    To bean or not to bean...

    Benjamin Stewart, Jun 30, 2003, in forum: Java
    Replies:
    0
    Views:
    787
    Benjamin Stewart
    Jun 30, 2003
  2. David Thielen
    Replies:
    2
    Views:
    770
    Marek Lange
    Sep 12, 2003
  3. X3
    Replies:
    0
    Views:
    408
  4. Francesco
    Replies:
    3
    Views:
    454
  5. Replies:
    1
    Views:
    701
Loading...

Share This Page