<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:j2ee="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4"> <filter> <filter-name>GrouperUi</filter-name> <filter-class>edu.internet2.middleware.grouper.ui.GrouperUiFilter</filter-class> </filter> <filter> <filter-name>CSRFGuard</filter-name> <filter-class>org.owasp.csrfguard.CsrfGuardFilter</filter-class> </filter> <filter-mapping> <filter-name>GrouperUi</filter-name> <url-pattern>*.jsp</url-pattern> </filter-mapping> <filter-mapping> <filter-name>GrouperUi</filter-name> <url-pattern>/grouperUi/app/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>GrouperUi</filter-name> <url-pattern>/grouperUi/appHtml/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>GrouperUi</filter-name> <url-pattern>/grouperExternal/app/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>GrouperUi</filter-name> <url-pattern>/grouperExternal/public/UiV2Public.index</url-pattern> </filter-mapping> <filter-mapping> <filter-name>GrouperUi</filter-name> <url-pattern>/grouperExternal/public/UiV2Public.postIndex</url-pattern> </filter-mapping> <filter-mapping> <filter-name>CSRFGuard</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <listener> <listener-class>edu.internet2.middleware.grouper.ui.GrouperSessionAttributeListener</listener-class> </listener> <listener> <listener-class>org.owasp.csrfguard.CsrfGuardServletContextListener</listener-class> </listener> <listener> <listener-class>org.owasp.csrfguard.CsrfGuardHttpSessionListener</listener-class> </listener> <servlet> <servlet-name>StatusServlet</servlet-name> <display-name>Status Servlet</display-name> <servlet-class>edu.internet2.middleware.grouper.j2ee.status.GrouperStatusServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet> <servlet-name>UiServlet</servlet-name> <servlet-class>edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet> <servlet-name>OwaspJavaScriptServlet</servlet-name> <servlet-class>org.owasp.csrfguard.servlet.JavaScriptServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>StatusServlet</servlet-name> <url-pattern>/status</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>UiServlet</servlet-name> <url-pattern>/grouperUi/app/*</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>UiServlet</servlet-name> <url-pattern>/grouperExternal/app/*</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>UiServlet</servlet-name> <url-pattern>/grouperExternal/public/UiV2Public.index</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>UiServlet</servlet-name> <url-pattern>/grouperExternal/public/UiV2Public.postIndex</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>OwaspJavaScriptServlet</servlet-name> <url-pattern>/grouperExternal/public/OwaspJavaScriptServlet</url-pattern> </servlet-mapping> </web-app>