Could not autowire authentication manager in Spring Boot 2.0.0
So I've been trying to implement oAuth2 in a simple Spring MVC app. In the guide I was following, in their AuthorizationServerConfigurerAdapter they @Autowired an AuthenticationManager. They used ...
stackoverflow.com
WebSecurityConfigAdapter를 상속받아 정의한 클래스 안에 다음 메소드를 정의해야 한다.
@Bean
@Override
public AuthenticationManager authenticationManager() throws Exception{
return super.authenticationManagerBean();
}