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

Kalle Korhonen resolved SHIRO-124.
----------------------------------

    Resolution: Fixed

Added getThis(). Both AspectJ and and aopalliance are using getThis() naming so 
I didn't see any need to use any different name for it


> 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
>
>
> 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.

Reply via email to