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

Shiro Annotations in Spring apps: annotations on method implementations not handled when using Spring's DefaultAutoProxyCreator

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.1.0
    • Component/s: Integration: Spring
    • Labels:
      None

      Description

      When using Spring's DefaultAutoProxyCreator mechanism to enable Shiro security checks via annotations (@RequiresAuthentication, @RequiresPermissions, etc), Shiro annotations on Interface methods are the only ones that are processed successfully. If a method implementatin is annotated directly, the authorization interceptor is never triggered during a method call.

        Attachments

          Activity

            People

            • Assignee:
              lhazlewood Les Hazlewood
              Reporter:
              lhazlewood Les Hazlewood
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: