UserInfoTokenServices
to extract authorities from the resource
server's response.AuthorizationServerTokenServices
JwtAccessTokenConverter
.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.Auto-configuration
for Spring Security OAuth2.DefaultMethodSecurityExpressionHandler
in the application context
with an OAuth2MethodSecurityExpressionHandler
.@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.