@Configuration @ConditionalOnMissingBean(value=org.springframework.security.oauth2.config.annotation.web.configuration.OAuth2ClientConfiguration.class) @ConditionalOnWebApplication 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() |
org.springframework.security.oauth2.client.token.grant.code.AuthorizationCodeResourceDetails |
oauth2RemoteResource() |
@Bean @ConfigurationProperties(value="security.oauth2.client") @Primary public org.springframework.security.oauth2.client.token.grant.code.AuthorizationCodeResourceDetails oauth2RemoteResource()
@Bean @Scope(value="request", proxyMode=INTERFACES) public org.springframework.security.oauth2.client.DefaultOAuth2ClientContext oauth2ClientContext()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.