Uploaded image for project: 'Spring Data REST'
  1. Spring Data REST
  2. DATAREST-573

Add support for Spring Web MVC CORS configuration mechanisms

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6 RC1 (Ingalls)
    • Component/s: Repositories
    • Labels:
      None

      Description

      There's no mechanism for using the new CorsConfiguration CORS support within spring-data-rest.
      See comments in the CORS post: https://spring.io/blog/2015/06/08/cors-support-in-spring-framework

      AFAICT, one needs to put the @CrossOrigin directive in the controller, which doesn't exist in spring-data-rest repositories.

        Attachments

          Activity

            People

            • Assignee:
              mp911de Mark Paluch
              Reporter:
              bedge42 Bruce Edge
              Last updater:
              Oliver Gierke
            • Votes:
              39 Vote for this issue
              Watchers:
              32 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: