似乎应为“/ **”,但Spring安全性参考中的示例使用“/*”。
<filter>
<filter-name>springSecurityFilterChain</filter-name>
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
</filter>
<filter-mapping>
<filter-name>springSecurityFilterChain</filter-name>
<!-- protected URL path -->
<url-pattern>/*</url-pattern>
</filter-mapping>