shiro与spring共用一个CacheManger,使用redis
1 背景现在大多数的项目中基本都用到缓存,笔者在整合shiro+spring的时候遇到了这个问题,也是经查阅资料,使得shiro与spring共用spring的CacheManger。shiro自带的缓存管理器为org.apache.shiro.cache.CacheManager以及org.apache.shiro.cache.Cachespring自带的缓存管理器为org.springf...
原创
2019-09-06 19:35:48 ·
1208 阅读 ·
2 评论