原文:SpringSecurity出现org.springframework.security.authentication.BadCredentialsException: Bad credentials

出现Bad credentials,排除了配置问题,debug跟到了数据库的内容可以查出 最后发现是因为直接通过insert语句增加了用户信息,密码没有经过加密。 一:springSecurity提供了一个增加 noop 字符串来解决 ...

2020-01-26 23:45 0 6053 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM