@ConditionalOnBean(value=org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfiguration.class) @Configuration @Import(value=OktaTokenServicesConfig.class) public class ResourceServerConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceServerConfig.LocalTokenValidationConfig |
| Constructor and Description |
|---|
ResourceServerConfig(OktaOAuth2Properties oktaOAuth2Properties) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter |
oktaResourceServerConfigurerAdapter(org.springframework.security.oauth2.provider.token.ResourceServerTokenServices tokenServices) |
public ResourceServerConfig(OktaOAuth2Properties oktaOAuth2Properties)
@Bean @Primary @ConditionalOnBean(value=org.springframework.security.oauth2.provider.token.ResourceServerTokenServices.class) public org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter oktaResourceServerConfigurerAdapter(org.springframework.security.oauth2.provider.token.ResourceServerTokenServices tokenServices)
Copyright © 2017–2018 Okta. All rights reserved.