Return-Path: X-Original-To: apmail-shiro-dev-archive@www.apache.org Delivered-To: apmail-shiro-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 338E696C7 for ; Fri, 8 Mar 2013 09:36:17 +0000 (UTC) Received: (qmail 7454 invoked by uid 500); 8 Mar 2013 09:36:16 -0000 Delivered-To: apmail-shiro-dev-archive@shiro.apache.org Received: (qmail 7320 invoked by uid 500); 8 Mar 2013 09:36:16 -0000 Mailing-List: contact dev-help@shiro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@shiro.apache.org Delivered-To: mailing list dev@shiro.apache.org Received: (qmail 7154 invoked by uid 99); 8 Mar 2013 09:36:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Mar 2013 09:36:13 +0000 Date: Fri, 8 Mar 2013 09:36:13 +0000 (UTC) From: "Juan Manuel CABRERA (JIRA)" To: dev@shiro.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SHIRO-417) allow basic templating in permission annotation matching parameters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SHIRO-417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13596972#comment-13596972 ] Juan Manuel CABRERA commented on SHIRO-417: ------------------------------------------- Sounds perfect to me > 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-2.patch, 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