shiro
文章平均质量分 90
西北King
逆流而上。
展开
-
springboot整合shiro+mybatis-plus
文章目录Shiro框架简介环境搭建springboot+shiro+mybatis-plus+thymeleaf1.创建Spring Boot项目,集成Shiro及相关组件2.准备一个sql表3.配置yml4.创建表的实体类5.创建mybatis-plus的basemapper接口6.创建UserService接口实现7.创建UserServiceImpl业务逻辑8.编写自定义Realm认证授权9.编写Shiro的配置类10.编写controller控制器11.编写controller对应的界面html12原创 2021-04-27 10:07:45 · 489 阅读 · 0 评论 -
SpringBoot整合Shiro(认证+授权)
Spring Boot整合shiro 1.创建Spring Boot应用,集成Shiro及相关组件,pom.xml pom.xml <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-spring</artifactId> <version>1.7.1</version> </dependen原创 2021-04-23 12:05:52 · 144 阅读 · 1 评论