0 Replies Latest reply on Mar 5, 2003 2:05 AM by Stephane

    run-as doesn't work !

    Stephane Newbie


      I'm using JBoss 3.0.4.
      But, the "run-as" tag (in ejb-jar.xml) doesn't work.


      This session bean access a lot of BMP.
      I use a simple user login name and password like "guest" linked to the "User" role.

      In the BMP, the call of Context.isCallerInRole("Admin") returns false !!!
      And the call of Context.isCallerInRole("User") returns true.

      Normaly, I thing the two calls must return true !!

      Thanks for your help.