Shiro
P_ning
一只小菜鸟的笔记
我的大部分笔记存放处在码云的仓库里面https://gitee.com/P_n_ing
有空的话我会把详细的步骤会写在这里
(当然是在我打完游戏后如果还有空闲的时间( ´◔ ‸◔`))
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Shiro在整合完SSM后加入thymeleaf的完善
首先王城Shiro整合SSM完成授权和认证这里看我的这一篇博客就可以了,字数较多就不水了,毕竟整合thymeleaf涉及的大部分是前端代码,后端部分只修改了一丢丢而已后端修改的部分pom.xml添加thymeleaf的整合依赖...原创 2020-04-12 22:30:19 · 399 阅读 · 0 评论 -
SpringBoot整合Shiro和SSM(完成认证和授权效果)
SpringBoot整合Shiro这一部分写在另一篇博客,这里主要是讲Mybatis的整合当然,如果不看SpringBoot整合Shiro也可以,只看这篇博客也会自然而然地把SpringBoot整合进去,就是关于SpringBoot整合Shiro笔记不会很详细项目整体结构如下添加依赖pom.xml<?xml version="1.0" encoding="UTF-8"?>...原创 2020-04-10 22:43:18 · 309 阅读 · 0 评论 -
SpringBoot整合Shiro
1. 创建SpringBoot项目此处因为是笔记,为了更容易复习我把Servic和Mapper个移除了,此处三层只有Controller2.添加依赖pom.xml<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http:...原创 2020-04-10 12:08:18 · 217 阅读 · 0 评论 -
Shiro的10分钟快速开始代码理解
import org.apache.shiro.SecurityUtils;import org.apache.shiro.authc.*;import org.apache.shiro.config.IniSecurityManagerFactory;import org.apache.shiro.mgt.SecurityManager;import org.apache.shiro.s...原创 2020-04-08 19:53:17 · 333 阅读 · 0 评论 -
Shiro的10分钟入门
项目的创建创建一个普通的Maven项目2. 为了方便,我们把 src目录删除,新建一个module然后项目的目录结构就是这个样子注意一点,以下的操作都是module里面进行的导入相关依赖<dependencies> <dependency> <groupId>org.apache.shiro&l...原创 2020-04-07 22:53:02 · 377 阅读 · 0 评论
分享