[jboss-jira] [JBoss JIRA] (AS7-2852) @RunAsPrincipal does not work as expected
Ondřej Chaloupka (Created) (JIRA)
jira-events at lists.jboss.org
Wed Nov 30 09:38:41 EST 2011
@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
- 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