mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-11-23 01:41:11 +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.