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

Attribute localPreflight is undefined for the annotation type CrossOriginResourceSharing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.1
    • Fix Version/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Referring to http://cxf.apache.org/docs/jax-rs-cors.html, http://svn.apache.org/repos/asf/cxf/trunk/rt/rs/security/cors/src/main/java/org/apache/cxf/rs/security/cors/CrossOriginResourceSharingFilter.java

      Attribute localPreflight is undefined for the annotation type CrossOriginResourceSharing. However, we can use @LocalPreflight or 'defaultOptionsMethodsHandlePreflight' to deal with Preflight requests.

        Attachments

          Activity

            People

            • Assignee:
              sergey_beryozkin Sergey Beryozkin
              Reporter:
              aster.anto Aster Anto
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: