📜  spring security 排除登录的图像文件夹-任何代码示例

📅  最后修改于: 2022-03-11 14:56:53.403000             🧑  作者: Mango

代码示例1
@Override
    public void configure(WebSecurity web) throws Exception {
        web
           .ignoring()
           .antMatchers("/resources/**", "/static/**", "/css/**", "/js/**", "/images/**");
    }