1 Reply Latest reply on Feb 20, 2003 5:14 AM by Lewis Henderson

    isCallerInRole('run-as') == false ?

    Lewis Henderson Novice

      Anybody...

      I call EJB's from a servlet with a <run-as> tag. Inside my SessionBean I call isCallerInRole('run-as' role) and get false. Is this correct? Is the 'run-as' role not added to the caller's roles for the duration of the call?

      Clarification of what is supposed to happen would be useful.

      Regards

      Lewis