<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns=" http://java.sun.com/xml/ns/javaee" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<display-name>smart demo - shiro</display-name>
<filter>
<filter-name>ShiroFilter</filter-name>
<filter-class>ws.framework.wibu.StartShiroFilter</filter-class>
<init-param>
<param-name>proxyFilterName</param-name>
<param-value>org.apache.shiro.web.servlet.ShiroFilter</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>ShiroFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>WebserviceAct</servlet-name>
<servlet-class>ws.framework.wibu.StartJspServlet</servlet-class>
<init-param>
<param-name>proxyHttpServletName</param-name>
<param-value>ws.apps.webservice.WebserviceAct</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>WebserviceAct</servlet-name>
<url-pattern>/webservice/*</url-pattern>
</servlet-mapping>
<filter>
<filter-name>smart</filter-name>
<filter-class>ws.framework.wibu.StartSmartFilter</filter-class>
<init-param>
<param-name>modules</param-name>
<param-value>ws.apps.ModuleLoader</param-value>
</init-param>
<init-param>
<param-name>proxyFilterName</param-name>
<param-value>ws.framework.mvc.SmartFilter</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>smart</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>
<filter>
<filter-name>DruidWebStatFilter</filter-name>
<filter-class>com.alibaba.druid.support.http.WebStatFilter</filter-class>
<init-param>
<param-name>exclusions</param-name>
<param-value>*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*,/rs/*</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>DruidWebStatFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>DruidStatView</servlet-name>
<servlet-class>com.alibaba.druid.support.http.StatViewServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>DruidStatView</servlet-name>
<url-pattern>/druid/*</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>StartJMServlet</servlet-name>
<servlet-class>ws.framework.wibu.StartClassJmServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>StartJMServlet</servlet-name>
<url-pattern>/classjm</url-pattern>
</servlet-mapping>
</web-app>