@Configuration @Conditional(value=org.springframework.boot.autoconfigure.security.oauth2.client.EnableOAuth2SsoCondition.class) public class OAuth2SsoCustomConfiguration extends Object implements ImportAware, BeanPostProcessor, ApplicationContextAware
WebSecurityConfigurerAdapter
provided by the user and annotated with
@EnableOAuth2Sso
. The user-provided configuration is enhanced by adding an
authentication filter and an authentication entry point.Constructor and Description |
---|
OAuth2SsoCustomConfiguration() |
Modifier and Type | Method and Description |
---|---|
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
void |
setApplicationContext(ApplicationContext applicationContext) |
void |
setImportMetadata(AnnotationMetadata importMetadata) |
public void setApplicationContext(ApplicationContext applicationContext)
setApplicationContext
in interface ApplicationContextAware
public void setImportMetadata(AnnotationMetadata importMetadata)
setImportMetadata
in interface ImportAware
public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException
postProcessBeforeInitialization
in interface BeanPostProcessor
BeansException
public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException
postProcessAfterInitialization
in interface BeanPostProcessor
BeansException
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.