shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maria Jurcovicova (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SHIRO-316) Annotations in samples-aspectj Project Does not Work
Date Mon, 25 Jul 2011 10:27:10 GMT

     [ https://issues.apache.org/jira/browse/SHIRO-316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Maria Jurcovicova updated SHIRO-316:
------------------------------------

    Attachment: samplesAspectJAnnotations.patch

Patch changes two projects:

Project samples-aspectj
* Added testCloseAccount_unauthorizedAttempt to test whether annotations works.
* Minor fix in shiroBankServiceTest.ini (missing comma).
* Added goal compile to aspectj-maven-plugin. 

Project shiro-aspectj
* Specified version 1.6.7 for aspectjrt and aspectjweaver dependencies.

> Annotations in samples-aspectj Project Does not Work
> ----------------------------------------------------
>
>                 Key: SHIRO-316
>                 URL: https://issues.apache.org/jira/browse/SHIRO-316
>             Project: Shiro
>          Issue Type: Bug
>          Components: Sample Apps
>    Affects Versions: 1.2.0
>            Reporter: Maria Jurcovicova
>         Attachments: samplesAspectJAnnotations.patch
>
>
> @RequiresPermissions annotations in samples-aspectj project are ignored. It has two reasons:
> 1.) shiro-aspectj: aspectj-maven-plugin in complains about aspectjrt version. Maven downloaded
1.6.9 while plugin requires 1.6.7.
> 2.) samples-aspectj: aspectj-maven-plugin has only test-compile goal. Compile goal is
missing.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message