[jboss-jira] [JBoss JIRA] (AS7-2852) @RunAsPrincipal does not work as expected

Stuart Douglas (Resolved) (JIRA) jira-events at lists.jboss.org
Mon Dec 19 18:07:09 EST 2011


     [ https://issues.jboss.org/browse/AS7-2852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart Douglas resolved AS7-2852.
---------------------------------

    Fix Version/s: 7.1.0.CR1
       Resolution: Done

    
> @RunAsPrincipal does not work as expected
> -----------------------------------------
>
>                 Key: AS7-2852
>                 URL: https://issues.jboss.org/browse/AS7-2852
>             Project: Application Server 7
>          Issue Type: Bug
>            Reporter: Ondřej Chaloupka
>            Assignee: Stuart Douglas
>             Fix For: 7.1.0.CR1
>
>
> - SLSB annotated with @RunAs and @RunAsPrincipal -  method getCallerPrincipal returns "anonymous" identity instead of defined in annotation.
> - For not autenticated user there should be thrown EJBAccessException but identity anonymous is returned.
> The test for the funcionality was passed from EJB3 testsuite and it could be found on:
> https://github.com/ochaloup/jboss-as/commit/b1eaf4d435dfd32ced0c8ad070faec2c6978b2cf#diff-0

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jboss-jira mailing list