Spring Security BCryptPasswordEncoder Inserted But Not Match
问题 I have developed a small project on Spring MVC. The project has account table and account has an encoded password with BCryptPasswordEncoder. I have used java config instead of XML config. @Configuration @EnableWebSecurity public class SecurityConfiguration extends WebSecurityConfigurerAdapter @Bean public PasswordEncoder passwordEncoder() { return new BCryptPasswordEncoder(); } } I get user information and encode the password. @Autowired private PasswordEncoder passwordEncoder; String pass