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

Aspecjt integration for annotation base authorization

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • None
    • 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

            kaosko Kalle Korhonen
            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