Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-273

AbstractAnnotationMethodEndpointMapping doesn't support proxied bean dependencies

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5 M1
    • Fix Version/s: 1.5.3
    • Component/s: Core
    • Labels:
      None

      Description

      I use PayloadRootAnnotationMethodEndpointMapping with a security interceptor which depends on auto proxied beans.

      Since the post processor instance is created, the interceptor dependencies are resolved and so they will not be available for post processing.

      The AbstractEndpointMapping is application context aware so it can delay resolving until needed. The simplest solution I see is to be able to set the interceptor names.

        Activity

        dl_dan Dan Luputan created issue -
        arjen.poutsma Arjen Poutsma made changes -
        Field Original Value New Value
        Fix Version/s 1.5.3 [ 10982 ]
        arjen.poutsma Arjen Poutsma made changes -
        Summary Make AbstractEndpointMapping accept interceptor names AbstractAnnotationMethodEndpointMapping doesn't support proxied bean dependencies
        arjen.poutsma Arjen Poutsma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        arjen.poutsma Arjen Poutsma made changes -
        Component/s Security [ 10211 ]
        Component/s XML [ 10200 ]
        Component/s Core [ 10150 ]
        arjen.poutsma Arjen Poutsma made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            dl_dan Dan Luputan
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: