5 Replies Latest reply on Feb 18, 2011 10:45 AM by wadhah jebri

    Retrieving the logged in user from session context

    Yann Lambret Newbie

      Hi all,


      I'm struggling to figure out how to get the logged in user from the session context. I'm using seam identity management which relies on the UserAccount entity (created by seam-gen). Does the authentication mechanism store such an entity in the session context for the current user, or do I have to do something by myself like extending the Identity component to achieve this ?


      Sorry if this is a newbie question but I'm quite new to Seam and web programming in general, so if someone could be kind enough to give me a clue...


      Thanks,


      Yann