Hello to everyone,
I'm developing an enterprise application within
JBoss 5.
I have multiple EJB3 modules in a single ear, each one under the same security domain.
Authentication works properly and the ClientLoginModule is required in the application policy.
My question is the following: if the client (or the web tier) calls
EJB 1 that in turns call EJB 2 (both secured) is the security Principal propagated correctly?
It is giving me a principal: null exception when the second EJB is called in the stack ..
Where I'm wrong

?
Thanks in advance.
D.