1 Reply Latest reply on Apr 7, 2005 3:52 PM by Bill Burke

    @runAs Problem

    Manuel Beyeler Newbie

      I have an MDB where I defined a runAs-Identity.

      But when I access an statless SessionBean I always get this error message:

      17:03:33,834 ERROR [AuthenticationInterceptor] Authentication exception, principal=[roles=[NewsUpdater],principal=anonymous]

      So it seems as the runAs is interpreted correctly, because there is the correct role mentioned in the principal.

      But NewsUpdater is in the @MethodPermisson Annotation of the method in the SessionBean.

      What is wrong?

      Thanks for your help
      schoetz