@Configuration @ConditionalOnMissingBean(value=org.springframework.security.oauth2.config.annotation.web.configuration.OAuth2ClientConfiguration.class) @Conditional(value={org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2RestOperationsConfiguration.OAuth2ClientIdCondition.class,org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2RestOperationsConfiguration.NoClientCredentialsCondition.class}) @Import(value=org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ProtectedResourceDetailsConfiguration.class) protected static class OAuth2RestOperationsConfiguration.RequestScopedConfiguration extends Object
Modifier | Constructor and Description |
---|---|
protected |
RequestScopedConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.security.oauth2.client.DefaultOAuth2ClientContext |
oauth2ClientContext() |
@Bean @Scope(value="request", proxyMode=INTERFACES) public org.springframework.security.oauth2.client.DefaultOAuth2ClientContext oauth2ClientContext()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.