@Configuration
@Conditional(value=org.springframework.boot.autoconfigure.security.oauth2.client.EnableOAuth2SsoCondition.class)
public class OAuth2SsoCustomConfiguration
extends java.lang.Object
implements org.springframework.context.annotation.ImportAware, org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.context.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 |
---|---|
java.lang.Object |
postProcessAfterInitialization(java.lang.Object bean,
java.lang.String beanName) |
java.lang.Object |
postProcessBeforeInitialization(java.lang.Object bean,
java.lang.String beanName) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata) |
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
setImportMetadata
in interface org.springframework.context.annotation.ImportAware
public java.lang.Object postProcessBeforeInitialization(java.lang.Object bean, java.lang.String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
org.springframework.beans.BeansException
public java.lang.Object postProcessAfterInitialization(java.lang.Object bean, java.lang.String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
org.springframework.beans.BeansException