Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-3714

Add support for permitting cross origin requests (CORS)

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 4.2 M1
    • Component/s: HTTP Support
    • Labels:

      Description

      The Spring MVC 4.2 has introduced @CrossOrigin mapping for the @Controller methods.

      Similar to the org.springframework.integration.http.inbound.RequestMapping the org.springframework.integration.http.inbound.CrossOrigin can be introduced as a domain object to be injected to the HttpRequestHandlingEndpointSupport and processed by the IntegrationRequestMappingHandlerMapping overriding the new initCorsConfiguration() method.

      From the XML perspective it can be represented as a nested <cross-origin> tag alongside with <request-mapping>

        Attachments

          Activity

            People

            Assignee:
            abilan Artem Bilan
            Reporter:
            abilan Artem Bilan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: