Class SaAnnotationStrategy

java.lang.Object
cn.dev33.satoken.strategy.SaAnnotationStrategy

public final class SaAnnotationStrategy extends Object
Sa-Token 注解鉴权相关策略
Since:
1.39.0
Author:
click33
  • Field Details

  • Method Details

    • registerDefaultAnnotationHandler

      public void registerDefaultAnnotationHandler()
      注册所有默认的注解处理器
    • registerAnnotationHandler

      public void registerAnnotationHandler(SaAnnotationHandlerInterface<?> handler)
      注册一个注解处理器
    • registerAnnotationHandlerToFirst

      public void registerAnnotationHandlerToFirst(SaAnnotationHandlerInterface<?> handler)
      注册一个注解处理器,到首位
    • removeAnnotationHandler

      public void removeAnnotationHandler(Class<?> cls)
      移除一个注解处理器