黑马程序员 springsecurity Demo 常见异常解决方案
user is disable
bad credents
Access is denied
解决
enable=true 即userInfo.getStatus返回值需要为true
public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException {
UserI...
原创
2019-11-28 11:40:40 ·
462 阅读 ·
0 评论