Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-124

MethodInvocation is missing a getThis() (or equivalent) method

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: Specification API
    • Labels:
      None

      Description

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

        Attachments

          Activity

            People

            • Assignee:
              kaosko Kalle Korhonen
              Reporter:
              plaflamme Philippe Laflamme
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h