AuthenticationManager无法注入时,又不想去继承AuthenticationManager无法注入时。 WebSecurityConfigurerAdapter过时,新方法替代_独繁华的博客-CSDN博客