博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
jfinal-ext shiro插件中cache无用
阅读量:7012 次
发布时间:2019-06-28

本文共 487 字,大约阅读时间需要 1 分钟。

  hot3.png

1、在项目中使用后,发现jfinal-ext shiro插件中cache配置无用

即,不管是否配置

都只
shiro-activeSessionCache

名称有用,可是这个确实shiro默认的名称。

2、如果在shiro.ini文件中配置了

userRealm.cachingEnabled=trueuserRealm.authenticationCachingEnabled=trueuserRealm.authenticationCacheName=authenticationCacheuserRealm.authorizationCachingEnabled=trueuserRealm.authorizationCacheName=authorizationCachesecurityManager.realms=$userRealm

一旦开启下面语句,注销登陆后,再次登陆,会报错
userRealm.cachingEnabled=true

转载于:https://my.oschina.net/xldc/blog/467521

你可能感兴趣的文章
[LeetCode] Split Concatenated Strings 分割串联字符串
查看>>
Asp.Net SignalR - 持久连接类
查看>>
11.8. NAT
查看>>
PowerShell调用jira rest api实现jira统计自动化
查看>>
Git 时间,将代码托管到GitHub 上
查看>>
火车票秒杀攻略
查看>>
关于Asp.Net中FileUpload控件属性PostedFile.ContentType的提示
查看>>
Laravel5做权限管理
查看>>
Spring 通过Java代码装配bean
查看>>
架构重构-好文分享
查看>>
使用shell批量生成数据整合式迁移的脚本
查看>>
双11备战核武器:全链路压测今年如何升级?
查看>>
[20151021]理解dbms_xplan.display_cursor的format参数all.txt
查看>>
sql server 获取每一个类别中值最大的一条数据
查看>>
重构——49以函数取代参数(Replace Parameter with Methods)
查看>>
elasticsearch start
查看>>
【错误解决】MySQL出现Can't connect to MySQL server on 'localhost' (10060)错误
查看>>
微信小程序把玩(二十八)image组件
查看>>
OpenCV+OpenGL 双目立体视觉三维重建
查看>>
R12.2 克隆完成之后weblogic AdminSErver无法启动
查看>>