I need a bean for inject @Ressource SessionContext ctx
with JAAS.
With the SessionContext can I check the user rights about ctx.isCallerInRole("ROLE");
But what is the right Bean declaration? @Statful? @Stateless? and @SessionScope? I need a instance for every User.