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.
JACC & JASPIC support is not present in Beta1 yet.
can you try with nightly builds as this was added just recently.
I encountered this issue using a very recent github build.
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]