SEC-2348: Security HTTP Response Headers enabled by default w/ XML
This commit is contained in:
@@ -44,7 +44,7 @@ public class HeaderWriterFilter extends OncePerRequestFilter {
|
||||
* @param headerWriters the {@link HeaderWriter} instances to write out headers to the {@link HttpServletResponse}.
|
||||
*/
|
||||
public HeaderWriterFilter(List<HeaderWriter> headerWriters) {
|
||||
Assert.notEmpty(headerWriters, "headerWriters cannot be null");
|
||||
Assert.notEmpty(headerWriters, "headerWriters cannot be null or empty");
|
||||
this.headerWriters = headerWriters;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user