This content has been marked as final.
Show 2 replies
-
1. Re: Servlet init() calling secured EJBs
ahardy66 Jul 28, 2005 6:55 AM (in response to sgodden)"sgodden" wrote:
Unfortunately, if I secure my EJBs, then the servlet cannot access them, as it runs under a null user principal. Run-as role doesn't help that.
Are you sure? From reading the servlet spec just now, run-as seems to be exactly what you need. Do you have the role specified properly in the web.xml? Are you sure your principal is null in the EJB? And are you sure you have specified that that role can use that EJB? -
2. Re: Servlet init() calling secured EJBs
starksm64 Jul 30, 2005 11:16 AM (in response to sgodden)There is an open bug report that will be fixed for 4.0.3:
http://jira.jboss.com/jira/browse/JBAS-2015