[ https://issues.apache.org/jira/browse/TOMEE-743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Romain Manni-Bucau reopened TOMEE-743: -------------------------------------- > TomcatSecurityService created RunAsRole not return true when call > TomcatSecurityService.isCallerInRole > ------------------------------------------------------------------------------------------------------ > > Key: TOMEE-743 > URL: https://issues.apache.org/jira/browse/TOMEE-743 > Project: TomEE > Issue Type: Bug > Affects Versions: 1.5.1 > Reporter: chunlinyao > Assignee: Romain Manni-Bucau > Fix For: 1.5.2 > > > TomcatSecurityService override the createRunAsSubject and has not call the > super's first.So it always create a RunAsRole principal. Its isCallerInRole > only check TomcatUser and the super's isCallerInRole check Group or > GroupPrincipal. Neither check the RunAsRole, so IsCallerInRole always return > false. -- 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