类 OAuth2SsoCustomConfiguration
- java.lang.Object
- org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2SsoCustomConfiguration
- 所有已实现的接口:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.config.BeanPostProcessor
,org.springframework.context.annotation.ImportAware
,org.springframework.context.ApplicationContextAware
@Configuration @Conditional(org.springframework.boot.autoconfigure.security.oauth2.client.EnableOAuth2SsoCondition.class) public class OAuth2SsoCustomConfiguration extends Object implements org.springframework.context.annotation.ImportAware, org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.context.ApplicationContextAware
Configuration for OAuth2 Single Sign On (SSO) when there is an existingWebSecurityConfigurerAdapter
provided by the user and annotated with@EnableOAuth2Sso
. The user-provided configuration is enhanced by adding an authentication filter and an authentication entry point.
构造器概要
构造器 构造器 说明 OAuth2SsoCustomConfiguration()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Object
postProcessAfterInitialization(Object bean, String beanName)
Object
postProcessBeforeInitialization(Object bean, String beanName)
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
void
setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
构造器详细资料
OAuth2SsoCustomConfiguration
public OAuth2SsoCustomConfiguration()
方法详细资料
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
- 指定者:
setApplicationContext
在接口中org.springframework.context.ApplicationContextAware
setImportMetadata
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
- 指定者:
setImportMetadata
在接口中org.springframework.context.annotation.ImportAware
postProcessBeforeInitialization
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
- 指定者:
postProcessBeforeInitialization
在接口中org.springframework.beans.factory.config.BeanPostProcessor
- 抛出:
org.springframework.beans.BeansException
postProcessAfterInitialization
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
- 指定者:
postProcessAfterInitialization
在接口中org.springframework.beans.factory.config.BeanPostProcessor
- 抛出:
org.springframework.beans.BeansException