[jboss-jira] [JBoss JIRA] (WFLY-12537) Incoming RunAsPrincipal is not being propagated to an unsecured EJB

Diana Vilkolakova (Jira) issues at jboss.org
Wed Sep 11 06:52:00 EDT 2019


Diana Vilkolakova created WFLY-12537:
----------------------------------------

             Summary: Incoming RunAsPrincipal is not being propagated to an unsecured EJB
                 Key: WFLY-12537
                 URL: https://issues.jboss.org/browse/WFLY-12537
             Project: WildFly
          Issue Type: Bug
          Components: Security
            Reporter: Diana Vilkolakova
            Assignee: Diana Vilkolakova


This is a follow-up on WFLY-11604. When Elytron is activated, run-as-principal identity is not being propagated the same way it was for legacy. For JBEAP-9744, we updated EJBContext.getCallerPrincipal() so that when called from an unsecured bean with no incoming runas identity, an `anonymous` principal will be returned. The issue WFLY-11604 discovered that EJBContext.getCallerPrincipal is returning 'anonymous' when called on an unsecured EJB even when incoming RunAsPrincipal identity should have been propagated. This issue is to see whether this can be fixed without breaking the fix for JBEAP-9744.



--
This message was sent by Atlassian Jira
(v7.13.5#713005)


More information about the jboss-jira mailing list