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

Security identity not propagated into asynchronous task (elytron)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • 7.1.0.ER3
    • 7.1.0.ER1
    • Remoting
    • None
    • 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

      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.

              jkalina@redhat.com Jan Kalina (Inactive)
              jkalina@redhat.com Jan Kalina (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: