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