Shiro:整合swagger2时需要放行的资源
filterMap.put("/swagger-ui.html", "anon"); filterMap.put("/swagger-resources/**", "anon");
filterMap.put("/swagger-ui.html", "anon"); filterMap.put("/swagger-resources/**", "anon");
springboot使用2.0.9以下版本这里使用2.0.9作为案例:需要用到的maven地址:<!--security与thymeleaf整合--><dependency><groupId>org.thymeleaf.extras</groupId>
1.授权.antMatchers("/level1/**").hasRole("vip1").antMatchers("/level2/**").hasRole("vip2").antMatchers("/le