1 Reply Latest reply on Nov 4, 2003 10:51 AM by Hubert Felber

    exception on IsCallerInRole()

    Hubert Felber Newbie


      When I call isCallerInRole() I always get an exception.
      I can successfully login using the ldapLoginModule but cannot call isCallerInRole().

      I think I checked all the configuration files but cannot find anything (I am JBOSS novice).

      Could anybody please give me a hint how I can fix this problem? What files to I have to touch, what to change?

      Thank you
      Hubert

      Below is the exception that I get:

      > 17:12:30,405 ERROR [STDERR] java.lang.IllegalStateException:
      > isCallerInRole() called with no security context. Check that a
      > security-domain has been set for the application.
      > 17:12:30,421 ERROR [STDERR] at
      >
      org.jboss.ejb.EnterpriseContext$EJBContextImpl.isCallerInRole(EnterpriseContext.
      java:384)