In my JSF 2.2 bases application I created a wizard which is based on @ConversationScope
. To deal with errors I added CDI Conversation Filter to my web.xml
.
My first question is about the right url-pattern for the filter-mapping. My Wizard runs behind the url /report/*
. If I use this as pattern, all other pages throw the following exception:
javax.servlet.ServletException: A request must be associated with the context in order to load the known conversations
So, i had to use "/*" as pattern, which worked fine so far. But now, I want to integrate container-managed security. When requesting the restricted resource, the mentioned error is thrown, when redirecting to login-page.
Does anybody know, how to solve that?
Thanks in advance.