Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-649

The PermitAll annotation on method does not override RolesAllowed on class level

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.3.4.Final
    • 2.2.0.GA
    • jaxrs
    • None

      I have a class with RolesAllowed annotation, but I would like one method to be accessible by any logged in user. The problem is that PermitAll annotation does not override the RolesAllowed one. I checked the implementation of SecurityInterceptor.accept() method and I don't see that you even check for PermitAll on method.

            patriot1burke@gmail.com Bill Burke (Inactive)
            mariusz.cygan Mariusz Cygan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: