Access session scoped JSF managed bean in web filter

后端 未结 2 1923
太阳男子
太阳男子 2021-01-01 17:17

I have SessionScoped bean called userSession to keep track of the user ( username, ifLogged, etc). I want to filter some pages and therefore I need to access the bean from

2条回答
  •  清酒与你
    2021-01-01 17:57

    As an alternative you can use CDI-beans and inject your sessionbean normally.

提交回复
热议问题