类 OAuth2ResourceServerAutoConfiguration

java.lang.Object
cn.herodotus.engine.oauth2.resource.autoconfigure.OAuth2ResourceServerAutoConfiguration

@AutoConfiguration @EnableAsync @EnableAspectJAutoProxy(exposeProxy=true, proxyTargetClass=true) @Import(cn.herodotus.engine.oauth2.authorization.configuration.OAuth2AuthorizationConfiguration.class) @ComponentScan(basePackageClasses=cn.herodotus.engine.oauth2.core.exception.SecurityGlobalExceptionHandler.class) @RemoteApplicationEventScan("cn.herodotus.engine.oauth2.resource.autoconfigure.bus") public class OAuth2ResourceServerAutoConfiguration extends Object

Description: OAuth2 资源服务器自动配置模块

所有提供资源访问的服务(即可以作为 OAuth2 资源服务器的服务),所需的基础配置都在该模块中统一完成配置
作者:
: gengwei.zheng
Date:
: 2023/10/28 14:22
  • 构造器详细资料

    • OAuth2ResourceServerAutoConfiguration

      public OAuth2ResourceServerAutoConfiguration()
  • 方法详细资料

    • postConstruct

      @PostConstruct public void postConstruct()
    • remoteSecurityMetadataSyncListener

      @Bean @ConditionalOnMissingBean public RemoteSecurityMetadataSyncListener remoteSecurityMetadataSyncListener(SecurityMetadataSourceAnalyzer securityMetadataSourceAnalyzer, org.springframework.cloud.bus.ServiceMatcher serviceMatcher)
    • requestMappingScanEventManager

      @Bean @ConditionalOnMissingBean public cn.herodotus.engine.message.core.logic.strategy.RequestMappingScanEventManager requestMappingScanEventManager(SecurityMetadataSourceAnalyzer securityMetadataSourceAnalyzer)