Class SystemWebConfig

java.lang.Object
cn.sinozg.applet.common.config.SystemWebConfig
All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@Configuration public class SystemWebConfig extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
鉴权 全局拦截器
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private cn.sinozg.applet.common.properties.AppValue
     
    private cn.sinozg.applet.common.service.FrameworkAuthService
     
    private cn.sinozg.applet.common.service.CipherService
     
    private cn.sinozg.applet.common.service.FrameworkInitDataService
     
    private final org.slf4j.Logger
     
     
    private cn.sinozg.applet.common.service.FrameworkTenantService
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addInterceptors(@NotNull org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
     
    org.springframework.boot.web.servlet.FilterRegistrationBean<WrapperFilter>
    http请求 包装

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer

    addArgumentResolvers, addCorsMappings, addErrorResponseInterceptors, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
  • Field Details

    • app

      private cn.sinozg.applet.common.properties.AppValue app
    • cipherService

      private cn.sinozg.applet.common.service.CipherService cipherService
    • paramsInterceptor

      private ParamsInterceptor paramsInterceptor
    • initDataService

      private cn.sinozg.applet.common.service.FrameworkInitDataService initDataService
    • authService

      private cn.sinozg.applet.common.service.FrameworkAuthService authService
    • tenantService

      private cn.sinozg.applet.common.service.FrameworkTenantService tenantService
    • log

      private final org.slf4j.Logger log
  • Constructor Details

    • SystemWebConfig

      public SystemWebConfig()
  • Method Details

    • addInterceptors

      public void addInterceptors(@NotNull @NotNull org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
      Specified by:
      addInterceptors in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • registrationBean

      @Bean public org.springframework.boot.web.servlet.FilterRegistrationBean<WrapperFilter> registrationBean()
      http请求 包装
      Returns:
      过滤器