Could someone help me with this exception?

I can use the isUserInRole() in the session context with no problems but when i 
want to use the isCallerInRole() method on the session context i get an 
exception.
  
i get this message when i use the isCallerInRole() method in a Session bean:
javax.ejb.EJBException: null; CausedByException is:
  | isCallerInRole() called with no security context. Check that a 
security-domain has been set for the application.

I use:
jboss-4.0.3
EJB3.0

I set the session context by using the @Resource annotation:
@Resource
  | private SessionContext ctx;

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908357


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to