Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-11933

Security identity not propagated into asynchronous task (elytron)

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Duplicate Issue
    • Affects Version/s: 7.1.0.ER1
    • Fix Version/s: 7.1.0.ER3
    • Component/s: Remoting
    • Labels:
      None
    • Target Release:
    • Steps to Reproduce:
      Hide
      mvn clean install -Delytron -DallTests -Dwildfly.tmp.enable.invocation.tests=true -pl testsuite/integration/basic -Dtest=org.jboss.as.test.integration.ejb.security.asynchronous.AsynchronousSecurityTestCase#testAsynchSecurityMethod
      
      Show
      mvn clean install -Delytron -DallTests -Dwildfly.tmp.enable.invocation.tests= true -pl testsuite/integration/basic -Dtest=org.jboss.as.test.integration.ejb.security.asynchronous.AsynchronousSecurityTestCase#testAsynchSecurityMethod

      Description

      AsynchronousSecurityTestCase fails because because anonymous user is used to call asynchronous EJB method requiring given role.

      Looks like identity is lost when creating new thread in JBossThreadFactory - code in new thread run with anonymous identity.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  honza889 Jan Kalina
                  Reporter:
                  honza889 Jan Kalina
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: