How do I implement that a JSR-181 POJO can login into JAAS? a) The EJB-Container uses JAAS, and the JUnit clients can login. b) The Web-Container also uses JAAS with FORM-based authentication for the JSP pages. No problem to invoke JSP pages, no problem to invoke EJB functionality.
Now, I'm implementing a Web service via JSR-181 POJOs. There is no problem as long as the POJO invokes a session bean's methods without security restrictions. However, when I want to login for restricted methods (just like a JUnit test as in a) I get this message: "Insufficient permissions, principal=null, requiredRoles=[mitarbeiter], principalRoles=[]" Any hint is appreciated! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949533#3949533 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949533 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user