This content has been marked as final.
Show 4 replies
-
1. Re: No PolicyContextHandler for key=javax.servlet.http.HttpServletRequest
fcorneli Nov 24, 2013 2:43 AM (in response to fcorneli)Remark: I cannot simply pass the HttpSession from the WAR servlet to the JAR EJB3 session bean since the session bean is referred via JNDI and the corresponding (legacy) bean interface cannot be changed.
-
2. Re: No PolicyContextHandler for key=javax.servlet.http.HttpServletRequest
ctomc Nov 25, 2013 7:37 AM (in response to fcorneli)Hey,
JACC & JASPIC support is not present in Beta1 yet.
can you try with nightly builds as this was added just recently.
--
tomaz
-
3. Re: No PolicyContextHandler for key=javax.servlet.http.HttpServletRequest
fcorneli Nov 25, 2013 9:52 PM (in response to ctomc)I encountered this issue using a very recent github build.
-
4. Re: Re: No PolicyContextHandler for key=javax.servlet.http.HttpServletRequest
fcorneli Nov 26, 2013 10:21 AM (in response to ctomc)Just tried it against the latest github tree. I still receive:
Caused by: java.lang.IllegalArgumentException: No PolicyContextHandler for key=javax.servlet.http.HttpServletRequest at javax.security.jacc.PolicyContext.getContext(PolicyContext.java:96) [jboss-jacc-api_1.5_spec-1.0.0.Beta1.jar:1.0.0.Beta1]