Class OAuth2AuthorizationCodeAuthenticationProviderConsumer

java.lang.Object
cn.herodotus.engine.oauth2.authentication.consumer.OAuth2AuthorizationCodeAuthenticationProviderConsumer
All Implemented Interfaces:
Consumer<List<org.springframework.security.authentication.AuthenticationProvider>>

public class OAuth2AuthorizationCodeAuthenticationProviderConsumer extends Object implements Consumer<List<org.springframework.security.authentication.AuthenticationProvider>>

Description: OAuth2AuthorizationCodeAuthenticationProvider 扩展

用于替换 SAS 默认配置的 OAuth2AuthorizationCodeAuthenticationProvider,以实现功能的扩展

Author:
: gengwei.zheng
Date:
: 2023/9/1 11:33
  • Constructor Details

    • OAuth2AuthorizationCodeAuthenticationProviderConsumer

      public OAuth2AuthorizationCodeAuthenticationProviderConsumer(org.springframework.security.config.annotation.web.builders.HttpSecurity httpSecurity, org.springframework.security.core.session.SessionRegistry sessionRegistry)
  • Method Details

    • accept

      public void accept(List<org.springframework.security.authentication.AuthenticationProvider> authenticationProviders)
      Specified by:
      accept in interface Consumer<List<org.springframework.security.authentication.AuthenticationProvider>>