From 0899720f168c09d037e577109d7cab665fe1fb91 Mon Sep 17 00:00:00 2001 From: vasraz Date: Tue, 4 Oct 2022 18:16:26 +0100 Subject: Fix bug 'X-Frame-Options not configured: Lack of clickjacking protection' Add new Filter (ContentSecurityPolicyHeaderFilter) Signed-off-by: Vasyl Razinkov Change-Id: Ic8151df64e4b95b3d59b44a5f74dd12210f55e87 Issue-ID: SDC-4192 --- catalog-be/src/main/webapp/WEB-INF/web.xml | 109 +++-------------------------- 1 file changed, 9 insertions(+), 100 deletions(-) (limited to 'catalog-be/src/main/webapp') diff --git a/catalog-be/src/main/webapp/WEB-INF/web.xml b/catalog-be/src/main/webapp/WEB-INF/web.xml index 64763b27a8..7cbfd1a920 100644 --- a/catalog-be/src/main/webapp/WEB-INF/web.xml +++ b/catalog-be/src/main/webapp/WEB-INF/web.xml @@ -84,30 +84,6 @@ true - - - - - - - - - - - - - - - - - - - - - - - - ViewStatusMessages ch.qos.logback.classic.ViewStatusMessagesServlet @@ -129,35 +105,15 @@ /lbClassicStatus - - - - - - - - - - - + + contentSecurityPolicyHeaderFilter + org.openecomp.sdc.be.filters.ContentSecurityPolicyHeaderFilter + true + + + contentSecurityPolicyHeaderFilter + /* + gatewayFilter @@ -176,53 +132,6 @@ /sdc/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - reqValidationFilter -- cgit 1.2.3-korg