类 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 existing 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.
    • 方法详细资料

      • 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