[
https://issues.apache.org/jira/browse/TOBAGO-2008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henning Nöth resolved TOBAGO-2008.
----------------------------------
Resolution: Fixed
> AuthorizationHelper not working with composite component expressions
> --------------------------------------------------------------------
>
> Key: TOBAGO-2008
> URL: https://issues.apache.org/jira/browse/TOBAGO-2008
> Project: MyFaces Tobago
> Issue Type: Bug
> Components: Core
> Affects Versions: 4.4.1
> Reporter: Carsten Dimmek
> Assignee: Henning Nöth
> Priority: Major
> Fix For: 4.5.4, 5.0.0
>
>
> When i create a composite component and have a secured method referenced with
> cc.attrs
> the AuthorizationHelper fails to resolve the corresponding bean
> {code:java}
> <cc:interface>
> <cc:attribute name="value" type="MyController"/>
> </cc:interface>
> <cc:implementation>
> <tc:button action="#{cc.attrs.value.approve}"/>
> </cc:implementation>
> class MyController {
> @RolesAllowed("admin")
> public void approve() {
> }
> }{code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)