I'm currently working on a Oauth2 implementation with Spring Security, and I found many documentations that use ResourceServerConfigurerAdapter
along with the WebSecurityConfigurerAdapter
.
I hope someone can tell me the differences between the two configurations because I really get confused in which configure(HttpSecurity http)
method to use since both classes offer one.
I've found some similar questions here in stackoverflow but there are not clearly answered.