This content has been marked as final.
Show 3 replies
-
1. Re: Principal=null on inter-server calls
starksm64 Sep 16, 2004 6:34 PM (in response to arnold)The error indicates that the ejb calling getCallerPrincipal has not been assigned a security domain. You need to set this via the jboss.xml descriptor for the ejb as described in the JAAS Howto post in this forum.
-
2. Re: Principal=null on inter-server calls
arnold Sep 17, 2004 5:02 AM (in response to arnold)Hello Scott,
My beans are both assigned to the same security domain, S. This can be seen in jboss.xml<jboss> <security-domain>java:/jaas/S</security-domain>
Surely if bean A CAN access B and both beans are assigned to the same domain, then getCallerPrincipal() should return the correct Principal? -
3. Re: Principal=null on inter-server calls
arnold Sep 17, 2004 10:33 AM (in response to arnold)Hi Scott,
Please forgive my ignorance, I believe I need to dig more into security propagation of EJBs. If I get any more problem, I will ask again!
Thanks.