You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2013/02/25 16:00:19 UTC

[jira] [Updated] (TOMEE-744) @Asynchronous ejb call should propagate security principal

     [ https://issues.apache.org/jira/browse/TOMEE-744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Manni-Bucau updated TOMEE-744:
-------------------------------------

    Fix Version/s:     (was: 1.5.2)
                   1.6.0
    
> @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
>            Assignee: Romain Manni-Bucau
>             Fix For: 1.6.0
>
>         Attachments: async-methods.zip, async-methods.zip
>
>
> 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