Re: Add HTTP security Headers in the response

2018-10-03 Thread Ajay Arora
> return handler.service(request, response); > } > } > > Then just contribute it in a module: > > public static void > contributeRequestHandler(OrderedConfiguration conf) { > conf.addInstance("my-security-headers", > MySecurityHeadersRequestFi

Add HTTP security Headers in the response

2018-10-03 Thread Ajay Arora
Hello All, We're looking for ways to add different http security headers like X-Frame-Options, X-XSS-Protection and others into the http response. We're using Tapestry 5.4.3. One way I found was to add a additional filter in web.xml before the Tapestry Filter takes over but then it add the header