@Configuration
@ConditionalOnProperty(name="okta.oauth2.localTokenValidation",
havingValue="false")
public static class OktaTokenServicesConfig.RemoteTokenValidationConfig
extends Object
| Constructor and Description |
|---|
RemoteTokenValidationConfig(OktaOAuth2Properties oktaOAuth2Properties) |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.boot.autoconfigure.security.oauth2.resource.AuthoritiesExtractor |
authoritiesExtractor() |
protected org.springframework.boot.autoconfigure.security.oauth2.resource.PrincipalExtractor |
principalExtractor() |
protected org.springframework.security.oauth2.provider.token.ResourceServerTokenServices |
resourceServerTokenServices(org.springframework.boot.autoconfigure.security.oauth2.resource.ResourceServerProperties sso,
org.springframework.security.oauth2.client.OAuth2ClientContext oauth2ClientContext,
org.springframework.boot.autoconfigure.security.oauth2.resource.UserInfoRestTemplateFactory restTemplateFactory) |
public RemoteTokenValidationConfig(OktaOAuth2Properties oktaOAuth2Properties)
@Bean @ConditionalOnMissingBean protected org.springframework.boot.autoconfigure.security.oauth2.resource.AuthoritiesExtractor authoritiesExtractor()
@Bean @ConditionalOnMissingBean protected org.springframework.boot.autoconfigure.security.oauth2.resource.PrincipalExtractor principalExtractor()
@Bean
@Primary
protected org.springframework.security.oauth2.provider.token.ResourceServerTokenServices resourceServerTokenServices(org.springframework.boot.autoconfigure.security.oauth2.resource.ResourceServerProperties sso,
org.springframework.security.oauth2.client.OAuth2ClientContext oauth2ClientContext,
org.springframework.boot.autoconfigure.security.oauth2.resource.UserInfoRestTemplateFactory restTemplateFactory)
Copyright © 2017–2018 Okta. All rights reserved.