In new Spring Security, what should I do to replace these code follw:
@Override
protected void configure(AuthenticationManagerBuilder auth) throws Exception {
auth.userDetailsService(userService).passwordEncoder(passwordEncoder).and().eraseCredentials(false);
}
Comment From: marcusdacoregio
Hi @goldthree-shit, please refer to this post and this guide. If you have further questions, you can browse on StackOverflow or in this issue tracker.