[ http://jira.jboss.com/jira/browse/JBAS-1389?page=history ] Scott M Stark resolved JBAS-1389: ---------------------------------
Resolution: Cannot Reproduce Bug This appears to be the same as JBAS-1113 which was fixed in 4.0.1: http://jira.jboss.com/jira/browse/JBAS-1113 Runn the testcase shows that the expected run-as identity is seen at the session and entity bean levels: 14:30:28,437 INFO [Server] JBoss (MX MicroKernel) [4.0.1 (build: CVSTag=JBoss_4_0_1 date=200412230944)] Started in 28s:125ms 14:31:09,828 INFO [STDOUT] TestSessionEJB.test, principal = [roles=[TestRole],principal=TestPrincipal] 14:31:09,843 INFO [STDOUT] TestEntity.test, principal = [roles=[TestRole],principal=TestPrincipal] Make sure you are on the 4.0.1 final as evidenced by a version line that matches that shown above. > run-as-principal only propogates one level > ------------------------------------------ > > Key: JBAS-1389 > URL: http://jira.jboss.com/jira/browse/JBAS-1389 > Project: JBoss Application Server > Type: Bug > Components: JMS service, Security, EJBs > Versions: JBossAS-4.0.1 Final > Environment: Windows XP, JBoss 4.0.1 > Reporter: Randy Ott > Assignee: Scott M Stark > Attachments: JBossTest.zip > > > The JBoss run-as-principal identity only works if calling a single EJB. > Example: > MDB with run-as-principal set calls SB which calls EB > The SB will contain the correct principal name as specified in the jboss.xml > file, but when the EB is called, the principal becomes null (or anonymous if > using the UsersRolesPassword login module). > This is currenlty holding up a port from WLS to JBoss. I have an example to > attach. > Randy Ott > Capstone Consulting > [EMAIL PROTECTED] > 402.597.3664 x225 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development