[jboss-user] [Security & JAAS/JBoss] - Re: Principal from Servlet to EJB not propagating?
do-not-reply at jboss.com
Fri Oct 27 14:09:11 EDT 2006
I think you have it mostly right...
However, the JSP that servlet dispatches to has calls to EJB's even before the form, on JSP, is submitted. So EJB's are being called while JSP is being loaded and before the form on JSP is submitted. I put the same statement, request.getRemoteUser(), right before and after the call to EJB. I still get null. Yet EJB methods are responding to their role setting!
Does it make sense to you that Roles are being propagated to EJB layer while they are not in Web layer?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981377#3981377
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981377
More information about the jboss-user