mirror of
https://github.com/spring-projects/spring-security.git
synced 2026-04-19 07:20:25 +00:00
This is a distinct filter as apposed to reusing StaticHeaderWriter since the specification specifies that the "Strict-Transport-Security" header should only be set on secure requests. It would not make sense to require DelegatingRequestMatcherHeaderWriter since this requirement is in the specification.