shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jared Bunting (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SHIRO-314) Authorization ANTLR Grammar
Date Tue, 17 Jan 2012 22:41:39 GMT

    [ https://issues.apache.org/jira/browse/SHIRO-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13188085#comment-13188085
] 

Jared Bunting commented on SHIRO-314:
-------------------------------------

The solution that I'm looking at right now involves using an AnnotationProcessor to save off
the parameter names at compile time.  This also allows us to do compile-time checking of the
expression.  

I'm still evaluating if this is too much hocus-pocus, but right now I'm feeling good about
it.
                
> Authorization ANTLR Grammar
> ---------------------------
>
>                 Key: SHIRO-314
>                 URL: https://issues.apache.org/jira/browse/SHIRO-314
>             Project: Shiro
>          Issue Type: New Feature
>          Components: Authorization (access control) 
>            Reporter: Maria Jurcovicova
>            Assignee: Les Hazlewood
>         Attachments: GrammarDemoProofOfConcept.rar, securedAnnotationAuthorizingExpressionLanguage.patch
>
>
> Create a single annotation that would translate the expression into the relevant hasRole/isPermitted
calls. 
> Details are on wiki https://cwiki.apache.org/confluence/display/SHIRO/Version+2+Brainstorming#Version2Brainstorming-AuthorizationANTLRGrammar
. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message