2021-05-25
shiro 加盐 构建 SimpleAuthenticationInfo使用 ByteSource.Util.bytes(userInfo.getSalt()) 作为 盐 一定要和注册时保持一致SimpleAuthenticationInfo authenticationInfo = new SimpleAuthenticationInfo( userInfo, //用户名 userInfo.getPassword(), //...
原创
2021-05-25 14:10:57 ·
280 阅读 ·
0 评论