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

Add support for permitting cross origin requests (CORS)

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Complete
    • None
    • 4.2 M1
    • HTTP Support

    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

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

            Dates

              Created:
              Updated:
              Resolved: