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
             Fix For: 1.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