Class SaCheckRoleHandler
java.lang.Object
cn.dev33.satoken.annotation.handler.SaCheckRoleHandler
- All Implemented Interfaces:
SaAnnotationHandlerInterface<SaCheckRole>
注解 SaCheckRole 的处理器
- Since:
- 2024/8/2
- Author:
- click33
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void_checkMethod(String type, String[] value, SaMode mode) voidcheckMethod(SaCheckRole 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
-
SaCheckRoleHandler
public SaCheckRoleHandler()
-
-
Method Details
-
getHandlerAnnotationClass
Description copied from interface:SaAnnotationHandlerInterface获取所要处理的注解类型- Specified by:
getHandlerAnnotationClassin interfaceSaAnnotationHandlerInterface<SaCheckRole>- Returns:
- /
-
checkMethod
Description copied from interface:SaAnnotationHandlerInterface所需要执行的校验方法(转换类型后)- Specified by:
checkMethodin interfaceSaAnnotationHandlerInterface<SaCheckRole>- Parameters:
at- 注解对象element- 被标注的注解的元素(方法/类)引用
-
_checkMethod
-