juan rojas wrote > Did you see Pax Shiro > https://ops4j1.jira.com/wiki/display/PAXSHIRO/OPS4J+Pax+Shiro
Hi Juan The project I'm working on already makes use of Pax Shiro to allow me to inject custom realms and authentication listeners using CDI, but this doesn't seem to help with CDI session scoped beans. From what I can gather Pax Shiro provides CDI dependency injection but the issue I've got seems to be with the management of HTTP sessions. The example that I created to demonstrate the problem doesn't use Pax Shiro as I wanted to exclude as many things as possible from causing this problem. Nevertheless I've just tried adding Pax Shiro into the example code and the UnknownSessionException is still thrown when accessing a JSF page that references a CDI session scoped bean. Kind Regards Paul -- View this message in context: http://shiro-user.582556.n2.nabble.com/UnknownSessionException-when-using-SessionScoped-CDI-managed-beans-with-Shiro-managed-sessions-tp7580281p7580284.html Sent from the Shiro User mailing list archive at Nabble.com.
