alexxiyang / shiro-redis

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!
MIT License
1.17k stars 446 forks source link

3.1版本的cacheManager.principalIdFieldName问题 #72

Closed lhy117 closed 5 years ago

lhy117 commented 6 years ago

如果user对象的id字段在父类中 还是会抛异常

还有一个问题 为什么强制new SimpleAuthenticationInfo(userInfo, "123456", getName());这样构建 userinfo替换成字符串不支持吗?

littleBurro commented 5 years ago

遇到了同样的问题----------- 如果user对象的id字段在父类中 还是会抛异常

alexxiyang commented 5 years ago

该问题在 3.2.1 版本中修复了,请升级至 3.2.1