1. 程式人生 > >Shiro:整合swagger2時需要放行的資源

Shiro:整合swagger2時需要放行的資源

filter jar anon spa lte pan 需要 code 整合

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

Shiro:整合swagger2時需要放行的資源