类 AbstractAuthInterceptorAutoConfigure<A extends AuthWebProperties>

java.lang.Object
net.guerlab.cloud.auth.webmvc.autoconfigure.AbstractAuthInterceptorAutoConfigure<A>
所有已实现的接口:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

public abstract class AbstractAuthInterceptorAutoConfigure<A extends AuthWebProperties> extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
抽象鉴权拦截器配置.
作者:
guer
  • 构造器概要

    构造器
    限定符
    构造器
    说明
    protected
    初始化鉴权拦截器配置.
  • 方法概要

    修饰符和类型
    方法
    说明
    final void
    addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
     
    protected void
    addInterceptorsInternal(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
    添加其他拦截器处理.
    protected final void
    setPathPatterns(org.springframework.web.servlet.config.annotation.InterceptorRegistration interceptor)
    设置路径信息.
    void
    设置token处理拦截器列表.

    从类继承的方法 java.lang.Object

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

    从接口继承的方法 org.springframework.web.servlet.config.annotation.WebMvcConfigurer

    addArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
  • 构造器详细资料

    • AbstractAuthInterceptorAutoConfigure

      protected AbstractAuthInterceptorAutoConfigure(A properties)
      初始化鉴权拦截器配置.
      参数:
      properties - 认证配置
  • 方法详细资料

    • addInterceptors

      public final void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
      指定者:
      addInterceptors 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • addInterceptorsInternal

      protected void addInterceptorsInternal(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
      添加其他拦截器处理.
      参数:
      registry - InterceptorRegistry实例
    • setPathPatterns

      protected final void setPathPatterns(org.springframework.web.servlet.config.annotation.InterceptorRegistration interceptor)
      设置路径信息.
      参数:
      interceptor - 拦截器
    • setTokenHandlerInterceptors

      @Autowired(required=false) public void setTokenHandlerInterceptors(Collection<? extends AbstractTokenHandlerInterceptor<A>> tokenHandlerInterceptors)
      设置token处理拦截器列表.
      参数:
      tokenHandlerInterceptors - token处理拦截器列表