Hi,

I am trying to understand the security framework used by JBoss

 

I have a simple stateless session EJB and I have written a SecurityProxy which intercepts the method calls on my EJB.

 

Now in my EJB’s method when I make a call context.getCallerPrincipal()  in any of my beans methods– I always get

 

Java.lang.IllegalStateException: No Security context set

 

but I am successfully able to call the context.isCallerInRole(<String>) method..

 

Can someone throw any light on this…I am stuck here

 

Thanks and Regards

Munesh

Reply via email to