November 2017
Intermediate to advanced
542 pages
14h 24m
English
The @EnableResourceServer annotation denotes the intention for the containing application to enable a Spring Security filter that authenticates requests via an incoming OAuth2 token:
//src/main/java/com/packtpub/springsecurity/configuration/ OAuth2ResourceServerConfig.java @EnableResourceServer public class OAuth2ResourceServerConfig extends ResourceServerConfigurerAdapter {...}
The @EnableResourceServer annotation denotes the intention for the containing application to enable an OAuth2AuthenticationProcessingFilter filter that authenticates requests via an incoming OAuth 2 token. The OAuth2AuthenticationProcessingFilter filter requires web security to be enabled using the @EnableWebSecurity annotation somewhere in the application. ...
Read now
Unlock full access