Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-9995

Replace Custom Header Filters with Spring Security Filters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.17.0
    • Core Framework
    • None

    Description

      The NiFi Jetty Server uses the following custom Servlet Filters to apply standard security-related  HTTP response headers:

      • ContentSecurityPolicyFilter
      • StrictTransportSecurityFilter
      • XContentTypeOptionsFilter
      • XFrameOptionsFilter
      • XSSProtectionFilter

      Spring Security includes a standard HeaderWriterFilter with standard writers for all of these response headers. Replacing multiple Servlet Filters with a single Filter simplifies the filter chain invocation for all HTTP requests and provides the same response headers.

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              exceptionfactory David Handermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m