Class SaCheckOrHandler
java.lang.Object
cn.dev33.satoken.annotation.handler.SaCheckOrHandler
- All Implemented Interfaces:
SaAnnotationHandlerInterface<SaCheckOr>
注解 SaCheckOr 的处理器
- Since:
- 2024/8/2
- Author:
- click33
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void_checkMethod(SaCheckLogin[] login, SaCheckRole[] role, SaCheckPermission[] permission, SaCheckSafe[] safe, SaCheckHttpBasic[] httpBasic, SaCheckHttpDigest[] httpDigest, SaCheckDisable[] disable, Class<? extends Annotation>[] append, AnnotatedElement element) voidcheckMethod(SaCheckOr at, AnnotatedElement element) 所需要执行的校验方法(转换类型后)获取所要处理的注解类型Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cn.dev33.satoken.annotation.handler.SaAnnotationHandlerInterface
check
-
Constructor Details
-
SaCheckOrHandler
public SaCheckOrHandler()
-
-
Method Details
-
getHandlerAnnotationClass
Description copied from interface:SaAnnotationHandlerInterface获取所要处理的注解类型- Specified by:
getHandlerAnnotationClassin interfaceSaAnnotationHandlerInterface<SaCheckOr>- Returns:
- /
-
checkMethod
Description copied from interface:SaAnnotationHandlerInterface所需要执行的校验方法(转换类型后)- Specified by:
checkMethodin interfaceSaAnnotationHandlerInterface<SaCheckOr>- Parameters:
at- 注解对象element- 被标注的注解的元素(方法/类)引用
-
_checkMethod
public static void _checkMethod(SaCheckLogin[] login, SaCheckRole[] role, SaCheckPermission[] permission, SaCheckSafe[] safe, SaCheckHttpBasic[] httpBasic, SaCheckHttpDigest[] httpDigest, SaCheckDisable[] disable, Class<? extends Annotation>[] append, AnnotatedElement element)
-