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

AuthorizationAttributeSourceAdvisor ignores type-annotations

    XMLWordPrintableJSON

Details

    • Patch

    Description

      The spring integration only checks the method annotations. When the security annotations are on the type, no authentication will be required.

      @RequiresAuthentication //ignored
      interface Business {
        //not secured
        void criticalSomething();
      }
      

      Links

      Attachments

        Activity

          People

            lhazlewood Les Hazlewood
            kocka Laszlo Hornyak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: