You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2013/04/06 12:19:22 UTC
[jira] [Updated] (TOMEE-743) TomcatSecurityService created
RunAsRole not return true when call TomcatSecurityService.isCallerInRole
[ https://issues.apache.org/jira/browse/TOMEE-743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Blevins updated TOMEE-743:
--------------------------------
Fix Version/s: (was: 1.6.0.beta1)
1.5.2
> 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