Shiro:整合swagger2时需要放行的资源

        filterMap.put("/swagger-ui.html", "anon");
        filterMap.put("/swagger-resources/**", "anon");
        filterMap.put("/v2/**", "anon");
        filterMap.put("/webjars/**", "anon");

 

posted @ 2018-11-18 14:27  涛先森の日常  阅读(4048)  评论(0编辑  收藏  举报