web.xml中的配置
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<filter>
<filter-name>SystemAuthorityFilter</filter-name>
<filter-class>platform.filter.SystemAuthorityFilter</filter-class>
<init-param>
<param-name>IGNORE_URL</param-name>
<param-value>/login/login.do,/test/test.do</param-value>
</init-param>
<init-param>
<param-name>IGNORE_DIR</param-name>
<param-value>/css/,/images/,/script/</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>SystemAuthorityFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>