yidao620c / SpringBootBucket

Springboot bucket
MIT License
1.05k stars 709 forks source link

MyShiroRealm的doGetAuthenticationInfo()返回错误 #5

Open woerry opened 6 years ago

woerry commented 6 years ago

doGetAuthenticationInfo(AuthenticationToken auth)的返回你写的是return new SimpleAuthenticationInfo(token, token,"my_realm") 这不是明文嘛,我看你的项目是用salt加密的啊。而且最后一个参数"my_realm"是啥?我没在其他地方看到他