@Configuration public class OAuth2SsoCustomConfiguration extends Object implements ImportAware, BeanPostProcessor, BeanFactoryAware
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.Modifier and Type | Class and Description |
---|---|
protected static class |
OAuth2SsoCustomConfiguration.WebSecurityEnhancerCondition |
Constructor and Description |
---|
OAuth2SsoCustomConfiguration() |
Modifier and Type | Method and Description |
---|---|
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
void |
setBeanFactory(BeanFactory beanFactory) |
void |
setImportMetadata(AnnotationMetadata importMetadata) |
public void setBeanFactory(BeanFactory beanFactory) throws BeansException
setBeanFactory
in interface BeanFactoryAware
BeansException
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 © 2019 Pivotal Software, Inc.. All rights reserved.