anonymous wrote : If I put the above code directly in the webservice bean 
(ReferenceWebBean or EJB3.0 #1) it works, and returns the roles list. 
I think this explains it. Can Ejb #1 ReferenceWebBean , have a reference to 
ReferenceBean and have it annotated @Ejb ? This would make the container inject 
the ReferenceBean into ReferenceWebBean . Then try to see if you get the Roles 
inside ReferenceBean . What i suspect is that , when the PoJo calls 
ReferenceBean , the Subject is lost , in other words not propagated through. 
Can you have a ReferenceBean  reference inside 
ReferenceWebBean with @Ejb annotation ?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172435#4172435

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172435
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to