@@ -0,0 +1,765 @@
+package org.apache.markt;%0A%0Aimport java.util.EnumSet;%0A%0Aimport javax.servlet.DispatcherType;%0Aimport javax.servlet.Filter;%0Aimport javax.servlet.FilterRegistration;%0Aimport javax.servlet.ServletContextEvent;%0Aimport javax.servlet.ServletContextListener;%0Aimport javax.servlet.annotation.WebListener;%0A%0A@WebListener%0Apublic class ConfigListener implements ServletContextListener %7B%0A%0A    @Override%0A    public void contextInitialized(ServletContextEvent sce) %7B%0A        Filter f = new NoopFilter();%0A%0A        FilterRegistration.Dynamic reg = sce.getServletContext().addFilter(%22noop%22, f);%0A        reg.addMappingForUrlPatterns(EnumSet.of(DispatcherType.REQUEST), true, %22/*%22);%0A    %7D%0A%0A    @Override%0A    public void contextDestroyed(ServletContextEvent sce) %7B%0A        // NO-OP%0A    %7D%0A%7D%0A

Add a listener to configure the filter