Spring Boot集成Shiro的详细教程 -- 知识铺
项目里一直用的是 spring-security ,不得不说,spring-security 真是东西太多了,学习难度太大(可能我比较菜),这篇博客来总结一下折腾shiro的成果,分享给大家,强烈推荐shiro,真心简单 : ) 引入依赖 <ol><li><span><dependency></span></li><li><span> </span><span><groupId></span><span>org.apache.shiro</span><span></groupId></span></li><li><span> </span><span><artifactId></span><span>shiro-spring</span><span></artifactId></span></li><li><span> </span><span><version></span><span>1.4.0</span><span></version></span></li><li><span></dependency></span></li></ol> 用户,角色,权限 就是经典的RBAC权限系统,下面简单给一下实体类字段 AdminUser.java <ol><li><span>public</span><span> </span><span>class</span><span>……