[ https://issues.apache.org/jira/browse/TOMEE-744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13558243#comment-13558243 ]
Romain Manni-Bucau commented on TOMEE-744: ------------------------------------------ Hi are you able to share a sample (a mvn one would be perfect) reproducing it? > @Asynchronous ejb call should propagate security principal > ---------------------------------------------------------- > > Key: TOMEE-744 > URL: https://issues.apache.org/jira/browse/TOMEE-744 > Project: TomEE > Issue Type: Bug > Affects Versions: 1.5.1 > Reporter: chunlinyao > > When call sessionContext.getCallerPrincipal in a @Asynchronous method, It > return a guest principal. > Section 4.5.4 of JSR 318 ejb 3.1 spec final release says it should propagate > caller security principal. > > 4.5.4 Security > > Caller security principal propagates with an asynchronous method > > invocation. Caller security principal > > propagation behaves exactly the same for asynchronous method invocations as > > it does for synchronous > > session bean invocations. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira