2018年3月22日

SpringBoot配置Shiro时@RequiresRoles不起作用

摘要: 在SpringBoot中配置Shiro,结果@RequiresRoles、@RequiresPermissions等注解都无效 解决方法: 在ShiroConfiguration中注入开启支持aop、代理的bean。具体如下: @Configuration public class ShiroCon 阅读全文

posted @ 2018-03-22 10:13 乐之者v 阅读(1832) 评论(0) 推荐(0)

导航