@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/b1eaf4d435dfd32ced0c8ad070fae...
--
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