1
0
mirror of synced 2026-08-02 08:17:03 +00:00
Files
spring-security/config
Josh Cummings b437ce03b0 HttpHeadersConfigTests groovy->java
Also, slightly modified the approach when asserting headers. In the
previous incarnation, the tests would assert an exact match against
the list of headers, which is more brittle than confirming that the
expected headers are there and the unexpected ones are not.

Now, should Spring Security add other headers that are outside the
purview of the secure headers configuration, the assertions won't
break.

Issue: gh-4939
2018-06-20 07:53:22 -06:00
..
2018-06-20 07:53:22 -06:00