diff options
Diffstat (limited to 'catalog-fe/src/main/webapp/WEB-INF/web.xml')
-rw-r--r-- | catalog-fe/src/main/webapp/WEB-INF/web.xml | 49 |
1 files changed, 33 insertions, 16 deletions
diff --git a/catalog-fe/src/main/webapp/WEB-INF/web.xml b/catalog-fe/src/main/webapp/WEB-INF/web.xml index 32680df234..1f259d9fde 100644 --- a/catalog-fe/src/main/webapp/WEB-INF/web.xml +++ b/catalog-fe/src/main/webapp/WEB-INF/web.xml @@ -65,28 +65,45 @@ <servlet-name>Portal</servlet-name> <url-pattern>/portal</url-pattern> </servlet-mapping> + - <!-- Kibana proxy --> - <servlet> - <servlet-name>KibanaProxy</servlet-name> - <servlet-class>org.openecomp.sdc.fe.servlets.KibanaServlet</servlet-class> - <load-on-startup>1</load-on-startup> + <filter> + <filter-name>AuditLogServletFilter</filter-name> + <filter-class>org.onap.logging.filter.base.AuditLogServletFilter</filter-class> <async-supported>true</async-supported> - </servlet> + </filter> + + <filter> + <filter-name>SecurityFilter</filter-name> + <filter-class>org.openecomp.sdc.fe.filters.SecurityFilter</filter-class> + <async-supported>true</async-supported> + <init-param> + <param-name>excludedUrls</param-name> + <!-- Comma separated list of excluded servlet URLs --> + <param-value>/config,/configmgr,/rest</param-value> + </init-param> + </filter> - <servlet-mapping> - <servlet-name>KibanaProxy</servlet-name> - <url-pattern>/kibanaProxy/*</url-pattern> - </servlet-mapping> - <filter> <filter-name>gzipFilter</filter-name> - <filter-class>org.openecomp.sdc.fe.GzipFilter</filter-class> + <filter-class>org.openecomp.sdc.fe.filters.GzipFilter</filter-class> + <async-supported>true</async-supported> </filter> - <filter-mapping> - <filter-name>gzipFilter</filter-name> - <url-pattern>*.jsgz</url-pattern> - </filter-mapping> + + <filter-mapping> + <filter-name>AuditLogServletFilter</filter-name> + <url-pattern>/*</url-pattern> + </filter-mapping> + + <filter-mapping> + <filter-name>SecurityFilter</filter-name> + <url-pattern>/*</url-pattern> + </filter-mapping> + + <filter-mapping> + <filter-name>gzipFilter</filter-name> + <url-pattern>*.jsgz</url-pattern> + </filter-mapping> <listener> <listener-class>org.openecomp.sdc.fe.listen.FEAppContextListener</listener-class> |