a few questions: - if i @Inject the java.security.Principal in the @ApplicationScoped i get an instance of org.apache.webbeans.custom.security.principal$$owbnormalscopeproxy0 which cannot be cast to UserPrincipal (a custom Jaas Principal), whereas httpServletRequest.getUserPrincipal can be cast to UserPrincipal - if i try @Produces UserPrincipal (a custom Jaas principal) it fails because it says there is already a producer for java.security.Principal - is there a way to call an isUserInRole function from an @ApplicationScoped that doesn't rely on httpServletRequest? i am going to try @RolesAllowed today
-- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Asynchronous-httpServletRequest-tp4681723p4681726.html Sent from the TomEE Users mailing list archive at Nabble.com.
