1 Star 2 Fork 0

lin-mt / springboot-shiro-redis

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 712 Bytes
一键复制 编辑 原始数据 按行查看 历史
lin-mt 提交于 2019-01-26 11:52 . init

springboot-shiro-redis

介绍

Springboot 整合 shiro,并缓存到 redis,自定义角色认证(com.lmt.config.shiro.filter.authz.AnyRoleAuthorizationFilter)、权限认证(com.lmt.config.shiro.filter.authz.AnyPermissionAuthorizationFilter)

软件架构

相关依赖及依赖版本见:pom.xml

使用教程

  1. 导入项目
  2. 创建数据库 springboot_shiro_redis
  3. 安装 Redis
  4. 修改 application.yml 配置
  5. 启动项目
  6. 执行SQL脚本 InitDatabase/springboot_shiro_redis.sql
  7. 安装 Postman(不安装亦可,仅仅在测试的时候有用到)
  8. 在 Postman 导入 PostmanTest/SpringbootShiroRedis.postman_collection.json
  9. 执行相应的测试脚本即可
Java
1
https://gitee.com/lin-mt/springboot-shiro-redis.git
git@gitee.com:lin-mt/springboot-shiro-redis.git
lin-mt
springboot-shiro-redis
springboot-shiro-redis
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891