shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!
1.17k
stars
446
forks
source link
1、继承 DefaultWebSessionManager 后 setGlobalSessionTimeout 无效 2、springboot整合shiro-redis后jedis 操作十次就阻塞了 #68
Closed
meimansheng closed 5 years ago
1、自己写了一个SessionManager继承DefaultWebSessionManager ,然后注入bean的时候setGlobalSessionTimeout 无效,还是默认的半小时。shiro是1.4.0 shiro-redis 是 3.1.0
2、shiro-redis 从2.4.1.release更新到 3.1.0之后jedis操作十次数据库 再请求就阻塞在那里,没有响应也没有返回值