@Configuration @ConditionalOnBean(value=org.springframework.security.oauth2.config.annotation.web.configuration.OAuth2ClientConfiguration.class) @ConditionalOnWebApplication protected static class OAuth2RestOperationsConfiguration.SessionScopedConfiguration extends OAuth2RestOperationsConfiguration.BaseConfiguration
Modifier and Type | Field and Description |
---|---|
protected org.springframework.security.oauth2.client.token.AccessTokenRequest |
accessTokenRequest |
Modifier | Constructor and Description |
---|---|
protected |
SessionScopedConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.security.oauth2.client.DefaultOAuth2ClientContext |
oauth2ClientContext() |
FilterRegistrationBean |
oauth2ClientFilterRegistration(org.springframework.security.oauth2.client.filter.OAuth2ClientContextFilter filter) |
oauth2RemoteResource
@Qualifier(value="accessTokenRequest") protected org.springframework.security.oauth2.client.token.AccessTokenRequest accessTokenRequest
@Bean @Scope(value="session", proxyMode=INTERFACES) public org.springframework.security.oauth2.client.DefaultOAuth2ClientContext oauth2ClientContext()
@Bean public FilterRegistrationBean oauth2ClientFilterRegistration(org.springframework.security.oauth2.client.filter.OAuth2ClientContextFilter filter)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.