4 Replies Latest reply on Feb 19, 2009 3:18 PM by mankal

    Session context and remoting

    mankal

      In my application there is a method in a conversation scoped bean that calls identity.logIn. That method is called via remoting.


      In my authentication method I want to outject the logged in user as 'authenticatedUser' into the session context by calling Contexts.getSessionContext().set(authenticatedUser, user);. That doesnt work. There's no exception, but after logging in, there's no 'authenticatedUser' in the session context. It works, when I log in normally through JSF.


      Any ideas on how to do that properly?