You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Les Hazlewood (JIRA)" <ji...@apache.org> on 2010/07/17 10:27:49 UTC
[jira] Created: (SHIRO-185) Shiro Annotations in Spring apps:
annotations on method implementations not handled when using Spring's
DefaultAutoProxyCreator
Shiro Annotations in Spring apps: annotations on method implementations not handled when using Spring's DefaultAutoProxyCreator
--------------------------------------------------------------------------------------------------------------------------------
Key: SHIRO-185
URL: https://issues.apache.org/jira/browse/SHIRO-185
Project: Shiro
Issue Type: Bug
Components: Integration: Spring
Affects Versions: 1.0.0
Reporter: Les Hazlewood
Assignee: Les Hazlewood
Priority: Critical
Fix For: 1.1.0
When using Spring's DefaultAutoProxyCreator mechanism to enable Shiro security checks via annotations (@RequiresAuthentication, @RequiresPermissions, etc), Shiro annotations on Interface methods are the only ones that are processed successfully. If a method implementatin is annotated directly, the authorization interceptor is never triggered during a method call.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SHIRO-185) Shiro Annotations in Spring apps:
annotations on method implementations not handled when using Spring's
DefaultAutoProxyCreator
Posted by "Les Hazlewood (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHIRO-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Les Hazlewood resolved SHIRO-185.
---------------------------------
Resolution: Fixed
Fix committed to trunk with tests for two different types of Spring AOP configuration.
> Shiro Annotations in Spring apps: annotations on method implementations not handled when using Spring's DefaultAutoProxyCreator
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: SHIRO-185
> URL: https://issues.apache.org/jira/browse/SHIRO-185
> Project: Shiro
> Issue Type: Bug
> Components: Integration: Spring
> Affects Versions: 1.0.0
> Reporter: Les Hazlewood
> Assignee: Les Hazlewood
> Priority: Critical
> Fix For: 1.1.0
>
>
> When using Spring's DefaultAutoProxyCreator mechanism to enable Shiro security checks via annotations (@RequiresAuthentication, @RequiresPermissions, etc), Shiro annotations on Interface methods are the only ones that are processed successfully. If a method implementatin is annotated directly, the authorization interceptor is never triggered during a method call.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.