Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1945

RunAsIdentity is not propagated correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • depchain-1.0.0-alpha-2
    • Plugin 1.0.17
    • core
    • None

      I have one message driven bean A and two stateless beans B and C.
      A annotated with @RunAs, @RunAsPrincipal and @SecurityDomain.
      B and C annotated with @SecurityDomain.

      A receives message and calls B which calls C.
      RunAsIdentity is propagated to B only but not to C.

      Why? Is it expected behavior?
      I expect propagation of RunAsIdentity to all beans in execution chain after bean with @RunAs* annotations.

              rhn-engineering-cdewolf Carlo de Wolf
              akolmakov Anton Kolmakov (Inactive)
              Votes:
              7 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: