우선 다음 코드를 보자. @Configuration public class Config { @Bean public UserRepository userRepository() { ... } @Bean public PasswordChangeService pwChangeSvc() { return new PasswordChangeService(userRepository()); } @Bean public AuthenticationService authenticationService() { AuthenticationService authSvc = new AuthenticationService(); authSvc.setUserRepository(userRepository()); return authSvc; } // 이..