2017年12月19日

shiro添加注解@RequiresPermissions不起作用

摘要: 这是因为没有开启spring拦截器,在spring-mvc.xml中加入以下代码就可以了(一定要写在最先加载的xml中,写在后面加载的xml中也不起作用) 阅读全文

posted @ 2017-12-19 11:24 范兵 阅读(2003) 评论(1) 推荐(0) 编辑

shiro注解@RequiresPermissions多权限任选一参数用法

摘要: @RequiresPermissions(value={"xxx:xxx","xxx:xxx"},logical=Logical.OR) 阅读全文

posted @ 2017-12-19 11:24 范兵 阅读(5775) 评论(2) 推荐(0) 编辑

导航