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

Aspecjt integration for annotation base authorization

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Here's the code I'm donating to the Shiro project to use aspectj as the aop kit to perform authorization of method invocation based on the defined Shiro's annotation.

      The zip files contains the following:

      • java/src: source files to adapt an aspectj joint point to a shiro method invocation
      • java/test: unit test classes
      • conf: configuration file for the test cases

      To compile and run properly, the code requires the following:

      • junit jar
      • shiro jar
      • aspectj jars (I used AJDT within eclipse, so everything was integrated)

        Attachments

        1. shiro example bank service.zip
          2.77 MB
          Jean-Cédric Desrochers
        2. shiro-aspectj integration.zip
          696 kB
          Jean-Cédric Desrochers

          Activity

            People

            • Assignee:
              kaosko Kalle Korhonen
              Reporter:
              jcdesrochers Jean-Cédric Desrochers
            • 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 - 3h
                3h