2 Replies Latest reply on Oct 25, 2005 2:45 PM by Albert Dabrowski

    IllegalStateException when called getCallerPrincipall on SLS

    Albert Dabrowski Newbie

      JBoss 4.0RC2
      Hi,

      I have old MDB EJB2.1 with configured RunAs as well as permisions and call method on a new SLSB EJB3.0. When tries to call getCallerPrincipall (in this SLSB) on SessionContext then I got IllegalStateException

      Previously I have used entity bean (ejb2.1) instead of SLSB with permissions unchecked=true and it returned default principal.

      Can You help?

      Thanks,
      Albert