Good morning, i am new to Hippo.
we got requirement for adding hst:response headers in HIPPO CMS, I tried adding in my local.
I went to console and navigated to hst:hst/localhost/hst:root and added resposeheaders for security resons XSS, sniffing, MITM.
the thing is if i hit localhost:8080/cms/ i don’t see those added headers in chrome developer tools.
In cms/src/main/webapp/WEB-INF/web.xml you can add a filter (some class that implements javax.servlet.Filter). You may look at the existing filters for inspiration
I think it is the order of your filters, your code is fine. You should probably just place your filters first, but at least before the CMS/Wicket filter.