UserInfoTokenServices to extract authorities from the resource
server's response.AuthorizationServerTokenServicesJwtAccessTokenConverter.template before it is initialized.OAuth2RestTemplate used for extracting user info
during authentication if none is available.AuthoritiesExtractor.PrincipalExtractor.OAuth2RestTemplate used for extracting user info during
authentication if none is available.JwtAccessTokenConverter.RestTemplate that is used to fetch the keys used
by JwtAccessTokenConverter.Auto-configuration for Spring Security OAuth2.@EnableGlobalMethodSecurity).WebSecurityConfigurerAdapter provided by the user and annotated with
@EnableOAuth2Sso.UserInfoTokenServices to extract the principal from the
resource server's response.ResourceServerTokenServices backed by Spring Social.OAuth2RestTemplate used for extracting user info
during authentication if none is available.ResourceServerTokenServices that uses a user info REST service.