除了包含hisenyuan之外的所有路徑都攔截
這是一個(gè)正則表達(dá)式
<!-- Spring security -->
<filter>
<filter-name>springSecurityFilterChain</filter-name>
<filter-class>
org.springframework.web.filter.DelegatingFilterProxy
</filter-class>
</filter>
<filter-mapping>
<filter-name>springSecurityFilterChain</filter-name>
<url-pattern>/^((?!hisenyuan).)*$</url-pattern>
</filter-mapping>
<!-- Spring security -->