@Configuration
@ConditionalOnBean(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.SessionScopedConfiguration
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
OAuth2RestOperationsConfiguration.SessionScopedConfiguration.ClientContextConfiguration |
Modifier | Constructor and Description |
---|---|
protected |
SessionScopedConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.boot.web.servlet.FilterRegistrationBean<org.springframework.security.oauth2.client.filter.OAuth2ClientContextFilter> |
oauth2ClientFilterRegistration(org.springframework.security.oauth2.client.filter.OAuth2ClientContextFilter filter,
org.springframework.boot.autoconfigure.security.SecurityProperties security) |
@Bean public org.springframework.boot.web.servlet.FilterRegistrationBean<org.springframework.security.oauth2.client.filter.OAuth2ClientContextFilter> oauth2ClientFilterRegistration(org.springframework.security.oauth2.client.filter.OAuth2ClientContextFilter filter, org.springframework.boot.autoconfigure.security.SecurityProperties security)