You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Juan Manuel CABRERA (JIRA)" <ji...@apache.org> on 2013/02/19 17:29:13 UTC
[jira] [Commented] (SHIRO-417) allow basic templating in permission
annotation matching parameters
[ https://issues.apache.org/jira/browse/SHIRO-417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13581414#comment-13581414 ]
Juan Manuel CABRERA commented on SHIRO-417:
-------------------------------------------
Would be a nice to have !
> allow basic templating in permission annotation matching parameters
> -------------------------------------------------------------------
>
> Key: SHIRO-417
> URL: https://issues.apache.org/jira/browse/SHIRO-417
> Project: Shiro
> Issue Type: New Feature
> Reporter: Romain Manni-Bucau
> Attachments: SHIRO-417.patch
>
>
> Here the idea:
> {code}
> @RequiresPermissions("{name}:foo")
> public void retrieve(final @PermissionParam("name") String name) {
> ...
> }
> {code}
--
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