Shiro缓存系列--shiro-redis

其他网址

springboot使用shiro-整合redis作为缓存(十)_这个名字想了很久-CSDN博客_shiro整合redis

官方github:https://github.com/alexxiyang/shiro-redis
官网教程:https://github.com/alexxiyang/shiro-redis/blob/master/docs/README.md

Starter (将shiro-redis与springboot整合,使用更方便)

官网教程(github)
mvn仓库(在mvn仓库直接搜名字搜不到,我是搜groupId搜到的。。。)

简介

        Shiro官方只支持EHCache和concurrentHashMap,不支持Redis。幸运的是,有大佬已经写了支持Redis的组件--Shiro-Redis。

        shiro-redis-spring-boot-starter:跟shiro-redis一个东西,只不过将shiro-redis与springboot整合,使用更方便(可以将配置写到application.yml)。它内部引入了这些包:spring-boot-autoconfigure、shiro-redis、shiro-spring-boot-web-starter。

注意:我没有试验成功。建议自己写读写redis的操作。

实例(starter)

其他网址

框架技术---SpringBoot(八)shiro-redis-jwt整合_小毛桃学习猿的博客-CSDN博客
Springboot+mybatis-plus+JWT+Shiro+Redis无状态授权登录_pjc……的博客-CSDN博客
超详细!4小时开发一个SpringBoot+vue前后端分离博客项目!!

实例(非starter)

其他网址

spring boot + shiro + redis 整合(完整)_日.初的博客-CSDN博客
springboot使用shiro-整合redis作为缓存(十)_这个名字想了很久-CSDN博客_shiro整合redis

猜你喜欢

转载自blog.csdn.net/feiying0canglang/article/details/112697716