spring boot整合security 4,怎么设置忽略的静态资源?

日期:2019-08-04 07:17:24 人气:1

spring boot整合security 4,怎么设置忽略的静态资源?

public void configure(WebSecurity web) throws Exception {; web.ignoring().antMatchers("/assets/**","/images/**","/**/*.jsp"); protected void configure(HttpSecurity http) throws Exception {; http.portMa
    A+
热门评论