diff --git a/geonetwork/geonetwork/templates/3.2-web.xml.j2 b/geonetwork/geonetwork/templates/3.2-web.xml.j2 new file mode 100644 index 00000000..44826d1a --- /dev/null +++ b/geonetwork/geonetwork/templates/3.2-web.xml.j2 @@ -0,0 +1,452 @@ + + + + + + + geonetwork + + jeeves.config.springutil.JeevesContextLoaderListener + + + + org.springframework.web.context.request.RequestContextListener + + + + + + + org.apache.jcs.utils.servlet.JCSServletContextListener + + + + characterEncodingFilter + org.springframework.web.filter.CharacterEncodingFilter + + encoding + UTF-8 + + + + characterEncodingFilter + /* + + + org.jasig.cas.client.session.SingleSignOutHttpSessionListener + + +{% if gcube_geonetwork_connector_install is defined and gcube_geonetwork_connector_install %} + + gcubeAuthenticationFilter + org.gcube.data.access.connector.GeoNetworkFilter + + + gcubeAuthenticationFilter + /* + +{% endif %} + + + + + springSecurityFilterChain + jeeves.config.springutil.JeevesDelegatingFilterProxy + + loginService + signin + + + trustedHost + localhost + + + + + springSecurityFilterChain + /* + + + + SessionTimeoutCookieFilter + org.geonetwork.http.SessionTimeoutCookieFilter + + + SessionTimeoutCookieFilter + /srv/* + + + + + UrlRewriteFilter + org.tuckey.web.filters.urlrewrite.UrlRewriteFilter + + + + + + + + + + logLevel + WARN + + + + + statusEnabled + true + + + + + statusPath + /rewritestatus + + + + UrlRewriteFilter + /* + REQUEST + FORWARD + + + + + resources + org.fao.geonet.resources.ResourceFilter + + + jeeves.configuration.overrides.file + ,/WEB-INF/config-overrides-prod.xml + + + + + cors + org.fao.geonet.web.CORSResponseFilter + + allowedHosts + * + + + + + + WebResourceOptimizer + + org.fao.geonet.wro4j.GeonetWro4jFilter + + + + WebResourceOptimizer + /static/* + + + + + MetricsRegistryInitializerFilter + org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter + + + + + webappMetricsFilter + org.fao.geonet.monitor.webapp.DefaultWebappMetricsFilter + + + + MetricsRegistryInitializerFilter + /* + + + + webappMetricsFilter + /* + + + + resources + /images/logos/* + + + + resources + /images/harvesting/* + + + + resources + /xml/schemas/* + + + + resources + /images/statTmp/* + + + + resources + /htmlcache/* + + + + resources + /map/* + + + + cors + /* + + + + + mapfish.print + org.mapfish.print.servlet.MapPrinterServlet + + config + WEB-INF/config-print/print-config.yaml + + + + + mapfish.print + /pdf/* + + + + + monitor + com.yammer.metrics.reporting.AdminServlet + + SHOW_JVM_METRICS + true + + + + criticalHealthChecks + org.fao.geonet.monitor.webapp.GeonetworkHealthCheckServlet + + REGISTRY_ATTRIBUTE_KEY + com.yammer.metrics.reporting.HealthCheckServlet.registry.critical + + + + warningHealthChecks + org.fao.geonet.monitor.webapp.GeonetworkHealthCheckServlet + + REGISTRY_ATTRIBUTE_KEY + com.yammer.metrics.reporting.HealthCheckServlet.registry.warning + + + + expensiveHealthChecks + org.fao.geonet.monitor.webapp.GeonetworkHealthCheckServlet + + REGISTRY_ATTRIBUTE_KEY + com.yammer.metrics.reporting.HealthCheckServlet.registry.expensive + + + + + monitor + /monitor/* + + + criticalHealthChecks + /criticalhealthcheck + + + warningHealthChecks + /warninghealthcheck + + + expensiveHealthChecks + /expensivehealthcheck + + + + gn-servlet + jeeves.server.sources.http.JeevesServlet + + + jeeves.configuration.overrides.file + ,/WEB-INF/config-overrides-prod.xml + + + + 1 + + + + gn-servlet + /nouse/* + + + + + + HttpProxy + org.geonetwork.http.proxy.HttpProxyServlet + + + + AllowedContentTypes + + application/xml,text/xml, + text/html, + text/plain, + image/png, + application/vnd.ogc.se_xml, + application/vnd.ogc.se+xml, + application/vnd.ogc.success+xml, + application/vnd.ogc.wms_xml, + application/vnd.ogc.context+xml, + application/vnd.ogc.gml, + application/vnd.ogc.sld+xml, + application/vnd.google-earth.kml+xml, + application/vnd.google-earth.kmz, + application/json + + + + + + AllowedHosts + + + + + + DefaultProxyUrl + http://www.openlayers.org + + + 0 + + + + + spring + + jeeves.config.springutil.JeevesDispatcherServlet + + + nodeId + srv + + 2 + + + + spring + /srv/* + + + + + spring + /home + + + + spring + /login.jsp + + + + spring + /accessDenied.jsp + + + + HttpProxy + /proxy + + + + + wmc + org.geonetwork.map.wmc.WmcServlet + + + + wmc + /wmc/* + + + + home + index.html + + + + 35 + +