You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2022/05/06 13:14:00 UTC

[jira] [Created] (NIFI-9995) Replace Custom Header Filters with Spring Security Filters

David Handermann created NIFI-9995:
--------------------------------------

             Summary: Replace Custom Header Filters with Spring Security Filters
                 Key: NIFI-9995
                 URL: https://issues.apache.org/jira/browse/NIFI-9995
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Core Framework
            Reporter: David Handermann
            Assignee: David Handermann


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.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)