You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Kalle Korhonen (JIRA)" <ji...@apache.org> on 2010/02/21 07:22:28 UTC
[jira] Work logged: (SHIRO-124) MethodInvocation is missing a
getThis() (or equivalent) method
[ https://issues.apache.org/jira/browse/SHIRO-124?page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#action_11009 ]
Kalle Korhonen logged work on SHIRO-124:
----------------------------------------
Author: Kalle Korhonen
Created on: 21/Feb/10 06:21 AM
Start Date: 21/Feb/10 06:21 AM
Worklog Time Spent: 2h
Issue Time Tracking
-------------------
Time Spent: 2h
Remaining Estimate: 0h
> MethodInvocation is missing a getThis() (or equivalent) method
> --------------------------------------------------------------
>
> Key: SHIRO-124
> URL: https://issues.apache.org/jira/browse/SHIRO-124
> Project: Shiro
> Issue Type: Bug
> Components: Specification API
> Reporter: Philippe Laflamme
> Assignee: Kalle Korhonen
> Fix For: 1.0.0
>
> Time Spent: 2h
> Remaining Estimate: 0h
>
> The current (r896125) revision of MethodInvocation does not expose a method for accessing the object on which the method is being invoked.
> In the AOP world, I think this is the JoinPoint.getThis() method.
> In any case, such a method is necessary to test permissions at the instance level (e.g.: "lightsaber:wield:blue", where "blue" is obtained from the instance on which the "wield()" method of the "Lightsaber" class is called.)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.