Forgot to mention that logging in actually works through remoting. The only thing that doesn't work is outjecting to session context...
Another thing I noticed now:
When I login via remoting, the map in the BasicContext.set method is of type ServletRequestSessionMap. When logging in via JSF, it's of type SessionMap.
Please help me with that. I really don't know how to debug that.
Or tell me what else information could be useful...
Try using HttpSession directly: ServletContexts.instance().getRequest().getSession().setAttribute(
That doesn't seem to change anything.