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

日期:2017-09-21 08:47:55 人气:1

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

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