Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5910

Filters registered by DynamicFeatures match on overloaded resource methods.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 2.7.13, 3.0.2, 3.1
    • Component/s: JAX-RS
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      I'm using a DynamicFeature class to register filters against annotated methods. In a resource class with an overloaded method the filter is being executed twice. I suspect the registration in the DynamicFeature implementation is only using the method name to match on methods.

        Attachments

        1. TestDynamicFeature.java
          0.7 kB
          Matt Garner
        2. TestResource.java
          0.3 kB
          Matt Garner

          Activity

            People

            • Assignee:
              sergey_beryozkin Sergey Beryozkin
              Reporter:
              boothen Matt Garner
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: