![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
redis
__好好学习
这个作者很懒,什么都没留下…
展开
-
Spring Boot+Shiro+Redis(redisson)整合时,采用内嵌tomcat启动错误原因分析
出现这种错误时,在Spring Boot启动的main函数中增加 TomcatURLStreamHandlerFactory.disable() 即可。文章中将通过debug的形式对出现这种错误进行分析,或者不使用tomcat作为内嵌web容器,使用jetty也可避免错误。原创 2017-10-09 16:12:26 · 3737 阅读 · 0 评论 -
shiro使用redis缓存session会话、authentication信息、authorization信息简述
* 目录 *介绍配置maven依赖spring配置重新实现shiro CacheManagershiro缓存配置其他说明测试总结介绍 当我们使用了nginx做负载均衡,使用了多个web服务器时,我们的请求会根据配置的权重信息自动分配到配置的负载服务器上,这时,客户端发起的request并不能指定到同一台web服务器上,这时,shiro默认的ehcache来实现共享缓存比较麻烦,这原创 2017-01-23 09:08:16 · 16546 阅读 · 0 评论