索引

A B C D E F G H I J K L M N O P Q R S T U V W _ 
All Classes and Interfaces|常量字段值|所有程序包|序列化表格

A

ABNORMAL_LIST - 异常错误中的静态变量 cn.dev33.satoken.exception.NotLoginException
代表异常 token 的标志集合
ACCESS_CONTROL_EXPOSE_HEADERS - 接口中的静态变量 cn.dev33.satoken.context.model.SaResponse
指定前端可以获取到哪些响应头时使用的参数名
account() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckHttpBasic
需要校验的账号密码,格式形如 sa:123456
ACCOUNT - enum class 中的枚举常量 cn.dev33.satoken.stp.parameter.enums.SaLogoutRange
账号范围:注销 token 指向的 loginId 会话
addCookie(SaCookie) - 接口中的方法 cn.dev33.satoken.context.model.SaResponse
写入指定Cookie
addCookie(String, String, String, String, int) - 接口中的方法 cn.dev33.satoken.context.model.SaResponse
写入指定Cookie
addExclude(String...) - 接口中的方法 cn.dev33.satoken.filter.SaFilter
添加 [ 放行路由 ]
addExtraAttr(String) - 类中的方法 cn.dev33.satoken.config.SaCookieConfig
追加扩展属性
addExtraAttr(String) - 类中的方法 cn.dev33.satoken.context.model.SaCookie
追加扩展属性
addExtraAttr(String, String) - 类中的方法 cn.dev33.satoken.config.SaCookieConfig
追加扩展属性
addExtraAttr(String, String) - 类中的方法 cn.dev33.satoken.context.model.SaCookie
追加扩展属性
addHeader(String, String) - 接口中的方法 cn.dev33.satoken.context.model.SaResponse
在响应头里添加一个值
addInclude(String...) - 接口中的方法 cn.dev33.satoken.filter.SaFilter
添加 [ 拦截路由 ]
addSignParams(Map<String, Object>) - 类中的方法 cn.dev33.satoken.sign.SaSignTemplate
给 paramsMap 追加 timestamp、nonce、sign 三个参数
addSignParams(Map<String, Object>) - 类中的静态方法 cn.dev33.satoken.sign.SaSignUtil
给 paramsMap 追加 timestamp、nonce、sign 三个参数
addSignParamsAndJoin(Map<String, Object>) - 类中的方法 cn.dev33.satoken.sign.SaSignTemplate
给 paramsMap 追加 timestamp、nonce、sign 三个参数,并转换为参数字符串,形如: data=xxx8nonce=xxx8timestamp=xxx8sign=xxx
addSignParamsAndJoin(Map<String, Object>) - 类中的静态方法 cn.dev33.satoken.sign.SaSignUtil
给 paramsMap 追加 timestamp、nonce、sign 三个参数,并转换为参数字符串,形如: data=xxx8nonce=xxx8timestamp=xxx8sign=xxx
addTerminal(SaTerminalInfo) - 类中的方法 cn.dev33.satoken.session.SaSession
添加一个终端信息
aesDecrypt(String, String) - 类中的静态方法 cn.dev33.satoken.secure.SaSecureUtil
AES解密
aesEncrypt(String, String) - 类中的静态方法 cn.dev33.satoken.secure.SaSecureUtil
AES加密
ALL - enum class 中的枚举常量 cn.dev33.satoken.router.SaHttpMethod
代表全部请求方式
ALL_DEVICE_TYPE - enum class 中的枚举常量 cn.dev33.satoken.stp.parameter.enums.SaReplacedRange
所有设备类型端
allowHosts - 类中的变量 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHost
允许的 host 列表,允许通配符
allowMethods - 类中的变量 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHttpMethod
允许的 HttpMethod 列表
AND - enum class 中的枚举常量 cn.dev33.satoken.annotation.SaMode
必须具有所有的元素
annotationHandlerMap - 类中的变量 cn.dev33.satoken.strategy.SaAnnotationStrategy
注解处理器集合
ApiDisabledException - cn.dev33.satoken.exception中的异常错误
一个异常:代表 API 已被禁用
ApiDisabledException() - 异常错误的构造器 cn.dev33.satoken.exception.ApiDisabledException
一个异常:代表 API 已被禁用
ApiDisabledException(String) - 异常错误的构造器 cn.dev33.satoken.exception.ApiDisabledException
一个异常:代表 API 已被禁用
appid() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckSign
多实例下的 appid 值,用于区分不同的实例,如不填写则代表使用全局默认实例
允许以 #{} 的形式指定为请求参数,如:#{appid}
ApplicationInfo - cn.dev33.satoken.application中的类
应用全局信息
ApplicationInfo() - 类的构造器 cn.dev33.satoken.application.ApplicationInfo
 
arrayJoin(String[]) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
将数组的所有元素使用逗号拼接在一起
ASSEMBLY_ORDER - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
切面、拦截器、过滤器等各种组件的注册优先级顺序
autoRenew - 类中的变量 cn.dev33.satoken.strategy.SaStrategy
是否自动续期

B

back() - 类中的静态方法 cn.dev33.satoken.router.SaRouter
停止匹配,结束执行,向前端返回结果
back() - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
停止匹配,结束执行,向前端返回结果
back(Object) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
停止匹配,结束执行,向前端返回结果
back(Object) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
停止匹配,结束执行,向前端返回结果
BackResultException - cn.dev33.satoken.exception中的异常错误
一个异常:代表停止匹配,直接退出,向前端输出结果 (框架内部专属异常,一般情况下开发者无需关注)
BackResultException(Object) - 异常错误的构造器 cn.dev33.satoken.exception.BackResultException
构造
bannedPercentage - 类中的变量 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForPathBannedCharacter
是否严格禁止出现百分号字符 % (默认:否)
BCrypt - cn.dev33.satoken.secure中的类
已过时。
BCrypt() - 类的构造器 cn.dev33.satoken.secure.BCrypt
已过时。
 
BE_MESSAGE - 异常错误中的静态变量 cn.dev33.satoken.exception.ApiDisabledException
异常提示语
BE_MESSAGE - 异常错误中的静态变量 cn.dev33.satoken.exception.DisableServiceException
异常提示语
BE_MESSAGE - 异常错误中的静态变量 cn.dev33.satoken.exception.NotHttpBasicAuthException
异常提示语
BE_MESSAGE - 异常错误中的静态变量 cn.dev33.satoken.exception.NotHttpDigestAuthException
异常提示语
BE_MESSAGE - 异常错误中的静态变量 cn.dev33.satoken.exception.NotSafeException
异常提示语
BE_REPLACED - 异常错误中的静态变量 cn.dev33.satoken.exception.NotLoginException
表示 token 已被顶下线
BE_REPLACED_MESSAGE - 异常错误中的静态变量 cn.dev33.satoken.exception.NotLoginException
 
BE_VALUE - 异常错误中的静态变量 cn.dev33.satoken.exception.DisableServiceException
已过时。
blackPaths - 类中的变量 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForBlackPath
请求 path 黑名单
Box(SaRequest, SaResponse, SaStorage) - 类的构造器 cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage.Box
 
boxThreadLocal - 类中的静态变量 cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage
基于 ThreadLocal 的 [ Box 存储器 ]
builder() - 类中的方法 cn.dev33.satoken.context.model.SaCookie
构建一下
buildResponseHeaderValue(SaHttpDigestModel) - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestTemplate
构建认证失败的响应头参数
bytesToHex(byte[]) - 类中的静态方法 cn.dev33.satoken.util.SaHexUtil
将字节数组转换为十六进制字符串(JDK8兼容)
bytesToObject(byte[]) - 接口中的方法 cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdk
 
bytesToObject(byte[]) - 类中的方法 cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJson
 
bytesToObject(byte[]) - 接口中的方法 cn.dev33.satoken.serializer.SaSerializerTemplate
反序列化:字节数组 → 对象
bytesToString(byte[]) - 接口中的方法 cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdk
byte[] 转换为 String
bytesToString(byte[]) - 类中的方法 cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdkUseBase64
 
bytesToString(byte[]) - 类中的方法 cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdkUseHex
 
bytesToString(byte[]) - 类中的方法 cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdkUseISO_8859_1
 

C

C_BACKSLASH - 类中的静态变量 cn.dev33.satoken.util.StrFormatter
 
calcResponse(SaHttpDigestModel) - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestTemplate
计算:根据 Digest 参数计算 response
check - 类中的变量 cn.dev33.satoken.strategy.SaFirewallStrategy
防火墙校验函数
check() - 类中的方法 cn.dev33.satoken.httpauth.basic.SaHttpBasicTemplate
对当前会话进行 Basic 校验(使用全局配置的账号密码),校验不通过则抛出异常
check() - 类中的静态方法 cn.dev33.satoken.httpauth.basic.SaHttpBasicUtil
对当前会话进行 Basic 校验(使用全局配置的账号密码),校验不通过则抛出异常
check() - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestTemplate
校验:根据全局配置参数,校验不通过抛出异常
check() - 类中的静态方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestUtil
校验:根据全局配置参数,校验不通过抛出异常
check(SaFunction) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
执行校验函数 (无参)
check(SaParamFunction<SaRouterStaff>) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
执行校验函数 (带参)
check(SaHttpDigestModel) - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestTemplate
校验:根据提供 Digest 参数计算 res,与 request 请求中的 Digest 参数进行校验,校验不通过则抛出异常
check(SaHttpDigestModel) - 类中的静态方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestUtil
校验:根据提供 Digest 参数计算 res,与 request 请求中的 Digest 参数进行校验,校验不通过则抛出异常
check(Annotation, Method) - 接口中的方法 cn.dev33.satoken.annotation.handler.SaAnnotationHandlerInterface
所需要执行的校验方法
check(String) - 类中的方法 cn.dev33.satoken.httpauth.basic.SaHttpBasicTemplate
对当前会话进行 Basic 校验(手动设置账号密码),校验不通过则抛出异常
check(String) - 类中的静态方法 cn.dev33.satoken.httpauth.basic.SaHttpBasicUtil
对当前会话进行 Basic 校验(手动设置账号密码),校验不通过则抛出异常
check(String, String) - 类中的方法 cn.dev33.satoken.httpauth.basic.SaHttpBasicTemplate
对当前会话进行 Basic 校验(手动设置 Realm 和 账号密码),校验不通过则抛出异常
check(String, String) - 类中的静态方法 cn.dev33.satoken.httpauth.basic.SaHttpBasicUtil
对当前会话进行 Basic 校验(手动设置 Realm 和 账号密码),校验不通过则抛出异常
check(String, String) - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestTemplate
校验:根据提供的参数,校验不通过抛出异常
check(String, String) - 类中的静态方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestUtil
校验:根据提供的参数,校验不通过抛出异常
check(String, String, String) - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestTemplate
校验:根据提供的参数,校验不通过抛出异常
check(String, String, String) - 类中的静态方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestUtil
校验:根据提供的参数,校验不通过抛出异常
checkActiveTimeout() - 类中的方法 cn.dev33.satoken.stp.StpLogic
检查当前 token 是否已被冻结,如果是则抛出异常
checkActiveTimeout() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
检查当前 token 是否已被冻结,如果是则抛出异常
checkActiveTimeout(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
检查指定 token 是否已被冻结,如果是则抛出异常
checkByAnnotation(SaCheckHttpDigest) - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestTemplate
已过时。
checkByAnnotation(SaCheckHttpDigest) - 类中的静态方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestUtil
已过时。
checkCurrentRequestToken() - 类中的方法 cn.dev33.satoken.same.SaSameTemplate
校验当前 Request 上下文提供的 Same-Token 是否有效 (如果无效则抛出异常)
checkCurrentRequestToken() - 类中的静态方法 cn.dev33.satoken.same.SaSameUtil
校验当前 Request 上下文提供的 Same-Token 是否有效 (如果无效则抛出异常)
checkDisable(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
校验:指定账号是否已被封禁,如果被封禁则抛出异常
checkDisable(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
校验:指定账号是否已被封禁,如果被封禁则抛出异常
checkDisable(Object, String...) - 类中的方法 cn.dev33.satoken.stp.StpLogic
校验:指定账号 指定服务 是否已被封禁,如果被封禁则抛出异常
checkDisable(Object, String...) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
校验:指定账号 指定服务 是否已被封禁,如果被封禁则抛出异常
checkDisableLevel(Object, int) - 类中的方法 cn.dev33.satoken.stp.StpLogic
校验:指定账号是否已被封禁到指定等级(如果已经达到,则抛出异常)
checkDisableLevel(Object, int) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
校验:指定账号是否已被封禁到指定等级(如果已经达到,则抛出异常)
checkDisableLevel(Object, String, int) - 类中的方法 cn.dev33.satoken.stp.StpLogic
校验:指定账号的指定服务,是否已被封禁到指定等级(如果已经达到,则抛出异常)
checkDisableLevel(Object, String, int) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
校验:指定账号的指定服务,是否已被封禁到指定等级(如果已经达到,则抛出异常)
checkELRootMapExtendFunction - 类中的变量 cn.dev33.satoken.strategy.SaAnnotationStrategy
SaCheckELRootMap 扩展函数
checkFailHandle - 类中的变量 cn.dev33.satoken.strategy.SaFirewallStrategy
当请求 path 校验不通过时地处理方案,自定义示例:
checkHooks - 类中的变量 cn.dev33.satoken.strategy.SaFirewallStrategy
防火墙校验钩子函数集合
checkLogin() - 类中的方法 cn.dev33.satoken.stp.StpLogic
检验当前会话是否已经登录,如未登录,则抛出异常
checkLogin() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
检验当前会话是否已经登录,如未登录,则抛出异常
checkLoginArgs(Object, SaLoginParameter) - 类中的方法 cn.dev33.satoken.stp.StpLogic
校验登录时的参数有效性,如果有问题会打印警告或抛出异常
checkMethod(SaCheckDisable, Method) - 类中的方法 cn.dev33.satoken.annotation.handler.SaCheckDisableHandler
 
checkMethod(SaCheckHttpBasic, Method) - 类中的方法 cn.dev33.satoken.annotation.handler.SaCheckHttpBasicHandler
 
checkMethod(SaCheckHttpDigest, Method) - 类中的方法 cn.dev33.satoken.annotation.handler.SaCheckHttpDigestHandler
 
checkMethod(SaCheckLogin, Method) - 类中的方法 cn.dev33.satoken.annotation.handler.SaCheckLoginHandler
 
checkMethod(SaCheckOr, Method) - 类中的方法 cn.dev33.satoken.annotation.handler.SaCheckOrHandler
 
checkMethod(SaCheckPermission, Method) - 类中的方法 cn.dev33.satoken.annotation.handler.SaCheckPermissionHandler
 
checkMethod(SaCheckRole, Method) - 类中的方法 cn.dev33.satoken.annotation.handler.SaCheckRoleHandler
 
checkMethod(SaCheckSafe, Method) - 类中的方法 cn.dev33.satoken.annotation.handler.SaCheckSafeHandler
 
checkMethod(SaCheckSign, Method) - 类中的方法 cn.dev33.satoken.annotation.handler.SaCheckSignHandler
 
checkMethod(SaIgnore, Method) - 类中的方法 cn.dev33.satoken.annotation.handler.SaIgnoreHandler
 
checkMethod(T, Method) - 接口中的方法 cn.dev33.satoken.annotation.handler.SaAnnotationHandlerInterface
所需要执行的校验方法(转换类型后)
checkMethodAnnotation - 类中的变量 cn.dev33.satoken.strategy.SaAnnotationStrategy
对一个 [Method] 对象进行注解校验 (注解鉴权内部实现)
checkNonce(String) - 类中的方法 cn.dev33.satoken.sign.SaSignTemplate
校验:随机字符串 nonce 是否有效,如果无效则抛出异常。
checkNonce(String) - 类中的静态方法 cn.dev33.satoken.sign.SaSignUtil
校验:随机字符串 nonce 是否有效,如果无效则抛出异常。
checkParamMap(Map<String, String>) - 类中的方法 cn.dev33.satoken.sign.SaSignTemplate
校验:参数列表中的 nonce、timestamp、sign 是否均为合法的,如果不合法,则抛出对应的异常
checkParamMap(Map<String, String>) - 类中的静态方法 cn.dev33.satoken.sign.SaSignUtil
校验:参数列表中的 nonce、timestamp、sign 是否均为合法的,如果不合法,则抛出对应的异常
checkPermission(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
校验:当前账号是否含有指定权限, 如果验证未通过,则抛出异常: NotPermissionException
checkPermission(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
校验:当前账号是否含有指定权限, 如果验证未通过,则抛出异常: NotPermissionException
checkPermissionAnd(String...) - 类中的方法 cn.dev33.satoken.stp.StpLogic
校验:当前账号是否含有指定权限 [ 指定多个,必须全部验证通过 ]
checkPermissionAnd(String...) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
校验:当前账号是否含有指定权限 [ 指定多个,必须全部验证通过 ]
checkPermissionOr(String...) - 类中的方法 cn.dev33.satoken.stp.StpLogic
校验:当前账号是否含有指定权限 [ 指定多个,只要其一验证通过即可 ]
checkPermissionOr(String...) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
校验:当前账号是否含有指定权限 [ 指定多个,只要其一验证通过即可 ]
checkpw(String, String) - 类中的静态方法 cn.dev33.satoken.secure.BCrypt
已过时。
检查明文密码文本是否匹配加密后的文本
checkRequest(SaRequest, String...) - 类中的方法 cn.dev33.satoken.sign.SaSignTemplate
校验:一个请求的 nonce、timestamp、sign 是否均为合法的,如果不合法,则抛出对应的异常
checkRequest(SaRequest, String...) - 类中的静态方法 cn.dev33.satoken.sign.SaSignUtil
校验:一个请求的 nonce、timestamp、sign 是否均为合法的,如果不合法,则抛出对应的异常
checkRole(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
校验:当前账号是否含有指定角色标识, 如果验证未通过,则抛出异常: NotRoleException
checkRole(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
校验:当前账号是否含有指定角色标识, 如果验证未通过,则抛出异常: NotRoleException
checkRoleAnd(String...) - 类中的方法 cn.dev33.satoken.stp.StpLogic
校验:当前账号是否含有指定角色标识 [ 指定多个,必须全部验证通过 ]
checkRoleAnd(String...) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
校验:当前账号是否含有指定角色标识 [ 指定多个,必须全部验证通过 ]
checkRoleOr(String...) - 类中的方法 cn.dev33.satoken.stp.StpLogic
校验:当前账号是否含有指定角色标识 [ 指定多个,只要其一验证通过即可 ]
checkRoleOr(String...) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
校验:当前账号是否含有指定角色标识 [ 指定多个,只要其一验证通过即可 ]
checkSafe() - 类中的方法 cn.dev33.satoken.stp.StpLogic
校验:当前会话是否已通过二级认证,如未通过则抛出异常
checkSafe() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
校验:当前会话是否已通过二级认证,如未通过则抛出异常
checkSafe(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
校验:检查当前会话是否已通过指定业务的二级认证,如未通过则抛出异常
checkSafe(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
校验:检查当前会话是否已通过指定业务的二级认证,如未通过则抛出异常
checkSign(Map<String, ?>, String) - 类中的方法 cn.dev33.satoken.sign.SaSignTemplate
校验:给定的参数 生成的签名是否为有效签名,如果签名无效则抛出异常
checkSign(Map<String, ?>, String) - 类中的静态方法 cn.dev33.satoken.sign.SaSignUtil
校验:给定的参数 生成的签名是否为有效签名,如果签名无效则抛出异常
checkTimestamp(long) - 类中的方法 cn.dev33.satoken.sign.SaSignTemplate
校验:指定时间戳与当前时间戳的差距是否在允许的范围内,如果超出则抛出异常
checkTimestamp(long) - 类中的静态方法 cn.dev33.satoken.sign.SaSignUtil
校验:指定时间戳与当前时间戳的差距是否在允许的范围内,如果超出则抛出异常
checkToken(String) - 类中的方法 cn.dev33.satoken.same.SaSameTemplate
校验一个 Same-Token 是否有效 (如果无效则抛出异常)
checkToken(String) - 类中的静态方法 cn.dev33.satoken.same.SaSameUtil
校验一个 Same-Token 是否有效 (如果无效则抛出异常)
clear() - 类中的方法 cn.dev33.satoken.application.SaApplication
清空当前存入的所有 key
clear() - 类中的方法 cn.dev33.satoken.session.SaSession
清空所有挂载数据
clearBox() - 类中的静态方法 cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage
清除当前线程的 [ Box 存储器 ]
clearLastActive(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
清除指定 Token 的 [ 最后活跃时间记录 ]
clearListener() - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
清空所有已注册的侦听器
closeSafe() - 类中的方法 cn.dev33.satoken.stp.StpLogic
在当前会话 结束二级认证
closeSafe() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
在当前会话 结束二级认证
closeSafe(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
在当前会话 结束指定业务标识的二级认证
closeSafe(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
在当前会话 结束指定业务标识的二级认证
cn.dev33.satoken - 程序包 cn.dev33.satoken
 
cn.dev33.satoken.annotation - 程序包 cn.dev33.satoken.annotation
 
cn.dev33.satoken.annotation.handler - 程序包 cn.dev33.satoken.annotation.handler
 
cn.dev33.satoken.application - 程序包 cn.dev33.satoken.application
 
cn.dev33.satoken.config - 程序包 cn.dev33.satoken.config
 
cn.dev33.satoken.context - 程序包 cn.dev33.satoken.context
 
cn.dev33.satoken.context.model - 程序包 cn.dev33.satoken.context.model
因为不能确定最终运行的 web 容器属于标准 Servlet 模型还是非 Servlet 模型,特封装此包下的包装类进行对接。
cn.dev33.satoken.context.second - 程序包 cn.dev33.satoken.context.second
 
cn.dev33.satoken.dao - 程序包 cn.dev33.satoken.dao
 
cn.dev33.satoken.dao.auto - 程序包 cn.dev33.satoken.dao.auto
 
cn.dev33.satoken.dao.timedcache - 程序包 cn.dev33.satoken.dao.timedcache
 
cn.dev33.satoken.error - 程序包 cn.dev33.satoken.error
 
cn.dev33.satoken.exception - 程序包 cn.dev33.satoken.exception
 
cn.dev33.satoken.filter - 程序包 cn.dev33.satoken.filter
 
cn.dev33.satoken.fun - 程序包 cn.dev33.satoken.fun
 
cn.dev33.satoken.fun.hooks - 程序包 cn.dev33.satoken.fun.hooks
 
cn.dev33.satoken.fun.strategy - 程序包 cn.dev33.satoken.fun.strategy
 
cn.dev33.satoken.httpauth.basic - 程序包 cn.dev33.satoken.httpauth.basic
 
cn.dev33.satoken.httpauth.digest - 程序包 cn.dev33.satoken.httpauth.digest
 
cn.dev33.satoken.json - 程序包 cn.dev33.satoken.json
 
cn.dev33.satoken.listener - 程序包 cn.dev33.satoken.listener
 
cn.dev33.satoken.log - 程序包 cn.dev33.satoken.log
 
cn.dev33.satoken.model.wrapperInfo - 程序包 cn.dev33.satoken.model.wrapperInfo
 
cn.dev33.satoken.plugin - 程序包 cn.dev33.satoken.plugin
 
cn.dev33.satoken.router - 程序包 cn.dev33.satoken.router
 
cn.dev33.satoken.same - 程序包 cn.dev33.satoken.same
 
cn.dev33.satoken.secure - 程序包 cn.dev33.satoken.secure
 
cn.dev33.satoken.serializer - 程序包 cn.dev33.satoken.serializer
 
cn.dev33.satoken.serializer.impl - 程序包 cn.dev33.satoken.serializer.impl
 
cn.dev33.satoken.session - 程序包 cn.dev33.satoken.session
 
cn.dev33.satoken.sign - 程序包 cn.dev33.satoken.sign
 
cn.dev33.satoken.stp - 程序包 cn.dev33.satoken.stp
 
cn.dev33.satoken.stp.parameter - 程序包 cn.dev33.satoken.stp.parameter
 
cn.dev33.satoken.stp.parameter.enums - 程序包 cn.dev33.satoken.stp.parameter.enums
 
cn.dev33.satoken.strategy - 程序包 cn.dev33.satoken.strategy
 
cn.dev33.satoken.strategy.hooks - 程序包 cn.dev33.satoken.strategy.hooks
 
cn.dev33.satoken.temp - 程序包 cn.dev33.satoken.temp
 
cn.dev33.satoken.util - 程序包 cn.dev33.satoken.util
 
cnonce - 类中的变量 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
客户端随机数,由客户端提供
code(int) - 类中的静态方法 cn.dev33.satoken.util.SaResult
 
CODE_10001 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
未能获取有效的上下文处理器
CODE_10002 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
未能获取有效的上下文
CODE_10003 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
JSON 转换器未实现
CODE_10011 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
未能从全局 StpLogic 集合中找到对应 type 的 StpLogic
CODE_10021 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
指定的配置文件加载失败
CODE_10022 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
配置文件属性无法正常读取
CODE_10031 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
重置的侦听器集合不可以为空
CODE_10032 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
注册的侦听器不可以为空
CODE_10301 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
提供的 Same-Token 是无效的
CODE_10311 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
表示未能通过 Http Basic 认证校验
CODE_10312 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
表示未能通过 Http Digest 认证校验
CODE_10321 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
提供的 HttpMethod 是无效的
CODE_11001 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
未能读取到有效Token
CODE_11002 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
登录时的账号id值为空
CODE_11003 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
更改 Token 指向的 账号Id 时,账号Id值为空
CODE_11011 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
未能读取到有效Token
CODE_11012 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
Token无效
CODE_11013 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
Token已过期
CODE_11014 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
Token已被顶下线
CODE_11015 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
Token已被踢下线
CODE_11016 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
Token已被冻结
CODE_11017 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
前端未按照指定的前缀提交 token
CODE_11031 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
在未集成 sa-token-jwt 插件时调用 getExtra() 抛出异常
CODE_11041 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
缺少指定的角色
CODE_11051 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
缺少指定的权限
CODE_11061 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
当前账号未通过服务封禁校验
CODE_11062 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
提供要解禁的账号无效
CODE_11063 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
提供要解禁的服务无效
CODE_11064 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
提供要解禁的等级无效
CODE_11071 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
二级认证校验未通过
CODE_11072 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
获取 SaSession 时提供的 SessionId 为空
CODE_11073 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
获取 Token-Session 时提供的 token 为空
CODE_12001 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
请求中缺少指定的参数
CODE_12002 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
构建 Cookie 时缺少 name 参数
CODE_12003 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
构建 Cookie 时缺少 value 参数
CODE_12101 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
Base64 编码异常
CODE_12102 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
Base64 解码异常
CODE_12103 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
URL 编码异常
CODE_12104 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
URL 解码异常
CODE_12111 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
md5 加密异常
CODE_12112 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
sha1 加密异常
CODE_12113 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
sha256 加密异常
CODE_121131 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
sha384 加密异常
CODE_121132 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
sha512 加密异常
CODE_12114 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
AES 加密异常
CODE_12115 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
AES 解密异常
CODE_12116 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
RSA 公钥加密异常
CODE_12117 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
RSA 私钥加密异常
CODE_12118 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
RSA 公钥解密异常
CODE_12119 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
RSA 私钥解密异常
CODE_12201 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
参与参数签名的秘钥不可为空
CODE_12202 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
给定的签名无效
CODE_12203 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
timestamp 超出允许的范围
CODE_12211 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
未找到对应 appid 的 SaSignConfig
CODE_ERROR - 类中的静态变量 cn.dev33.satoken.util.SaResult
 
CODE_SUCCESS - 类中的静态变量 cn.dev33.satoken.util.SaResult
 
CODE_UNDEFINED - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
代表这个异常在抛出时未指定异常细分状态码
config - 类中的静态变量 cn.dev33.satoken.SaManager
全局配置对象
configPath - 类中的静态变量 cn.dev33.satoken.config.SaTokenConfigFactory
配置文件地址
CONNECT - enum class 中的枚举常量 cn.dev33.satoken.router.SaHttpMethod
 
CONTENT_TYPE_APPLICATION_JSON - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
Content-Type application/json;charset=UTF-8
CONTENT_TYPE_KEY - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
Content-Type key
CONTENT_TYPE_TEXT_PLAIN - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
Content-Type text/plain; charset=utf-8
convertArrayToString(String[]) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
Array 转 String,按照逗号连接
convertListToString(List<?>) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
将指定集合按照逗号连接成一个字符串
convertStringToArray(String) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
String 转 Array,按照逗号切割
convertStringToList(String) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
将指定字符串按照逗号分隔符转化为字符串集合
cookie - 类中的变量 cn.dev33.satoken.config.SaTokenConfig
Cookie配置对象
copyHopeToReq(SaHttpDigestModel, SaHttpDigestModel) - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestTemplate
把 hopeModel 有的值都 copy 到 reqModel 中
create() - 接口中的方法 cn.dev33.satoken.context.second.SaTokenSecondContextCreator
创建一个二级 Context 处理器
create() - 类中的静态方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
静态方法获取一个 SaLoginParameter 对象
create() - 类中的静态方法 cn.dev33.satoken.stp.parameter.SaLogoutParameter
静态方法获取一个 SaLoginParameter 对象
create() - 类中的静态方法 cn.dev33.satoken.stp.SaLoginConfig
已过时。
静态方法获取一个 SaLoginParameter 对象
createConfig() - 类中的静态方法 cn.dev33.satoken.config.SaTokenConfigFactory
根据 configPath 路径获取配置信息
createConfig(String) - 类中的静态方法 cn.dev33.satoken.config.SaTokenConfigFactory
根据指定路径路径获取配置信息
createDisabled(long, int) - 类中的静态方法 cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
创建一个已封禁描述对象
createLoginSession(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
创建指定账号 id 的登录会话数据
createLoginSession(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
创建指定账号 id 的登录会话数据
createLoginSession(Object, SaLoginParameter) - 类中的方法 cn.dev33.satoken.stp.StpLogic
创建指定账号 id 的登录会话数据
createLoginSession(Object, SaLoginParameter) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
创建指定账号 id 的登录会话数据
createNotDisabled() - 类中的静态方法 cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
创建一个未封禁描述对象
createNotDisabled(long) - 类中的静态方法 cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
创建一个未封禁描述对象,并指定缓存时间,指定时间内不再重复查询
createSaLoginParameter() - 类中的方法 cn.dev33.satoken.stp.StpLogic
根据当前配置对象创建一个 SaLoginParameter 对象
createSaLoginParameter() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
根据当前配置对象创建一个 SaLoginParameter 对象
createSaLogoutParameter() - 类中的方法 cn.dev33.satoken.stp.StpLogic
根据当前配置对象创建一个 SaLogoutParameter 对象
createSession - 类中的变量 cn.dev33.satoken.strategy.SaStrategy
创建 Session 的策略
createSign(Map<String, ?>) - 类中的方法 cn.dev33.satoken.sign.SaSignTemplate
创建签名:md5(paramsStr + keyStr)
createSign(Map<String, ?>) - 类中的静态方法 cn.dev33.satoken.sign.SaSignUtil
创建签名:md5(paramsStr + keyStr)
createStpLogic - 类中的变量 cn.dev33.satoken.strategy.SaStrategy
创建 StpLogic 的算法
createToken - 类中的变量 cn.dev33.satoken.strategy.SaStrategy
创建 Token 的策略
createToken() - 类中的方法 cn.dev33.satoken.same.SaSameTemplate
创建一个 Same-Token
createToken(Object, long) - 接口中的方法 cn.dev33.satoken.temp.SaTempInterface
为指定 value 创建一个临时 Token
createToken(Object, long) - 类中的静态方法 cn.dev33.satoken.temp.SaTempUtil
为指定 value 创建一个临时 Token
createToken(String, Object, long) - 接口中的方法 cn.dev33.satoken.temp.SaTempInterface
为指定 业务标识、指定 value 创建一个 Token
createToken(String, Object, long) - 类中的静态方法 cn.dev33.satoken.temp.SaTempUtil
为指定 业务标识、指定 value 创建一个 Token
createTokenValue(Object, String, long, Map<String, Object>) - 类中的方法 cn.dev33.satoken.stp.StpLogic
为指定账号创建一个 token (只是把 token 创建出来,并不持久化存储)
crypt(byte[], byte[], int, int[]) - 类中的方法 cn.dev33.satoken.secure.BCrypt
已过时。
加密密文
CURR_DEVICE_TYPE - enum class 中的枚举常量 cn.dev33.satoken.stp.parameter.enums.SaReplacedRange
当前指定的设备类型端
cutPathPrefix(String) - 类中的静态方法 cn.dev33.satoken.application.ApplicationInfo
为指定 path 裁剪掉 routePrefix 前缀

D

dangerCharacter - 类中的变量 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForPathDangerCharacter
请求 path 不允许出现的危险字符
data(Object) - 类中的静态方法 cn.dev33.satoken.util.SaResult
 
dataMap - 类中的变量 cn.dev33.satoken.dao.timedcache.SaTimedCache
存储数据的集合
debug - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
 
debug(String, Object...) - 接口中的方法 cn.dev33.satoken.log.SaLog
输出 debug 日志
debug(String, Object...) - 类中的方法 cn.dev33.satoken.log.SaLogForConsole
 
DEBUG_COLOR - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
 
DEBUG_PREFIX - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
 
decode(String) - 类中的静态方法 cn.dev33.satoken.secure.SaBase64Util
Base64解码,String 转 String
decoderUrl(String) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
URL解码
decodeStringToBytes(String) - 类中的静态方法 cn.dev33.satoken.secure.SaBase64Util
Base64解码,String 转 byte[]
DEFAULT_COLOR - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
 
DEFAULT_DISABLE_LEVEL - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
常量 key 标记: 在封禁账号时,默认封禁的等级
DEFAULT_DISABLE_SERVICE - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
常量 key 标记: 在封禁账号时,默认封禁的服务类型
DEFAULT_LOGIN_DEVICE_TYPE - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
常量 key 标记: 在登录时,默认使用的设备类型
DEFAULT_MESSAGE - 异常错误中的静态变量 cn.dev33.satoken.exception.NotLoginException
默认的提示语
DEFAULT_QOP - 类中的静态变量 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
默认的 qop 值
DEFAULT_REALM - 类中的静态变量 cn.dev33.satoken.httpauth.basic.SaHttpBasicTemplate
默认的 Realm 领域名称
DEFAULT_REALM - 类中的静态变量 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
默认的 Realm 领域名称
DEFAULT_SAFE_AUTH_SERVICE - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
常量 key 标记: 在进行 Token 二级验证时,默认的业务类型
DEFAULT_TEMP_TOKEN_SERVICE - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
常量 key 标记: 临时 Token 认证模块,默认的业务类型
defaultContext - 类中的静态变量 cn.dev33.satoken.context.SaTokenContextDefaultImpl
默认的上下文处理器对象
defaultInstance - 类中的静态变量 cn.dev33.satoken.application.SaApplication
默认实例
delete(String) - 类中的方法 cn.dev33.satoken.application.SaApplication
删值
delete(String) - 接口中的方法 cn.dev33.satoken.application.SaSetValueInterface
删值
delete(String) - 接口中的方法 cn.dev33.satoken.context.model.SaStorage
删值
delete(String) - 接口中的方法 cn.dev33.satoken.dao.auto.SaTokenDaoByStringFollowObject
 
delete(String) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
删除 value
delete(String) - 类中的方法 cn.dev33.satoken.session.SaSession
删值
DELETE - enum class 中的枚举常量 cn.dev33.satoken.router.SaHttpMethod
 
deleteCookie(String) - 接口中的方法 cn.dev33.satoken.context.model.SaResponse
删除指定Cookie
deleteCookie(String, String, String) - 接口中的方法 cn.dev33.satoken.context.model.SaResponse
删除指定Cookie
deleteObject(String) - 接口中的方法 cn.dev33.satoken.dao.auto.SaTokenDaoByObjectFollowString
删除 Object
deleteObject(String) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
删除 Object
deleteObject(String) - 类中的方法 cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
deleteObject(String) - 类中的方法 cn.dev33.satoken.dao.timedcache.SaTimedCache
 
deleteSession(String) - 接口中的方法 cn.dev33.satoken.dao.auto.SaTokenDaoBySessionFollowObject
删除 SaSession
deleteSession(String) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
删除 SaSession
deleteSessionById(String) - 类中的静态方法 cn.dev33.satoken.session.SaSessionCustomUtil
删除指定 key 的 SaSession
deleteToken(String) - 接口中的方法 cn.dev33.satoken.temp.SaTempInterface
删除一个 Token
deleteToken(String) - 类中的静态方法 cn.dev33.satoken.temp.SaTempUtil
删除一个 Token
deleteToken(String, String) - 接口中的方法 cn.dev33.satoken.temp.SaTempInterface
删除一个 Token
deleteToken(String, String) - 类中的静态方法 cn.dev33.satoken.temp.SaTempUtil
删除一个 Token
deleteTokenSession(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
删除指定 token 的 Token-Session
deleteTokenToIdMapping(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
删除 token - id 映射
destroy() - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
当此 SaTokenDao 实例被卸载时触发
destroy() - 类中的方法 cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
组件被卸载时,结束定时任务,不再定时清理过期数据
destroy() - 接口中的方法 cn.dev33.satoken.plugin.SaTokenPlugin
卸载插件
destroyPlugin(SaTokenPlugin) - 类中的方法 cn.dev33.satoken.plugin.SaTokenPluginHolder
卸载指定插件
destroyPlugin(Class<T>) - 类中的方法 cn.dev33.satoken.plugin.SaTokenPluginHolder
卸载指定插件,根据插件类型
DEV_DOC_URL - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
Sa-Token 开发文档地址
digestFullStr(String) - 类中的方法 cn.dev33.satoken.sign.SaSignTemplate
使用摘要算法创建签名
digestMethod - 类中的变量 cn.dev33.satoken.config.SaSignConfig
对 fullStr 的摘要算法函数
disable() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckOr
设定 @SaCheckDisable,参考 SaCheckDisable
disable(Object, long) - 类中的方法 cn.dev33.satoken.stp.StpLogic
封禁:指定账号
disable(Object, long) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
封禁:指定账号
disable(Object, String, long) - 类中的方法 cn.dev33.satoken.stp.StpLogic
封禁:指定账号的指定服务
disable(Object, String, long) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
封禁:指定账号的指定服务
disableLevel - 类中的变量 cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
封禁等级(最小1级,0=未封禁)
disableLevel(Object, int, long) - 类中的方法 cn.dev33.satoken.stp.StpLogic
封禁:指定账号,并指定封禁等级
disableLevel(Object, int, long) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
封禁:指定账号,并指定封禁等级
disableLevel(Object, String, int, long) - 类中的方法 cn.dev33.satoken.stp.StpLogic
封禁:指定账号的指定服务,并指定封禁等级
disableLevel(Object, String, int, long) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
封禁:指定账号的指定服务,并指定封禁等级
DisableServiceException - cn.dev33.satoken.exception中的异常错误
一个异常:代表指定账号的指定服务已被封禁
DisableServiceException(String, Object, String, int, int, long) - 异常错误的构造器 cn.dev33.satoken.exception.DisableServiceException
一个异常:代表指定账号指定服务已被封禁
disableTime - 类中的变量 cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
封禁剩余时间,单位:秒(-1=永久封禁,0 or -2=未封禁)
distUsableToken(Object, SaLoginParameter) - 类中的方法 cn.dev33.satoken.stp.StpLogic
为指定账号 id 的登录操作,分配一个可用的 token
doCloseSafe(String, String, String) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
事件发布:xx 账号关闭二级认证
doCloseSafe(String, String, String) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
每次关闭二级认证时触发
doCloseSafe(String, String, String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
每次关闭二级认证时触发
doCloseSafe(String, String, String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForSimple
 
doCreateSession(String) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
事件发布:创建了一个新的 SaSession
doCreateSession(String) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
每次创建 SaSession 时触发
doCreateSession(String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
每次创建Session时触发
doCreateSession(String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForSimple
 
doDisable(String, Object, String, int, long) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
事件发布:xx 账号被封禁
doDisable(String, Object, String, int, long) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
每次被封禁时触发
doDisable(String, Object, String, int, long) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
每次被封禁时触发
doDisable(String, Object, String, int, long) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForSimple
 
doKickout(String, Object, String) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
事件发布:xx 账号被踢下线
doKickout(String, Object, String) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
每次被踢下线时触发
doKickout(String, Object, String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
每次被踢下线时触发
doKickout(String, Object, String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForSimple
 
doLogin(String, Object, String, SaLoginParameter) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
事件发布:xx 账号登录
doLogin(String, Object, String, SaLoginParameter) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
每次登录时触发
doLogin(String, Object, String, SaLoginParameter) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
每次登录时触发
doLogin(String, Object, String, SaLoginParameter) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForSimple
 
doLogout(String, Object, String) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
事件发布:xx 账号注销
doLogout(String, Object, String) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
每次注销时触发
doLogout(String, Object, String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
每次注销时触发
doLogout(String, Object, String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForSimple
 
doLogoutSession(String) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
事件发布:一个 SaSession 注销了
doLogoutSession(String) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
每次注销 SaSession 时触发
doLogoutSession(String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
每次注销Session时触发
doLogoutSession(String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForSimple
 
doOpenSafe(String, String, String, long) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
事件发布:xx 账号完成二级认证
doOpenSafe(String, String, String, long) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
每次打开二级认证时触发
doOpenSafe(String, String, String, long) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
每次打开二级认证时触发
doOpenSafe(String, String, String, long) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForSimple
 
doRegisterAnnotationHandler(SaAnnotationHandlerInterface<?>) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
事件发布:有新的注解处理器载入到框架中
doRegisterAnnotationHandler(SaAnnotationHandlerInterface<?>) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
注册了自定义注解处理器
doRegisterAnnotationHandler(SaAnnotationHandlerInterface<?>) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
注册了自定义注解处理器
doRegisterComponent(String, Object) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
事件发布:有新的全局组件载入到框架中
doRegisterComponent(String, Object) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
全局组件载入
doRegisterComponent(String, Object) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
全局组件载入
doRenewTimeout(String, Object, long) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
事件发布:指定 Token 续期成功
doRenewTimeout(String, Object, long) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
每次 Token 续期时触发(注意:是 timeout 续期,而不是 active-timeout 续期)
doRenewTimeout(String, Object, long) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
每次Token续期时触发
doRenewTimeout(String, Object, long) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForSimple
 
doReplaced(String, Object, String) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
事件发布:xx 账号被顶下线
doReplaced(String, Object, String) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
每次被顶下线时触发
doReplaced(String, Object, String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
每次被顶下线时触发
doReplaced(String, Object, String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForSimple
 
doSetConfig(SaTokenConfig) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
事件发布:有新的全局配置载入到框架中
doSetConfig(SaTokenConfig) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
载入全局配置
doSetConfig(SaTokenConfig) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
载入全局配置
doSetStpLogic(StpLogic) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
事件发布:有新的 StpLogic 载入到框架中
doSetStpLogic(StpLogic) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
StpLogic 对象替换
doSetStpLogic(StpLogic) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
StpLogic 对象替换
doUntieDisable(String, Object, String) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
事件发布:xx 账号被解封
doUntieDisable(String, Object, String) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
每次被解封时触发
doUntieDisable(String, Object, String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
每次被解封时触发
doUntieDisable(String, Object, String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForSimple
 

E

empty() - 类中的静态方法 cn.dev33.satoken.util.SaResult
 
EMPTY_JSON - 类中的静态变量 cn.dev33.satoken.util.StrFormatter
占位符
emptyList() - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
返回一个空集合
encode(String) - 类中的静态方法 cn.dev33.satoken.secure.SaBase64Util
Base64编码,String 转 String
encodeBytesToString(byte[]) - 类中的静态方法 cn.dev33.satoken.secure.SaBase64Util
Base64编码,byte[] 转 String
encodeUrl(String) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
URL编码
endRefreshThread() - 类中的方法 cn.dev33.satoken.dao.timedcache.SaTimedCache
结束定时任务
endSwitch() - 类中的方法 cn.dev33.satoken.stp.StpLogic
结束临时切换身份
endSwitch() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
结束临时切换身份
equals(Object, Object) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
比较两个对象是否相等
error - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
 
error() - 类中的静态方法 cn.dev33.satoken.util.SaResult
 
error(String) - 类中的静态方法 cn.dev33.satoken.util.SaResult
 
error(String, Object...) - 接口中的方法 cn.dev33.satoken.log.SaLog
输出 error 日志
error(String, Object...) - 类中的方法 cn.dev33.satoken.log.SaLogForConsole
 
ERROR_COLOR - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
 
ERROR_MESSAGE - 类中的静态变量 cn.dev33.satoken.context.SaTokenContextDefaultImpl
错误提示语
ERROR_MESSAGE - 类中的静态变量 cn.dev33.satoken.json.SaJsonTemplateDefaultImpl
 
ERROR_PREFIX - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
 
exe(SaFunction) - 类中的方法 cn.dev33.satoken.fun.IsRunFunction
当 isRun == true 时执行此函数
execute(SaRequest, SaResponse, Object) - 接口中的方法 cn.dev33.satoken.fun.strategy.SaFirewallCheckFunction
执行函数
execute(SaRequest, SaResponse, Object) - 接口中的方法 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHook
执行的方法
execute(SaRequest, SaResponse, Object) - 类中的方法 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForBlackPath
执行的方法
execute(SaRequest, SaResponse, Object) - 类中的方法 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForDirectoryTraversal
执行的方法
execute(SaRequest, SaResponse, Object) - 类中的方法 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHeader
执行的方法
execute(SaRequest, SaResponse, Object) - 类中的方法 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHost
执行的方法
execute(SaRequest, SaResponse, Object) - 类中的方法 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHttpMethod
执行的方法
execute(SaRequest, SaResponse, Object) - 类中的方法 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForParameter
执行的方法
execute(SaRequest, SaResponse, Object) - 类中的方法 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForPathBannedCharacter
执行的方法
execute(SaRequest, SaResponse, Object) - 类中的方法 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForPathDangerCharacter
执行的方法
execute(SaRequest, SaResponse, Object) - 类中的方法 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForWhitePath
执行的方法
execute(SaTokenPlugin) - 接口中的方法 cn.dev33.satoken.fun.hooks.SaTokenPluginHookFunction
执行的方法
execute(String, int, Supplier<String>, Function<String, Boolean>) - 接口中的方法 cn.dev33.satoken.fun.strategy.SaGenerateUniqueTokenFunction
封装 token 生成、校验的代码,生成唯一式 token
executeFunction - 类中的变量 cn.dev33.satoken.plugin.SaTokenPluginHookModel
执行的方法
expireMap - 类中的变量 cn.dev33.satoken.dao.timedcache.SaTimedCache
存储数据过期时间的集合(单位: 毫秒), 记录所有 key 的到期时间 (注意存储的是到期时间,不是剩余存活时间)

F

fatal - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
 
fatal(String, Object...) - 接口中的方法 cn.dev33.satoken.log.SaLog
输出 fatal 日志
fatal(String, Object...) - 类中的方法 cn.dev33.satoken.log.SaLogForConsole
 
FATAL_COLOR - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
 
FATAL_PREFIX - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
 
findSaSignConfigMethod - 类中的静态变量 cn.dev33.satoken.sign.SaSignMany
根据 appid 获取 SaSignConfig,允许自定义
FIREWALL_CHECK_FILTER_ORDER - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
防火墙校验过滤器的注册顺序
FirewallCheckException - cn.dev33.satoken.exception中的异常错误
一个异常:代表防火墙检验未通过
FirewallCheckException(String) - 异常错误的构造器 cn.dev33.satoken.exception.FirewallCheckException
 
FirewallCheckException(String, Throwable) - 异常错误的构造器 cn.dev33.satoken.exception.FirewallCheckException
 
FirewallCheckException(Throwable) - 异常错误的构造器 cn.dev33.satoken.exception.FirewallCheckException
 
forEachTerminalList(SaTwoParamFunction<SaSession, SaTerminalInfo>) - 类中的方法 cn.dev33.satoken.session.SaSession
遍历 terminalList 列表,执行特定函数
forEachTerminalList(Object, SaTwoParamFunction<SaSession, SaTerminalInfo>) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定账号 id 已登录设备信息集合,执行特定函数
forEachTerminalList(Object, SaTwoParamFunction<SaSession, SaTerminalInfo>) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取指定账号 id 已登录设备信息集合,执行特定函数
format(String, Object...) - 类中的静态方法 cn.dev33.satoken.util.StrFormatter
格式化字符串
此方法只是简单将占位符 {} 按照顺序替换为参数
如果想输出 {} 使用 \\转义 { 即可,如果想输出 {} 之前的 \ 使用双转义符 \\\\ 即可
例:
通常使用:format("this is {} for {}", "a", "b") =》 this is a for b
转义{}: format("this is \\{} for {}", "a", "b") =》 this is \{} for a
转义\: format("this is \\\\{} for {}", "a", "b") =》 this is \a for b
formatAfterDate(long) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
指定毫秒后的时间(格式化 :yyyy-MM-dd HH:mm:ss)
formatDate(ZonedDateTime) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
将日期格式化 (yyyy-MM-dd HH:mm:ss)
formatDate(Date) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
将日期格式化 (yyyy-MM-dd HH:mm:ss)
formatWith(String, String, Object...) - 类中的静态方法 cn.dev33.satoken.util.StrFormatter
格式化字符串
此方法只是简单将指定占位符 按照顺序替换为参数
如果想输出占位符使用 \\转义即可,如果想输出占位符之前的 \ 使用双转义符 \\\\ 即可
例:
通常使用:format("this is {} for {}", "{}", "a", "b") =》 this is a for b
转义{}: format("this is \\{} for {}", "{}", "a", "b") =》 this is {} for a
转义\: format("this is \\\\{} for {}", "{}", "a", "b") =》 this is \a for b
forward(String) - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
转发请求
free(SaParamFunction<SaRouterStaff>) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
自由匹配 ( 在free作用域里执行stop()不会跳出Auth函数,而是仅仅跳出free代码块 )

G

generateUniqueToken - 类中的变量 cn.dev33.satoken.strategy.SaStrategy
生成唯一式 token 的算法
gensalt() - 类中的静态方法 cn.dev33.satoken.secure.BCrypt
已过时。
生成盐
gensalt(int) - 类中的静态方法 cn.dev33.satoken.secure.BCrypt
已过时。
生成盐
gensalt(int, SecureRandom) - 类中的静态方法 cn.dev33.satoken.secure.BCrypt
已过时。
生成盐
get(int, String, Object) - 类中的静态方法 cn.dev33.satoken.util.SaResult
 
get(String) - 类中的方法 cn.dev33.satoken.application.SaApplication
取值
get(String) - 接口中的方法 cn.dev33.satoken.application.SaGetValueInterface
取值
get(String) - 接口中的方法 cn.dev33.satoken.context.model.SaStorage
取值
get(String) - 接口中的方法 cn.dev33.satoken.dao.auto.SaTokenDaoByStringFollowObject
 
get(String) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
获取 value,如无返空
get(String) - 接口中的方法 cn.dev33.satoken.dao.timedcache.SaMapPackage
get(String) - 类中的方法 cn.dev33.satoken.dao.timedcache.SaMapPackageForConcurrentHashMap
 
get(String) - 类中的方法 cn.dev33.satoken.session.SaSession
取值
get(String, SaRetFunction) - 接口中的方法 cn.dev33.satoken.application.SaSetValueInterface
取值 (如果值为 null,则执行 fun 函数获取值,并把函数返回值写入缓存)
get(String, Class<T>) - 类中的方法 cn.dev33.satoken.util.SaResult
获取一个值 根据自定义key
get(String, T) - 接口中的方法 cn.dev33.satoken.application.SaGetValueInterface
取值 (指定默认值)
GET - enum class 中的枚举常量 cn.dev33.satoken.router.SaHttpMethod
 
getActiveTimeout() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getActiveTimeout() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
getActivityTimeout() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
已过时。
getAnnotation - 类中的变量 cn.dev33.satoken.strategy.SaAnnotationStrategy
从元素上获取注解
getAnonTokenSession() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前匿名 Token-Session (可在未登录情况下使用的Token-Session)
getAnonTokenSession() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前匿名 Token-Session (可在未登录情况下使用的Token-Session)
getAnonTokenSession(boolean) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前匿名 Token-Session (可在未登录情况下使用的 Token-Session)
getApplication() - 类中的静态方法 cn.dev33.satoken.context.SaHolder
获取全局 SaApplication 对象
getAuthorizationValue() - 类中的方法 cn.dev33.satoken.httpauth.basic.SaHttpBasicTemplate
获取浏览器提交的 Basic 参数 (裁剪掉前缀并解码)
getAuthorizationValue() - 类中的静态方法 cn.dev33.satoken.httpauth.basic.SaHttpBasicUtil
获取浏览器提交的 Basic 参数 (裁剪掉前缀并解码)
getAuthorizationValue() - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestTemplate
获取浏览器提交的 Digest 参数 (裁剪掉前缀)
getAuthorizationValue() - 类中的静态方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestUtil
获取浏览器提交的 Digest 参数 (裁剪掉前缀)
getAuthorizationValueToModel() - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestTemplate
获取浏览器提交的 Digest 参数,并转化为 Map
getAuthorizationValueToModel() - 类中的静态方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestUtil
获取浏览器提交的 Digest 参数,并转化为 Map
getAutoRenew() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getBasic() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
已过时。
getBox() - 类中的静态方法 cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage
获取当前线程的 [ Box 存储器 ]
getBoxNotNull() - 类中的静态方法 cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage
获取当前线程的 [ Box 存储器 ], 如果为空则抛出异常
getCheckSameToken() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getCnonce() - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
获取 客户端随机数,由客户端提供
getCode() - 异常错误中的方法 cn.dev33.satoken.exception.SaTokenException
获取异常细分状态码
getCode() - 类中的方法 cn.dev33.satoken.util.SaResult
获取code
getConfig() - 类中的静态方法 cn.dev33.satoken.SaManager
获取 Sa-Token 的全局配置信息
getConfig() - 类中的方法 cn.dev33.satoken.stp.StpLogic
返回当前 StpLogic 使用的配置对象,如果当前 StpLogic 没有配置,则返回 null
getConfigOfCookieTimeout() - 类中的方法 cn.dev33.satoken.stp.StpLogic
返回全局配置的 Cookie 保存时长,单位:秒 (根据全局 timeout 计算)
getConfigOfMaxTryTimes(SaLoginParameter) - 类中的方法 cn.dev33.satoken.stp.StpLogic
返回全局配置的 maxTryTimes 值,在每次创建 token 时,对其唯一性测试的最高次数(-1=不测试)
getConfigOrGlobal() - 类中的方法 cn.dev33.satoken.stp.StpLogic
返回当前 StpLogic 使用的配置对象,如果当前 StpLogic 没有配置,则返回全局配置对象
getContext() - 类中的静态方法 cn.dev33.satoken.context.SaHolder
获取当前请求的 SaTokenContext 上下文对象
getCookie() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getCookieFirstValue(String) - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
在 [ Cookie作用域 ] 里获取一个值 (第一个此名称的)
getCookieLastValue(String) - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
在 [ Cookie作用域 ] 里获取一个值 (最后一个此名称的)
getCookieTimeout() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
计算 Cookie 时长
getCookieValue(String) - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
在 [ Cookie作用域 ] 里获取一个值
getCreateTime() - 类中的方法 cn.dev33.satoken.session.SaSession
返回:当前 SaSession 的创建时间(13位时间戳)
getCreateTime() - 类中的方法 cn.dev33.satoken.session.SaTerminalInfo
获取 创建时间
getCurrDomain() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getData() - 类中的方法 cn.dev33.satoken.util.SaResult
获取data
getDataMap() - 类中的方法 cn.dev33.satoken.session.SaSession
获取数据挂载集合(如果更新map里的值,请调用 session.update() 方法避免产生脏数据 )
getDataRefreshPeriod() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getDevice() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
已过时。
getDeviceId() - 类中的方法 cn.dev33.satoken.session.SaTerminalInfo
获取 登录设备唯一标识
getDeviceId() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
获取 此次登录的客户端设备id
getDeviceType() - 类中的方法 cn.dev33.satoken.session.SaTerminalInfo
 
getDeviceType() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
getDeviceType() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLogoutParameter
需要注销的设备类型 (如果不指定,则默认注销所有客户端)
getDigestAlgo() - 类中的方法 cn.dev33.satoken.config.SaSignConfig
获取 对 fullStr 的摘要算法
getDisableLevel() - 类中的方法 cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
 
getDisableLevel(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取:指定账号被封禁的等级,如果未被封禁则返回-2
getDisableLevel(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取:指定账号被封禁的等级,如果未被封禁则返回-2
getDisableLevel(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取:指定账号的 指定服务 被封禁的等级,如果未被封禁则返回-2
getDisableLevel(Object, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取:指定账号的 指定服务 被封禁的等级,如果未被封禁则返回-2
getDisableTime() - 异常错误中的方法 cn.dev33.satoken.exception.DisableServiceException
获取: 封禁剩余时间,单位:秒
getDisableTime() - 类中的方法 cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
 
getDisableTime(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取:指定账号剩余封禁时间,单位:秒(-1=永久封禁,-2=未被封禁)
getDisableTime(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取:指定账号剩余封禁时间,单位:秒(-1=永久封禁,-2=未被封禁)
getDisableTime(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取:指定账号 指定服务 剩余封禁时间,单位:秒(-1=永久封禁,-2=未被封禁)
getDisableTime(Object, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取:指定账号 指定服务 剩余封禁时间,单位:秒(-1=永久封禁,-2=未被封禁)
getDomain() - 类中的方法 cn.dev33.satoken.config.SaCookieConfig
获取:Cookie 作用域
getDomain() - 类中的方法 cn.dev33.satoken.context.model.SaCookie
 
getDouble(String) - 接口中的方法 cn.dev33.satoken.application.SaGetValueInterface
取值 (转double类型)
getDynamicActiveTimeout() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getExtra(String) - 类中的方法 cn.dev33.satoken.session.SaTerminalInfo
此次登录的自定义扩展数据
getExtra(String) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
获取扩展数据(只在jwt模式下生效)
getExtra(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前 Token 的扩展信息(此函数只在jwt模式下生效)
getExtra(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前 Token 的扩展信息(此函数只在jwt模式下生效)
getExtra(String, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定 Token 的扩展信息(此函数只在jwt模式下生效)
getExtra(String, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取指定 Token 的扩展信息(此函数只在jwt模式下生效)
getExtraAttrs() - 类中的方法 cn.dev33.satoken.config.SaCookieConfig
 
getExtraAttrs() - 类中的方法 cn.dev33.satoken.context.model.SaCookie
 
getExtraData() - 类中的方法 cn.dev33.satoken.session.SaTerminalInfo
获取 此客户端登录的挂载数据
getExtraData() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
getFloat(String) - 接口中的方法 cn.dev33.satoken.application.SaGetValueInterface
取值 (转float类型)
getHandlerAnnotationClass() - 接口中的方法 cn.dev33.satoken.annotation.handler.SaAnnotationHandlerInterface
获取所要处理的注解类型
getHandlerAnnotationClass() - 类中的方法 cn.dev33.satoken.annotation.handler.SaCheckDisableHandler
 
getHandlerAnnotationClass() - 类中的方法 cn.dev33.satoken.annotation.handler.SaCheckHttpBasicHandler
 
getHandlerAnnotationClass() - 类中的方法 cn.dev33.satoken.annotation.handler.SaCheckHttpDigestHandler
 
getHandlerAnnotationClass() - 类中的方法 cn.dev33.satoken.annotation.handler.SaCheckLoginHandler
 
getHandlerAnnotationClass() - 类中的方法 cn.dev33.satoken.annotation.handler.SaCheckOrHandler
 
getHandlerAnnotationClass() - 类中的方法 cn.dev33.satoken.annotation.handler.SaCheckPermissionHandler
 
getHandlerAnnotationClass() - 类中的方法 cn.dev33.satoken.annotation.handler.SaCheckRoleHandler
 
getHandlerAnnotationClass() - 类中的方法 cn.dev33.satoken.annotation.handler.SaCheckSafeHandler
 
getHandlerAnnotationClass() - 类中的方法 cn.dev33.satoken.annotation.handler.SaCheckSignHandler
 
getHandlerAnnotationClass() - 类中的方法 cn.dev33.satoken.annotation.handler.SaIgnoreHandler
 
getHeader(String) - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
在 [ 请求头 ] 里获取一个值
getHeader(String, String) - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
在 [ 请求头 ] 里获取一个值
getHistoryTerminalCount() - 类中的方法 cn.dev33.satoken.session.SaSession
获取 当前账号历史总计登录设备数量 (当此 SaSession 属于 Account-Session 时,此值有效)
getHost() - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
查询请求 host
getHttpBasic() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getHttpDigest() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getHttpOnly() - 类中的方法 cn.dev33.satoken.config.SaCookieConfig
 
getHttpOnly() - 类中的方法 cn.dev33.satoken.context.model.SaCookie
 
getId() - 类中的方法 cn.dev33.satoken.session.SaSession
获取:此 SaSession 的 id
getIndex() - 类中的方法 cn.dev33.satoken.session.SaTerminalInfo
获取 登录会话索引值 (该账号第几个登录的设备)
getInt(String) - 接口中的方法 cn.dev33.satoken.application.SaGetValueInterface
取值 (转int类型)
getIsColorLog() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
获取:是否打印彩色日志
getIsConcurrent() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getIsConcurrent() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
getIsDisable() - 类中的方法 cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
 
getIsKeepFreezeOps() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLogoutParameter
获取 如果 token 已被冻结,是否保留其操作权 (是否允许此 token 调用注销API)
(此参数只在调用 StpUtil.
getIsKeepTokenSession() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLogoutParameter
 
getIsLastingCookie() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
获取 是否为持久Cookie(临时Cookie在浏览器关闭时会自动删除,持久Cookie在重新打开后依然存在)
getIsLastingCookie() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
getIsLog() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getIsLogin() - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
getIsLogoutKeepFreezeOps() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
获取 如果 token 已被冻结,是否保留其操作权 (是否允许此 token 调用注销API)
(此参数只在调用 StpUtil.
getIsLogoutKeepTokenSession() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
获取 在注销 token 后,是否保留其对应的 Token-Session
getIsPrint() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getIsReadBody() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getIsReadCookie() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getIsReadHeader() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getIsShare() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getIsShare() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
getIsWriteHeader() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getIsWriteHeader() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
getJwtSecretKey() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getJwtSecretKey() - 接口中的方法 cn.dev33.satoken.temp.SaTempInterface
 
getLevel() - 异常错误中的方法 cn.dev33.satoken.exception.DisableServiceException
获取: 被封禁的等级
getLimitLevel() - 异常错误中的方法 cn.dev33.satoken.exception.DisableServiceException
获取: 校验时要求低于的等级
getListenerList() - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
获取已注册的所有侦听器
getLog() - 类中的静态方法 cn.dev33.satoken.SaManager
 
getLoginDevice() - 类中的方法 cn.dev33.satoken.stp.StpLogic
已过时。
getLoginDevice() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
已过时。
getLoginDeviceByToken(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
已过时。
getLoginDeviceByToken(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
已过时。
getLoginDeviceType() - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
getLoginDeviceType() - 类中的方法 cn.dev33.satoken.stp.StpLogic
返回当前会话的登录设备类型
getLoginDeviceType() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
返回当前会话的登录设备类型
getLoginDeviceTypeByToken(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
返回指定 token 会话的登录设备类型
getLoginDeviceTypeByToken(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
返回指定 token 会话的登录设备类型
getLoginId() - 异常错误中的方法 cn.dev33.satoken.exception.DisableServiceException
获取: 被封禁的账号id
getLoginId() - 类中的方法 cn.dev33.satoken.session.SaSession
获取:所属 loginId (当此 SaSession 属于 Account-Session 时,此值有效)
getLoginId() - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
getLoginId() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前会话账号id,如果未登录,则抛出异常
getLoginId() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前会话账号id,如果未登录,则抛出异常
getLoginId(T) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前会话账号id, 如果未登录,则返回默认值
getLoginId(T) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前会话账号id, 如果未登录,则返回默认值
getLoginIdAsInt() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前会话账号id, 并转换为 int 类型
getLoginIdAsInt() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前会话账号id, 并转换为 int 类型
getLoginIdAsLong() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前会话账号id, 并转换为 long 类型
getLoginIdAsLong() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前会话账号id, 并转换为 long 类型
getLoginIdAsString() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前会话账号id, 并转换为 String 类型
getLoginIdAsString() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前会话账号id, 并转换为 String 类型
getLoginIdByToken(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定 token 对应的账号id,如果 token 无效或 token 处于被踢、被顶、被冻结等状态,则返回 null
getLoginIdByToken(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取指定 token 对应的账号id,如果 token 无效或 token 处于被踢、被顶、被冻结等状态,则返回 null
getLoginIdByTokenNotThinkFreeze(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定 token 对应的账号id,如果 token 无效或 token 处于被踢、被顶等状态 (不考虑被冻结),则返回 null
getLoginIdByTokenNotThinkFreeze(String) - 类中的方法 cn.dev33.satoken.stp.StpUtil
获取指定 token 对应的账号id,如果 token 无效或 token 处于被踢、被顶等状态 (不考虑被冻结),则返回 null
getLoginIdDefaultNull() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前会话账号id, 如果未登录,则返回null
getLoginIdDefaultNull() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前会话账号id, 如果未登录,则返回null
getLoginIdNotHandle(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定 token 对应的账号id (不做任何特殊处理)
getLoginType() - 异常错误中的方法 cn.dev33.satoken.exception.DisableServiceException
获取:账号类型
getLoginType() - 异常错误中的方法 cn.dev33.satoken.exception.NotLoginException
获得账号类型
getLoginType() - 异常错误中的方法 cn.dev33.satoken.exception.NotPermissionException
获得账号类型
getLoginType() - 异常错误中的方法 cn.dev33.satoken.exception.NotRoleException
获得账号类型
getLoginType() - 异常错误中的方法 cn.dev33.satoken.exception.NotSafeException
获取:账号类型
getLoginType() - 类中的方法 cn.dev33.satoken.session.SaSession
获取:所属 loginType
getLoginType() - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
getLoginType() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前 StpLogic 账号类型标识
getLoginType() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前 StpLogic 的账号类型
getLogLevel() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getLogLevelInt() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getLogoutRange() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
获取 注销范围 (TOKEN=只注销当前 token 的会话,ACCOUNT=注销当前 token 指向的 loginId 其所有客户端会话)
(此参数只在调用 StpUtil.logout() 时有效)
getLong(String) - 接口中的方法 cn.dev33.satoken.application.SaGetValueInterface
取值 (转long类型)
getMarking28() - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
以当前时间戳和随机int数字拼接一个随机字符串
getMaxAge() - 类中的方法 cn.dev33.satoken.context.model.SaCookie
 
getMaxLoginCount() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getMaxLoginCount() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
getMaxTryTimes() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getMaxTryTimes() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
getMethod() - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
返回当前请求的类型
getMethod() - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
获取 请求方法
getMode() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLogoutParameter
注销类型 (LOGOUT=注销下线、KICKOUT=踢人下线,REPLACED=顶人下线)
getModel(String, Class<T>) - 接口中的方法 cn.dev33.satoken.application.SaGetValueInterface
取值 (指定转换类型)
getModel(String, Class<T>, Object) - 接口中的方法 cn.dev33.satoken.application.SaGetValueInterface
取值 (指定转换类型, 并指定值为 null 时返回的默认值)
getMsg() - 类中的方法 cn.dev33.satoken.util.SaResult
获取msg
getName() - 类中的方法 cn.dev33.satoken.context.model.SaCookie
 
getNc() - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
获取 nonce计数器,是一个16进制的数值,表示同一nonce下客户端发送出请求的数量
getNonce() - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
获取 随机数
getObject(String) - 接口中的方法 cn.dev33.satoken.dao.auto.SaTokenDaoByObjectFollowString
获取 Object,如无返空
getObject(String) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
获取 Object,如无返空
getObject(String) - 类中的方法 cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
getObject(String) - 类中的方法 cn.dev33.satoken.dao.timedcache.SaTimedCache
 
getObject(String, Class<T>) - 接口中的方法 cn.dev33.satoken.dao.auto.SaTokenDaoByObjectFollowString
获取 Object (指定反序列化类型),如无返空
getObject(String, Class<T>) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
获取 Object (指定反序列化类型),如无返空
getObject(String, Class<T>) - 类中的方法 cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
getObjectTimeout(String) - 接口中的方法 cn.dev33.satoken.dao.auto.SaTokenDaoByObjectFollowString
获取 Object 的剩余存活时间 (单位: 秒)
getObjectTimeout(String) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
获取 Object 的剩余存活时间 (单位: 秒)
getObjectTimeout(String) - 类中的方法 cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
getObjectTimeout(String) - 类中的方法 cn.dev33.satoken.dao.timedcache.SaTimedCache
 
getOpaque() - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
获取 opaque
getOrCreateLoginSession(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定账号 id 的登录会话数据,如果获取不到则创建并返回
getOrCreateLoginSession(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取指定账号 id 的登录会话数据,如果获取不到则创建并返回
getOverflowLogoutMode() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
获取 溢出 maxLoginCount 的客户端,将以何种方式注销下线 (LOGOUT=注销下线, KICKOUT=踢人下线, REPLACED=顶人下线)
getOverflowLogoutMode() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
获取 溢出 maxLoginCount 的客户端,将以何种方式注销下线 (LOGOUT=注销下线, KICKOUT=踢人下线, REPLACED=顶人下线)
getParam(String) - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
在 [ 请求体 ] 里获取一个参数值
getParam(String, String) - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
在 [ 请求体 ] 里获取一个参数值,值为空时返回默认值
getParamMap() - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
获取 [ 请求体 ] 里提交的所有参数
getParamNames() - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
获取 [ 请求体 ] 里提交的所有参数名称
getParamNotNull(String) - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
在 [ 请求体 ] 里获取一个值 (此值必须存在,否则抛出异常 )
getPassword() - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
获取 密码
getPastTokenNh() - 类中的方法 cn.dev33.satoken.same.SaSameTemplate
获取 Past-Same-Token,不做任何处理
getPastTokenNh() - 类中的静态方法 cn.dev33.satoken.same.SaSameUtil
获取 Past-Same-Token,不做任何处理
getPath() - 类中的方法 cn.dev33.satoken.config.SaCookieConfig
 
getPath() - 类中的方法 cn.dev33.satoken.context.model.SaCookie
 
getPath() - 异常错误中的方法 cn.dev33.satoken.exception.RequestPathInvalidException
 
getPermission() - 异常错误中的方法 cn.dev33.satoken.exception.NotPermissionException
 
getPermissionList() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取:当前账号的权限码集合
getPermissionList() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取:当前账号的权限码集合
getPermissionList(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取:指定账号的权限码集合
getPermissionList(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取:指定账号的权限码集合
getPermissionList(Object, String) - 接口中的方法 cn.dev33.satoken.stp.StpInterface
返回指定账号id所拥有的权限码集合
getPermissionList(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpInterfaceDefaultImpl
 
getPlugin(Class<T>) - 类中的方法 cn.dev33.satoken.plugin.SaTokenPluginHolder
获取指定类型的插件
getPluginListCopy() - 类中的方法 cn.dev33.satoken.plugin.SaTokenPluginHolder
获取插件集合副本 (拷贝插件集合,而非每个插件实例)
getQop() - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
获取 保护质量(auth=默认的,auth-int=增加报文完整性检测),可以为空,但不推荐
getRandomNumber(int, int) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
生成指定区间的 int 值
getRandomString(int) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
生成指定长度的随机字符串
getRange() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLogoutParameter
注销范围 (TOKEN=只注销当前 token 的会话,ACCOUNT=注销当前 token 指向的 loginId 其所有客户端会话)
(此参数只在调用 StpUtil.logout() 时有效)
getRealm() - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
获取 领域
getReplacedRange() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
获取 当 isConcurrent=false 时,顶人下线的范围 (CURR_DEVICE_TYPE=当前指定的设备类型端 ALL_DEVICE_TYPE=所有设备类型端)
getReplacedRange() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
当 isConcurrent=false 时,顶人下线的范围 (CURR_DEVICE_TYPE=当前指定的设备类型端, ALL_DEVICE_TYPE=所有设备类型端)
getRequest() - 类中的静态方法 cn.dev33.satoken.context.SaHolder
获取当前请求的 Request 包装对象
getRequest() - 接口中的方法 cn.dev33.satoken.context.SaTokenContext
获取当前请求的 Request 包装对象
getRequest() - 类中的方法 cn.dev33.satoken.context.SaTokenContextDefaultImpl
 
getRequest() - 类中的方法 cn.dev33.satoken.context.SaTokenContextForThreadLocal
 
getRequest() - 类中的方法 cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage.Box
 
getRequest() - 类中的静态方法 cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage
在当前线程的 SaRequest 包装对象
getRequestPath() - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
返回当前请求path (不包括上下文名称)
getResponse() - 类中的静态方法 cn.dev33.satoken.context.SaHolder
获取当前请求的 Response 包装对象
getResponse() - 接口中的方法 cn.dev33.satoken.context.SaTokenContext
获取当前请求的 Response 包装对象
getResponse() - 类中的方法 cn.dev33.satoken.context.SaTokenContextDefaultImpl
 
getResponse() - 类中的方法 cn.dev33.satoken.context.SaTokenContextForThreadLocal
 
getResponse() - 类中的方法 cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage.Box
 
getResponse() - 类中的静态方法 cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage
在当前线程的 SaResponse 包装对象
getResponse() - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
获取 请求摘要,最终计算的摘要结果
getRole() - 异常错误中的方法 cn.dev33.satoken.exception.NotRoleException
 
getRoleList() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取:当前账号的角色集合
getRoleList() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取:当前账号的角色集合
getRoleList(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取:指定账号的角色集合
getRoleList(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取:指定账号的角色集合
getRoleList(Object, String) - 接口中的方法 cn.dev33.satoken.stp.StpInterface
返回指定账号id所拥有的角色标识集合
getRoleList(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpInterfaceDefaultImpl
 
getSafeTime() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取:当前会话的二级认证剩余有效时间(单位: 秒, 返回-2代表尚未通过二级认证)
getSafeTime() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取:当前会话的二级认证剩余有效时间(单位: 秒, 返回-2代表尚未通过二级认证)
getSafeTime(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取:当前会话的二级认证剩余有效时间(单位: 秒, 返回-2代表尚未通过二级认证)
getSafeTime(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取:当前会话的二级认证剩余有效时间(单位: 秒, 返回-2代表尚未通过二级认证)
getSaJsonTemplate() - 类中的静态方法 cn.dev33.satoken.SaManager
 
getSameSite() - 类中的方法 cn.dev33.satoken.config.SaCookieConfig
 
getSameSite() - 类中的方法 cn.dev33.satoken.context.model.SaCookie
 
getSameTokenTimeout() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getSaSameTemplate() - 类中的静态方法 cn.dev33.satoken.SaManager
 
getSaSerializerTemplate() - 类中的静态方法 cn.dev33.satoken.SaManager
 
getSaSignTemplate() - 类中的静态方法 cn.dev33.satoken.SaManager
 
getSaTemp() - 类中的静态方法 cn.dev33.satoken.SaManager
 
getSaTokenContext() - 类中的静态方法 cn.dev33.satoken.SaManager
 
getSaTokenContextOrSecond() - 类中的静态方法 cn.dev33.satoken.SaManager
获取一个可用的 SaTokenContext (按照一级上下文、二级上下文、默认上下文的顺序来判断)
getSaTokenDao() - 类中的静态方法 cn.dev33.satoken.SaManager
 
getSaTokenDao() - 类中的方法 cn.dev33.satoken.stp.StpLogic
返回当前 StpLogic 使用的持久化对象
getSaTokenSecondContext() - 类中的静态方法 cn.dev33.satoken.SaManager
 
getSaveNonceExpire() - 类中的方法 cn.dev33.satoken.config.SaSignConfig
计算保存 nonce 时应该使用的 ttl,单位:秒
getSecretKey() - 类中的方法 cn.dev33.satoken.config.SaSignConfig
获取 API 调用签名秘钥
getSecretKey() - 类中的方法 cn.dev33.satoken.sign.SaSignTemplate
获取:API 签名配置的秘钥
getSecure() - 类中的方法 cn.dev33.satoken.config.SaCookieConfig
 
getSecure() - 类中的方法 cn.dev33.satoken.context.model.SaCookie
 
getService() - 异常错误中的方法 cn.dev33.satoken.exception.DisableServiceException
获取: 被封禁的服务
getService() - 异常错误中的方法 cn.dev33.satoken.exception.NotSafeException
获取: 未通过校验的服务
getSession() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前已登录账号的 Account-Session,如果该 SaSession 尚未创建,则新建并返回
getSession() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前已登录账号的 Account-Session,如果该 SaSession 尚未创建,则新建并返回
getSession(boolean) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前已登录账号的 Account-Session, 如果该 SaSession 尚未创建,isCreate=是否新建并返回
getSession(boolean) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前已登录账号的 Account-Session, 如果该 SaSession 尚未创建,isCreate=是否新建并返回
getSession(String) - 接口中的方法 cn.dev33.satoken.dao.auto.SaTokenDaoBySessionFollowObject
获取 SaSession,如无返空
getSession(String) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
获取 SaSession,如无返空
getSessionById(String) - 类中的静态方法 cn.dev33.satoken.session.SaSessionCustomUtil
获取指定 key 的 SaSession, 如果此 SaSession 尚未在 DB 创建,则新建并返回
getSessionById(String, boolean) - 类中的静态方法 cn.dev33.satoken.session.SaSessionCustomUtil
获取指定 key 的 SaSession 对象, 如果此 SaSession 尚未在 DB 创建,isCreate 参数代表是否则新建并返回
getSessionByLoginId(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定账号 id 的 Account-Session,如果该 SaSession 尚未创建,则新建并返回
getSessionByLoginId(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取指定账号 id 的 Account-Session,如果该 SaSession 尚未创建,则新建并返回
getSessionByLoginId(Object, boolean) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定账号 id 的 Account-Session, 如果该 SaSession 尚未创建,isCreate=是否新建并返回
getSessionByLoginId(Object, boolean) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取指定账号 id 的 Account-Session, 如果该 SaSession 尚未创建,isCreate=是否新建并返回
getSessionByLoginId(Object, boolean, Long) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定账号 id 的 Account-Session, 如果该 SaSession 尚未创建,isCreate=是否新建并返回
getSessionBySessionId(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定 key 的 SaSession, 如果该 SaSession 尚未创建,则返回 null
getSessionBySessionId(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取指定 key 的 SaSession, 如果该 SaSession 尚未创建,则返回 null
getSessionBySessionId(String, boolean, Long, Consumer<SaSession>) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定 key 的 SaSession, 如果该 SaSession 尚未创建,isCreate = 是否立即新建并返回
getSessionTimeout() - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
getSessionTimeout() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前登录账号的 Account-Session 剩余有效时间(单位: 秒,返回 -1 代表永久有效,-2 代表没有这个值)
getSessionTimeout() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前登录账号的 Account-Session 剩余有效时间(单位: 秒,返回 -1 代表永久有效,-2 代表没有这个值)
getSessionTimeout(String) - 接口中的方法 cn.dev33.satoken.dao.auto.SaTokenDaoBySessionFollowObject
获取 SaSession 剩余存活时间(单位: 秒)
getSessionTimeout(String) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
获取 SaSession 剩余存活时间(单位: 秒)
getSessionTimeoutByLoginId(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定账号 id 的 Account-Session 剩余有效时间(单位: 秒,返回 -1 代表永久有效,-2 代表没有这个值)
getSign() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getSignConfig() - 类中的方法 cn.dev33.satoken.sign.SaSignTemplate
获取:API 签名配置
getSignConfigOrGlobal() - 类中的方法 cn.dev33.satoken.sign.SaSignTemplate
获取:API 签名配置: 1.
getSignMany() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
获取 API 签名配置 多实例
getSignTemplate(String) - 类中的静态方法 cn.dev33.satoken.sign.SaSignMany
获取 SaSignTemplate,根据 appid
getSource() - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
获取底层被包装的源对象
getSource() - 接口中的方法 cn.dev33.satoken.context.model.SaResponse
获取底层被包装的源对象
getSource() - 接口中的方法 cn.dev33.satoken.context.model.SaStorage
获取底层被包装的源对象
getSource() - 接口中的方法 cn.dev33.satoken.dao.timedcache.SaMapPackage
获取底层被包装的源对象
getSource() - 类中的方法 cn.dev33.satoken.dao.timedcache.SaMapPackageForConcurrentHashMap
 
getStorage() - 类中的静态方法 cn.dev33.satoken.context.SaHolder
获取当前请求的 Storage 包装对象
getStorage() - 接口中的方法 cn.dev33.satoken.context.SaTokenContext
获取当前请求的 Storage 包装对象
getStorage() - 类中的方法 cn.dev33.satoken.context.SaTokenContextDefaultImpl
 
getStorage() - 类中的方法 cn.dev33.satoken.context.SaTokenContextForThreadLocal
 
getStorage() - 类中的方法 cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage.Box
 
getStorage() - 类中的静态方法 cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage
在当前线程的 SaStorage 存储器包装对象
getStpInterface() - 类中的静态方法 cn.dev33.satoken.SaManager
 
getStpLogic() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取 StpLogic 对象
getStpLogic(String) - 类中的静态方法 cn.dev33.satoken.SaManager
根据 LoginType 获取对应的StpLogic,如果不存在则新建并返回
getStpLogic(String, boolean) - 类中的静态方法 cn.dev33.satoken.SaManager
根据 LoginType 获取对应的StpLogic,如果不存在,isCreate = 是否自动创建并返回
getString(String) - 接口中的方法 cn.dev33.satoken.application.SaGetValueInterface
取值 (转String类型)
getSwitchLoginId() - 类中的方法 cn.dev33.satoken.stp.StpLogic
返回 [ 身份临时切换 ] 的 loginId
getTag() - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
getTerminal(String) - 类中的方法 cn.dev33.satoken.session.SaSession
查找一个终端信息,根据 tokenValue
getTerminalExtra(String) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
获取本次登录挂载到 SaTerminalInfo 的自定义扩展数据
getTerminalExtraData() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
获取 本次登录挂载到 SaTerminalInfo 的自定义扩展数据
getTerminalList() - 类中的方法 cn.dev33.satoken.session.SaSession
获取登录终端信息列表
getTerminalListByDeviceType(String) - 类中的方法 cn.dev33.satoken.session.SaSession
获取 登录终端信息列表 (拷贝副本),根据 deviceType 筛选
getTerminalListByLoginId(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定账号 id 已登录设备信息集合
getTerminalListByLoginId(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取指定账号 id 已登录设备信息集合
getTerminalListByLoginId(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定账号 id 指定设备类型端的已登录设备信息集合
getTerminalListByLoginId(Object, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取指定账号 id 指定设备类型端的已登录设备信息集合
getTimeout() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getTimeout() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
getTimeout(String) - 接口中的方法 cn.dev33.satoken.dao.auto.SaTokenDaoByStringFollowObject
 
getTimeout(String) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
获取 value 的剩余存活时间(单位: 秒)
getTimeout(String) - 接口中的方法 cn.dev33.satoken.temp.SaTempInterface
获取指定 Token 的剩余有效期,单位:秒
getTimeout(String) - 类中的静态方法 cn.dev33.satoken.temp.SaTempUtil
获取指定 Token 的剩余有效期,单位:秒
getTimeout(String, String) - 接口中的方法 cn.dev33.satoken.temp.SaTempInterface
获取指定 业务标识、指定 Token 的剩余有效期,单位:秒
getTimeout(String, String) - 类中的静态方法 cn.dev33.satoken.temp.SaTempUtil
获取指定 业务标识、指定 Token 的剩余有效期,单位:秒
getTimestampDisparity() - 类中的方法 cn.dev33.satoken.config.SaSignConfig
获取 接口调用时的时间戳允许的差距(单位:ms),-1 代表不校验差距,默认15分钟
getToken() - 类中的方法 cn.dev33.satoken.same.SaSameTemplate
获取当前 Same-Token, 如果不存在,则立即创建并返回
getToken() - 类中的静态方法 cn.dev33.satoken.same.SaSameUtil
获取当前 Same-Token, 如果不存在,则立即创建并返回
getToken() - 类中的方法 cn.dev33.satoken.session.SaSession
获取:所属 Token (当此 SaSession 属于 Token-Session 时,此值有效)
getToken() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
getTokenActiveTimeout() - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
getTokenActiveTimeout() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前 token 剩余活跃有效期:当前 token 距离被冻结还剩多少时间(单位: 秒,返回 -1 代表永不冻结,-2 代表没有这个值或 token 已被冻结了)
getTokenActiveTimeout() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前 token 剩余活跃有效期:当前 token 距离被冻结还剩多少时间(单位: 秒,返回 -1 代表永不冻结,-2 代表没有这个值或 token 已被冻结了)
getTokenActiveTimeoutByToken(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定 token 剩余活跃有效期:这个 token 距离被冻结还剩多少时间(单位: 秒,返回 -1 代表永不冻结,-2 代表没有这个值或 token 已被冻结了)
getTokenInfo() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前会话的 token 参数信息
getTokenInfo() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前会话的 token 参数信息
getTokenLastActiveTime() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前 token 的最后活跃时间(13位时间戳),如果不存在则返回 -2
getTokenLastActiveTime() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前 token 的最后活跃时间(13位时间戳),如果不存在则返回 -2
getTokenLastActiveTime(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定 token 的最后活跃时间(13位时间戳),如果不存在则返回 -2
getTokenName() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getTokenName() - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
getTokenName() - 类中的方法 cn.dev33.satoken.stp.StpLogic
返回 token 名称,此名称在以下地方体现:Cookie 保存 token 时的名称、提交 token 时参数的名称、存储 token 时的 key 前缀
getTokenName() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
返回 token 名称,此名称在以下地方体现:Cookie 保存 token 时的名称、提交 token 时参数的名称、存储 token 时的 key 前缀
getTokenNh() - 类中的方法 cn.dev33.satoken.same.SaSameTemplate
获取 Same-Token,不做任何处理
getTokenNh() - 类中的静态方法 cn.dev33.satoken.same.SaSameUtil
获取 Same-Token,不做任何处理
getTokenPrefix() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getTokenSession() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前 token 的 Token-Session,如果该 SaSession 尚未创建,则新建并返回
getTokenSession() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前 token 的 Token-Session,如果该 SaSession 尚未创建,则新建并返回
getTokenSession(boolean) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前 token 的 Token-Session,如果该 SaSession 尚未创建,isCreate代表是否新建并返回
getTokenSessionByToken(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定 token 的 Token-Session,如果该 SaSession 尚未创建,则新建并返回
getTokenSessionByToken(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取指定 token 的 Token-Session,如果该 SaSession 尚未创建,则新建并返回
getTokenSessionByToken(String, boolean) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定 token 的 Token-Session,如果该 SaSession 尚未创建,isCreate代表是否新建并返回
getTokenSessionCheckLogin() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getTokenSessionTimeout() - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
getTokenSessionTimeout() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前 token 的 Token-Session 剩余有效时间(单位: 秒,返回 -1 代表永久有效,-2 代表没有这个值)
getTokenSessionTimeout() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前 token 的 Token-Session 剩余有效时间(单位: 秒,返回 -1 代表永久有效,-2 代表没有这个值)
getTokenSessionTimeoutByTokenValue(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定 token 的 Token-Session 剩余有效时间(单位: 秒,返回 -1 代表永久有效,-2 代表没有这个值)
getTokenStyle() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getTokenTimeout() - 类中的方法 cn.dev33.satoken.same.SaSameTemplate
获取 Same-Token 的剩余有效期 (单位:秒)
getTokenTimeout() - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
getTokenTimeout() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前会话 token 剩余有效时间(单位: 秒,返回 -1 代表永久有效,-2 代表没有这个值)
getTokenTimeout() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前会话 token 剩余有效时间(单位: 秒,返回 -1 代表永久有效,-2 代表没有这个值)
getTokenTimeout(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定 token 剩余有效时间(单位: 秒,返回 -1 代表永久有效,-2 代表没有这个值)
getTokenTimeout(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取指定 token 剩余有效时间(单位: 秒,返回 -1 代表永久有效,-2 代表没有这个值)
getTokenTimeoutByLoginId(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定账号 id 的 token 剩余有效时间(单位: 秒,返回 -1 代表永久有效,-2 代表没有这个值)
getTokenUseActiveTimeout(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定 token 在缓存中的 activeTimeout 值,如果不存在则返回 null
getTokenUseActiveTimeoutOrGlobalConfig(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定 token 在缓存中的 activeTimeout 值,如果不存在则返回全局配置的 activeTimeout 值
getTokenValue() - 异常错误中的方法 cn.dev33.satoken.exception.NotSafeException
获取: 未通过校验的 Token 值
getTokenValue() - 类中的方法 cn.dev33.satoken.session.SaTerminalInfo
 
getTokenValue() - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
getTokenValue() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前请求的 token 值
getTokenValue() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前请求的 token 值
getTokenValue(boolean) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前请求的 token 值
getTokenValueByLoginId(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定账号 id 的 token
getTokenValueByLoginId(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取指定账号 id 的 token
getTokenValueByLoginId(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定账号 id 指定设备类型端的 token
getTokenValueByLoginId(Object, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取指定账号 id 指定设备类型端的 token
getTokenValueListByDeviceType(String) - 类中的方法 cn.dev33.satoken.session.SaSession
获取 登录终端 token 列表
getTokenValueListByLoginId(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定账号 id 的 token 集合
getTokenValueListByLoginId(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取指定账号 id 的 token 集合
getTokenValueListByLoginId(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定账号 id 指定设备类型端的 token 集合
getTokenValueListByLoginId(Object, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取指定账号 id 指定设备类型端的 token 集合
getTokenValueNotCut() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前请求的 token 值 (不裁剪前缀)
getTokenValueNotCut() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前请求的 token 值 (不裁剪前缀)
getTokenValueNotNull() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前请求的 token 值,如果获取不到则抛出异常
getType() - 异常错误中的方法 cn.dev33.satoken.exception.NotLoginException
获取异常类型
getType() - 类中的方法 cn.dev33.satoken.session.SaSession
获取:此 SaSession 的 类型
getUri() - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
获取 请求 uri
getUrl() - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
返回当前请求的url,不带query参数,例:http://xxx.com/test
getUsername() - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
获取 用户名
getValue() - 类中的方法 cn.dev33.satoken.context.model.SaCookie
 
getValue1() - 类中的方法 cn.dev33.satoken.util.SaValue2Box
获取第一个值
getValue1AsLong() - 类中的方法 cn.dev33.satoken.util.SaValue2Box
获取第一个值,并转化为 long 类型
getValue1AsLong(Long) - 类中的方法 cn.dev33.satoken.util.SaValue2Box
获取第一个值,并转化为 long 类型,值不存在则返回默认值
getValue1AsString() - 类中的方法 cn.dev33.satoken.util.SaValue2Box
获取第一个值,并转化为 String 类型
getValue2() - 类中的方法 cn.dev33.satoken.util.SaValue2Box
获取第二个值
getValue2AsLong() - 类中的方法 cn.dev33.satoken.util.SaValue2Box
获取第二个值,并转化为 long 类型
getValue2AsLong(Long) - 类中的方法 cn.dev33.satoken.util.SaValue2Box
获取第二个值,并转化为 long 类型,值不存在则返回默认值
getValue2AsString() - 类中的方法 cn.dev33.satoken.util.SaValue2Box
获取第二个值,并转化为 String 类型
getValueByDefaultValue(Object, T) - 接口中的方法 cn.dev33.satoken.application.SaGetValueInterface
根据默认值来获取值
getValueByType(Object, Class<T>) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
将指定值转化为指定类型
GITEE_URL - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
Sa-Token 开源地址 Gitee
GITHUB_URL - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
Sa-Token 开源地址 GitHub

H

has(String) - 接口中的方法 cn.dev33.satoken.application.SaGetValueInterface
是否含有某个 key
hasElement - 类中的变量 cn.dev33.satoken.strategy.SaStrategy
判断:集合中是否包含指定元素(模糊匹配)
hasElement(List<String>, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:集合中是否包含指定元素(模糊匹配)
hashpw(String) - 类中的静态方法 cn.dev33.satoken.secure.BCrypt
已过时。
生成密文,使用长度为10的加盐方式
hashpw(String, String) - 类中的静态方法 cn.dev33.satoken.secure.BCrypt
已过时。
生成密文
hasListener(SaTokenListener) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
判断是否已经注册了指定侦听器
hasListener(Class<? extends SaTokenListener>) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
判断是否已经注册了指定类型的侦听器
hasNonPrintableASCII(String) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
检查字符串是否包含非可打印 ASCII 字符
hasParam(String) - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
在 [ 请求体 ] 里检测请求是否提供了指定参数
hasPermission(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:指定账号 id 是否含有指定权限, 返回 true 或 false
hasPermission(Object, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断:指定账号 id 是否含有指定权限, 返回 true 或 false
hasPermission(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:当前账号是否含有指定权限, 返回 true 或 false
hasPermission(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断:当前账号是否含有指定权限, 返回 true 或 false
hasPermissionAnd(String...) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:当前账号是否含有指定权限 [ 指定多个,必须全部具有 ]
hasPermissionAnd(String...) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断:当前账号是否含有指定权限 [ 指定多个,必须全部具有 ]
hasPermissionOr(String...) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:当前账号是否含有指定权限 [ 指定多个,只要其一验证通过即可 ]
hasPermissionOr(String...) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断:当前账号是否含有指定权限 [ 指定多个,只要其一验证通过即可 ]
hasRole(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:指定账号是否含有指定角色标识, 返回 true 或 false
hasRole(Object, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断:指定账号是否含有指定角色标识, 返回 true 或 false
hasRole(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:当前账号是否拥有指定角色, 返回 true 或 false
hasRole(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断:当前账号是否拥有指定角色, 返回 true 或 false
hasRoleAnd(String...) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:当前账号是否含有指定角色标识 [ 指定多个,必须全部验证通过 ]
hasRoleAnd(String...) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断:当前账号是否含有指定角色标识 [ 指定多个,必须全部验证通过 ]
hasRoleOr(String...) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:当前账号是否含有指定角色标识 [ 指定多个,只要其一验证通过即可 ]
hasRoleOr(String...) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断:当前账号是否含有指定角色标识 [ 指定多个,只要其一验证通过即可 ]
haveExtraData() - 类中的方法 cn.dev33.satoken.session.SaTerminalInfo
判断是否设置了扩展数据
haveExtraData() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
判断是否设置了扩展数据(只在jwt模式下生效)
haveTerminalExtraData() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
判断是否设置了本次登录挂载到 SaTerminalInfo 的自定义扩展数据
HEAD - enum class 中的枚举常量 cn.dev33.satoken.router.SaHttpMethod
 
HEADER_NAME - 类中的静态变量 cn.dev33.satoken.context.model.SaCookie
写入响应头时使用的key
hexToBytes(String) - 类中的静态方法 cn.dev33.satoken.util.SaHexUtil
将十六进制字符串转换为字节数组(JDK8兼容)
httpBasic() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckOr
设定 @SaCheckHttpBasic,参考 SaCheckHttpBasic
httpDigest() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckOr
设定 @SaCheckBasic,参考 SaCheckHttpDigest

I

info - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
 
info(String, Object...) - 接口中的方法 cn.dev33.satoken.log.SaLog
输出 info 日志
info(String, Object...) - 类中的方法 cn.dev33.satoken.log.SaLogForConsole
 
INFO_COLOR - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
 
INFO_PREFIX - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
 
init() - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
当此 SaTokenDao 实例被装载时触发
init() - 类中的方法 cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
组件被安装时,开始刷新数据线程
init() - 类中的方法 cn.dev33.satoken.plugin.SaTokenPluginHolder
初始化加载所有插件(多次调用只会执行一次)
initRefreshThread() - 类中的方法 cn.dev33.satoken.dao.timedcache.SaTimedCache
初始化定时任务,定时清理过期数据
install() - 接口中的方法 cn.dev33.satoken.plugin.SaTokenPlugin
安装插件
installPlugin(SaTokenPlugin) - 类中的方法 cn.dev33.satoken.plugin.SaTokenPluginHolder
安装指定插件
installPlugin(Class<T>) - 类中的方法 cn.dev33.satoken.plugin.SaTokenPluginHolder
安装指定插件,根据插件类型
instance - 类中的静态变量 cn.dev33.satoken.plugin.SaTokenPluginHolder
默认实例,非单例模式,可替换
instance - 类中的静态变量 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForBlackPath
默认实例
instance - 类中的静态变量 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForDirectoryTraversal
默认实例
instance - 类中的静态变量 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHeader
默认实例
instance - 类中的静态变量 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHost
默认实例
instance - 类中的静态变量 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHttpMethod
默认实例
instance - 类中的静态变量 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForParameter
默认实例
instance - 类中的静态变量 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForPathBannedCharacter
默认实例
instance - 类中的静态变量 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForPathDangerCharacter
默认实例
instance - 类中的静态变量 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForWhitePath
默认实例
instance - 类中的静态变量 cn.dev33.satoken.strategy.SaAnnotationStrategy
全局单例引用
instance - 类中的静态变量 cn.dev33.satoken.strategy.SaFirewallStrategy
全局单例引用
instance - 类中的静态变量 cn.dev33.satoken.strategy.SaStrategy
获取 SaStrategy 对象的单例引用
INVALID_TOKEN - 异常错误中的静态变量 cn.dev33.satoken.exception.NotLoginException
表示 token 无效
INVALID_TOKEN_MESSAGE - 异常错误中的静态变量 cn.dev33.satoken.exception.NotLoginException
 
InvalidContextException - cn.dev33.satoken.exception中的异常错误
已过时。
InvalidContextException(String) - 异常错误的构造器 cn.dev33.satoken.exception.InvalidContextException
已过时。
一个异常:代表框架未能获取有效的上下文
isAjax() - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
判断此请求是否为 Ajax 异步请求
isAnnotationPresent - 类中的变量 cn.dev33.satoken.strategy.SaAnnotationStrategy
判断一个 Method 或其所属 Class 是否包含指定注解
isBasicType(Class<?>) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
判断类型是否为基础类型:8大基本数据类型、8大包装类、String
isCanColorLog() - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
判断当前系统是否可以打印彩色日志,判断准确率并非100%,但基本可以满足大部分场景
isCheckHost - 类中的变量 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHost
是否校验 host,默认关闭
isCheckMethod - 类中的变量 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHttpMethod
是否校验 请求Method,默认开启
isDisable - 类中的变量 cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
是否被封禁
isDisable(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:指定账号是否已被封禁 (true=已被封禁, false=未被封禁)
isDisable(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断:指定账号是否已被封禁 (true=已被封禁, false=未被封禁)
isDisable(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:指定账号的指定服务 是否已被封禁(true=已被封禁, false=未被封禁)
isDisable(Object, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断:指定账号的指定服务 是否已被封禁(true=已被封禁, false=未被封禁)
isDisabled(Object, String) - 接口中的方法 cn.dev33.satoken.stp.StpInterface
返回指定账号 id 是否被封禁
isDisableLevel(Object, int) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:指定账号是否已被封禁到指定等级
isDisableLevel(Object, int) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断:指定账号是否已被封禁到指定等级
isDisableLevel(Object, String, int) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:指定账号的指定服务,是否已被封禁到指定等级
isDisableLevel(Object, String, int) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断:指定账号的指定服务,是否已被封禁到指定等级
isDoubleValueState() - 类中的方法 cn.dev33.satoken.util.SaValue2Box
该容器是否为双值状态,即:value2 有值 (在 value2 有值的情况下,即使 value1 无值,也视为双值状态)
isEmpty(Object) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
指定元素是否为null或者空字符串
isEmpty(T[]) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
已过时。
isEmptyArray(T[]) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
指定数组是否为null或者空数组
isEmptyList(List<?>) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
指定集合是否为null或者空数组
isExists(String) - 类中的静态方法 cn.dev33.satoken.session.SaSessionCustomUtil
判断:指定 key 的 SaSession 是否存在
isFreeze(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断指定 token 是否已被冻结
isHit - 类中的变量 cn.dev33.satoken.router.SaRouterStaff
是否命中的标记变量
isHit() - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
 
isInstalledPlugin(Class<T>) - 类中的方法 cn.dev33.satoken.plugin.SaTokenPluginHolder
判断是否已经安装了指定插件
isLoader - 类中的变量 cn.dev33.satoken.plugin.SaTokenPluginHolder
是否已经加载过插件
isLogin - 类中的变量 cn.dev33.satoken.stp.SaTokenInfo
此 token 是否已经登录
isLogin() - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断当前会话是否已经登录
isLogin() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断当前会话是否已经登录
isLogin(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断指定账号是否已经登录
isLogin(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断指定账号是否已经登录
isMatch(SaHttpMethod[], String) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
Http请求方法匹配
isMatch(String[], String) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配
isMatch(String, String) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配
isMatch(List<String>, String) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配
isMatchCurrMethod(SaHttpMethod[]) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
Http请求方法匹配 (使用当前请求方式)
isMatchCurrURI(String) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配 (使用当前URI)
isMatchCurrURI(String[]) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配 (使用当前URI)
isMatchCurrURI(List<String>) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配 (使用当前URI)
isMethod(SaHttpMethod) - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
返回当前请求 Method 是否为指定值
isMethod(String) - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
返回当前请求 Method 是否为指定值
isNotEmpty(Object) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
指定元素是否不为 (null或者空字符串)
isNotValueState() - 类中的方法 cn.dev33.satoken.util.SaValue2Box
该容器是否为无值状态,即:value1 无值、value2 无值
isOpenCheckActiveTimeout() - 类中的方法 cn.dev33.satoken.stp.StpLogic
返回全局配置是否开启了 Token 活跃度校验,返回 true 代表已打开,返回 false 代表不打开,此时永不冻结 token
isParam(String, String) - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
在 [ 请求体 ] 里检测提供的参数是否为指定值
isPath(String) - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
返回当前请求 path 是否为指定值
isPathValid(String) - 类中的静态方法 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForDirectoryTraversal
检查路径是否有效
isRun - 类中的变量 cn.dev33.satoken.fun.IsRunFunction
变量
IsRunFunction - cn.dev33.satoken.fun中的类
lambda 表达式辅助封装:根据 Boolean 变量,决定是否执行一个函数
IsRunFunction(boolean) - 类的构造器 cn.dev33.satoken.fun.IsRunFunction
设定一个变量,如果为true,则执行exe函数
isSafe() - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:当前会话是否处于二级认证时间内
isSafe() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断:当前会话是否处于二级认证时间内
isSafe(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:当前会话 是否处于指定业务的二级认证时间内
isSafe(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断:当前会话 是否处于指定业务的二级认证时间内
isSafe(String, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:指定 token 是否处于二级认证时间内
isSafe(String, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断:指定 token 是否处于二级认证时间内
isSingleValueState() - 类中的方法 cn.dev33.satoken.util.SaValue2Box
该容器是否为单值状态,即:value1 有值、value2 == 无值
isSupportExtra() - 类中的方法 cn.dev33.satoken.stp.StpLogic
当前 StpLogic 对象是否支持 token 扩展参数
isSupportShareToken() - 类中的方法 cn.dev33.satoken.stp.StpLogic
返回当前 StpLogic 是否支持共享 token 策略
isSwitch() - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断当前请求是否正处于 [ 身份临时切换 ] 中
isSwitch() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断当前请求是否正处于 [ 身份临时切换 ] 中
isTrustDeviceId(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断对于指定 loginId 来讲,指定设备 id 是否为可信任设备
isTrustDeviceId(Object, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断对于指定 loginId 来讲,指定设备 id 是否为可信任设备
isTrustDeviceId(String) - 类中的方法 cn.dev33.satoken.session.SaSession
判断指定设备 id 是否为可信任设备
isUrl(String) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
使用正则表达式判断一个字符串是否为URL
isValid() - 接口中的方法 cn.dev33.satoken.context.SaTokenContext
判断:在本次请求中,此上下文是否可用。
isValid() - 类中的方法 cn.dev33.satoken.context.SaTokenContextForThreadLocal
 
isValid(String) - 类中的方法 cn.dev33.satoken.same.SaSameTemplate
判断一个 Same-Token 是否有效
isValid(String) - 类中的静态方法 cn.dev33.satoken.same.SaSameUtil
判断一个 Same-Token 是否有效
isValidLoginId(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断一个 loginId 是否是有效的
isValidNonce(String) - 类中的方法 cn.dev33.satoken.sign.SaSignTemplate
判断:随机字符串 nonce 是否有效。
isValidNonce(String) - 类中的静态方法 cn.dev33.satoken.sign.SaSignUtil
判断:随机字符串 nonce 是否有效。
isValidParamMap(Map<String, String>) - 类中的方法 cn.dev33.satoken.sign.SaSignTemplate
判断:参数列表中的 nonce、timestamp、sign 是否均为合法的
isValidParamMap(Map<String, String>) - 类中的静态方法 cn.dev33.satoken.sign.SaSignUtil
判断:参数列表中的 nonce、timestamp、sign 是否均为合法的
isValidRequest(SaRequest, String...) - 类中的方法 cn.dev33.satoken.sign.SaSignTemplate
判断:一个请求中的 nonce、timestamp、sign 是否均为合法的
isValidRequest(SaRequest, String...) - 类中的静态方法 cn.dev33.satoken.sign.SaSignUtil
判断:一个请求中的 nonce、timestamp、sign 是否均为合法的
isValidSign(Map<String, ?>, String) - 类中的方法 cn.dev33.satoken.sign.SaSignTemplate
判断:给定的参数 生成的签名是否为有效签名
isValidSign(Map<String, ?>, String) - 类中的静态方法 cn.dev33.satoken.sign.SaSignUtil
判断:给定的参数 生成的签名是否为有效签名
isValidTimestamp(long) - 类中的方法 cn.dev33.satoken.sign.SaSignTemplate
判断:指定时间戳与当前时间戳的差距是否在允许的范围内
isValidTimestamp(long) - 类中的静态方法 cn.dev33.satoken.sign.SaSignUtil
判断:指定时间戳与当前时间戳的差距是否在允许的范围内
isWrapperType(Class<?>) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
判断类型是否为8大包装类型

J

joinParam(String, String) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
在url上拼接上kv参数并返回
joinParam(String, String, Object) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
在url上拼接上kv参数并返回
joinParams(Map<String, ?>) - 类中的方法 cn.dev33.satoken.sign.SaSignTemplate
将所有参数连接成一个字符串(不排序),形如:b=28a=18c=3
joinParams(Map<String, ?>) - 类中的静态方法 cn.dev33.satoken.sign.SaSignUtil
将所有参数连接成一个字符串(不排序),形如:b=28a=18c=3
joinParamsDictSort(Map<String, ?>) - 类中的方法 cn.dev33.satoken.sign.SaSignTemplate
将所有参数按照字典顺序连接成一个字符串,形如:a=18b=28c=3
joinParamsDictSort(Map<String, ?>) - 类中的静态方法 cn.dev33.satoken.sign.SaSignUtil
将所有参数按照字典顺序连接成一个字符串,形如:a=18b=28c=3
joinSharpParam(String, String) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
在url上拼接锚参数
joinSharpParam(String, String, Object) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
在url上拼接锚参数
jsonToMap(String) - 接口中的方法 cn.dev33.satoken.json.SaJsonTemplate
反序列化:json 字符串 → Map
jsonToMap(String) - 类中的方法 cn.dev33.satoken.json.SaJsonTemplateDefaultImpl
 
jsonToObject(String) - 接口中的方法 cn.dev33.satoken.json.SaJsonTemplate
反序列化:json 字符串 → 对象 (自动判断类型)
jsonToObject(String) - 类中的方法 cn.dev33.satoken.json.SaJsonTemplateDefaultImpl
 
jsonToObject(String, Class<T>) - 接口中的方法 cn.dev33.satoken.json.SaJsonTemplate
反序列化:json 字符串 → 对象
jsonToObject(String, Class<T>) - 类中的方法 cn.dev33.satoken.json.SaJsonTemplateDefaultImpl
 
JUST_CREATED - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
常量 key 标记: 如果 token 为本次请求新创建的,则以此字符串为 key 存储在当前请求 str 中
JUST_CREATED_NOT_PREFIX - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
常量 key 标记: 如果 token 为本次请求新创建的,则以此字符串为 key 存储在当前 request 中(不拼接前缀,纯Token)
JUST_CREATED_SAVE_KEY - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
已过时。

K

key - 类中的静态变量 cn.dev33.satoken.sign.SaSignTemplate
 
keys() - 类中的方法 cn.dev33.satoken.application.SaApplication
返回当前存入的所有 key
keys() - 类中的方法 cn.dev33.satoken.session.SaSession
返回当前 Session 挂载数据的所有 key
keySet() - 接口中的方法 cn.dev33.satoken.dao.timedcache.SaMapPackage
所有 key
keySet() - 类中的方法 cn.dev33.satoken.dao.timedcache.SaMapPackageForConcurrentHashMap
 
keySet() - 类中的方法 cn.dev33.satoken.dao.timedcache.SaTimedCache
 
KICK_OUT - 异常错误中的静态变量 cn.dev33.satoken.exception.NotLoginException
表示 token 已被踢下线
KICK_OUT_MESSAGE - 异常错误中的静态变量 cn.dev33.satoken.exception.NotLoginException
 
kickout(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
踢人下线,根据账号id
kickout(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
踢人下线,根据账号id
kickout(Object, SaLogoutParameter) - 类中的方法 cn.dev33.satoken.stp.StpLogic
踢人下线,根据账号id 和 注销参数
kickout(Object, SaLogoutParameter) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
踢人下线,根据账号id 和 注销参数
kickout(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
踢人下线,根据账号id 和 设备类型
kickout(Object, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
踢人下线,根据账号id 和 设备类型
KICKOUT - enum class 中的枚举常量 cn.dev33.satoken.stp.parameter.enums.SaLogoutMode
踢人下线
kickoutByTokenValue(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
踢人下线,根据指定 token
kickoutByTokenValue(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
踢人下线,根据指定 token
kickoutByTokenValue(String, SaLogoutParameter) - 类中的方法 cn.dev33.satoken.stp.StpLogic
踢人下线,根据指定 token、注销参数
kickoutByTokenValue(String, SaLogoutParameter) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
踢人下线,根据指定 token、注销参数

L

level() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckDisable
封禁等级(如果当前账号的被封禁等级 ≥ 此值,请求就无法进入方法)
list1ContainList2AllElement(List<String>, List<String>) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
list1 是否完全包含 list2 中所有元素
list1ContainList2AnyElement(List<String>, List<String>) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
list1 是否包含 list2 中任意一个元素
list1RemoveByList2(List<String>, List<String>) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
从 list1 中剔除 list2 所包含的元素 (克隆副本操作,不影响 list1)
listenerClass - 类中的变量 cn.dev33.satoken.plugin.SaTokenPluginHookModel
监听插件类型
loaderPlugins() - 类中的方法 cn.dev33.satoken.plugin.SaTokenPluginHolder
根据 SPI 机制加载所有插件
log - 类中的静态变量 cn.dev33.satoken.SaManager
日志输出器
LOG_PREFIX - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
日志输出的前缀
login() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckOr
设定 @SaCheckLogin,参考 SaCheckLogin
login(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
会话登录
login(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
会话登录
login(Object, boolean) - 类中的方法 cn.dev33.satoken.stp.StpLogic
会话登录,并指定是否 [记住我]
login(Object, boolean) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
会话登录,并指定是否 [记住我]
login(Object, long) - 类中的方法 cn.dev33.satoken.stp.StpLogic
会话登录,并指定此次登录 token 的有效期, 单位:秒
login(Object, long) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
会话登录,并指定此次登录 token 的有效期, 单位:秒
login(Object, SaLoginParameter) - 类中的方法 cn.dev33.satoken.stp.StpLogic
会话登录,并指定所有登录参数 Model
login(Object, SaLoginParameter) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
会话登录,并指定所有登录参数 Model
login(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
会话登录,并指定登录设备类型
login(Object, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
会话登录,并指定登录设备类型
loginDeviceType - 类中的变量 cn.dev33.satoken.stp.SaTokenInfo
登录设备类型
loginId - 类中的变量 cn.dev33.satoken.stp.SaTokenInfo
此 token 对应的 LoginId,未登录时为 null
loginType - 类中的变量 cn.dev33.satoken.stp.SaTokenInfo
多账号体系下的账号类型
loginType - 类中的变量 cn.dev33.satoken.stp.StpLogic
账号类型标识,多账号体系时(一个系统多套用户表)用此值区分具体要校验的是哪套用户,比如:login、user、admin
logLevelList - 类中的静态变量 cn.dev33.satoken.util.SaFoxUtil
 
logout() - 类中的方法 cn.dev33.satoken.session.SaSession
注销Session (从持久库删除)
logout() - 类中的方法 cn.dev33.satoken.stp.StpLogic
在当前客户端会话注销
logout() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
在当前客户端会话注销
logout(SaLogoutParameter) - 类中的方法 cn.dev33.satoken.stp.StpLogic
在当前客户端会话注销,根据注销参数
logout(SaLogoutParameter) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
在当前客户端会话注销,根据注销参数
logout(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
会话注销,根据账号id
logout(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
会话注销,根据账号id
logout(Object, SaLogoutParameter) - 类中的方法 cn.dev33.satoken.stp.StpLogic
会话注销,根据账号id 和 注销参数
logout(Object, SaLogoutParameter) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
会话注销,根据账号id 和 注销参数
logout(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
会话注销,根据账号id 和 设备类型
logout(Object, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
会话注销,根据账号id 和 设备类型
LOGOUT - enum class 中的枚举常量 cn.dev33.satoken.stp.parameter.enums.SaLogoutMode
注销下线
logoutByMaxLoginCount(Object, SaSession, String, int, SaLogoutMode) - 类中的方法 cn.dev33.satoken.stp.StpLogic
如果指定账号 id、设备类型的登录客户端已经超过了指定数量,则按照登录时间顺序,把最开始登录的给注销掉
logoutByTerminalCountToZero() - 类中的方法 cn.dev33.satoken.session.SaSession
当 Session 上的 SaTerminalInfo 数量为零时,注销会话
logoutByTokenValue(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
注销下线,根据指定 token
logoutByTokenValue(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
注销下线,根据指定 token
logoutByTokenValue(String, SaLogoutParameter) - 类中的方法 cn.dev33.satoken.stp.StpLogic
注销下线,根据指定 token、注销参数
logoutByTokenValue(String, SaLogoutParameter) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
注销下线,根据指定 token、注销参数

M

mapToObject(Map<String, Object>, Class<T>) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
将 Map 转化为 Object
match(boolean) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
根据 boolean 值进行匹配
match(boolean) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
根据 boolean 值进行匹配
match(SaParamRetFunction<Object, Boolean>) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
根据自定义方法进行匹配 (lazy)
match(SaParamRetFunction<Object, Boolean>) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
根据自定义方法进行匹配 (lazy)
match(SaHttpMethod...) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
Http请求方式匹配 (Enum)
match(SaHttpMethod...) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
Http请求方法匹配 (Enum)
match(String...) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配
match(String...) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
路由匹配
match(String, SaFunction) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配,如果匹配成功则执行认证函数
match(String, SaFunction) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
路由匹配,如果匹配成功则执行认证函数
match(String, SaParamFunction<SaRouterStaff>) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配,如果匹配成功则执行认证函数
match(String, SaParamFunction<SaRouterStaff>) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
路由匹配,如果匹配成功则执行认证函数
match(String, String, SaFunction) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配 (并指定排除匹配符),如果匹配成功则执行认证函数
match(String, String, SaFunction) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
路由匹配 (并指定排除匹配符),如果匹配成功则执行认证函数
match(String, String, SaParamFunction<SaRouterStaff>) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配 (并指定排除匹配符),如果匹配成功则执行认证函数
match(String, String, SaParamFunction<SaRouterStaff>) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
路由匹配 (并指定排除匹配符),如果匹配成功则执行认证函数
match(List<String>) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配
match(List<String>) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
路由匹配
matchMethod(String...) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
Http请求方法匹配 (String)
matchMethod(String...) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
Http请求方法匹配 (String)
matchPath(String, String) - 接口中的方法 cn.dev33.satoken.context.SaTokenContext
判断:指定路由匹配符是否可以匹配成功指定路径
matchPath(String, String) - 类中的方法 cn.dev33.satoken.context.SaTokenContextDefaultImpl
 
matchPath(String, String) - 类中的方法 cn.dev33.satoken.context.SaTokenContextForThreadLocal
 
md5(String) - 类中的静态方法 cn.dev33.satoken.secure.SaSecureUtil
md5加密
md5BySalt(String, String) - 类中的静态方法 cn.dev33.satoken.secure.SaSecureUtil
已过时。
me - 类中的静态变量 cn.dev33.satoken.strategy.SaStrategy
已过时。
method - 类中的变量 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
请求方法
MIN_DISABLE_LEVEL - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
常量 key 标记: 在封禁账号时,可使用的最小封禁级别
mode() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckPermission
验证模式:AND | OR,默认AND
mode() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckRole
验证模式:AND | OR,默认AND

N

nc - 类中的变量 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
nonce计数器,是一个16进制的数值,表示同一nonce下客户端发送出请求的数量
NEVER_EXPIRE - 接口中的静态变量 cn.dev33.satoken.dao.SaTokenDao
常量,表示一个 key 永不过期 (在一个 key 被标注为永远不过期时返回此值)
newInstance(String, String, String, String) - 异常错误中的静态方法 cn.dev33.satoken.exception.NotLoginException
静态方法构建一个 NotLoginException
newMatch() - 类中的静态方法 cn.dev33.satoken.router.SaRouter
初始化一个SaRouterStaff,开始匹配
NO_PREFIX - 异常错误中的静态变量 cn.dev33.satoken.exception.NotLoginException
表示 未按照指定前缀提交 token
NO_PREFIX_MESSAGE - 异常错误中的静态变量 cn.dev33.satoken.exception.NotLoginException
 
noExe(SaFunction) - 类中的方法 cn.dev33.satoken.fun.IsRunFunction
当 isRun == false 时执行此函数
nonce - 类中的变量 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
随机数
nonce - 类中的静态变量 cn.dev33.satoken.sign.SaSignTemplate
 
NOT_DISABLE_LEVEL - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
常量 key 标记: 账号封禁级别,表示未被封禁
NOT_TOKEN - 异常错误中的静态变量 cn.dev33.satoken.exception.NotLoginException
表示未能读取到有效 token
NOT_TOKEN_MESSAGE - 异常错误中的静态变量 cn.dev33.satoken.exception.NotLoginException
 
NOT_VALUE_EXPIRE - 接口中的静态变量 cn.dev33.satoken.dao.SaTokenDao
常量,表示系统中不存在这个缓存(在对不存在的 key 获取剩余存活时间时返回此值)
notAllowHeaderNames - 类中的变量 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHeader
不允许的请求头列表
notAllowParameterNames - 类中的变量 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForParameter
不允许的请求参数列表
notEmpty(Object, String) - 异常错误中的静态方法 cn.dev33.satoken.exception.SaSignException
断言 value 不为空,否则抛出 message 异常
notEmpty(Object, String) - 异常错误中的静态方法 cn.dev33.satoken.exception.SaTokenException
断言 value 不为空,否则抛出 message 异常
notEmpty(Object, String, int) - 异常错误中的静态方法 cn.dev33.satoken.exception.SaTokenException
断言 value 不为空,否则抛出 message 异常
notEquals(Object, Object) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
比较两个对象是否不相等
NotHttpBasicAuthException - cn.dev33.satoken.exception中的异常错误
一个异常:代表会话未能通过 Http Basic 认证校验
NotHttpBasicAuthException() - 异常错误的构造器 cn.dev33.satoken.exception.NotHttpBasicAuthException
一个异常:代表会话未通过 Http Basic 认证
NotHttpDigestAuthException - cn.dev33.satoken.exception中的异常错误
一个异常:代表会话未能通过 Http Digest 认证校验
NotHttpDigestAuthException() - 异常错误的构造器 cn.dev33.satoken.exception.NotHttpDigestAuthException
一个异常:代表会话未通过 Http Digest 认证
NotImplException - cn.dev33.satoken.exception中的异常错误
一个异常:代表组件或方法未被提供有效的实现
NotImplException(String) - 异常错误的构造器 cn.dev33.satoken.exception.NotImplException
一个异常:代表组件或方法未被提供有效的实现
NotLoginException - cn.dev33.satoken.exception中的异常错误
一个异常:代表会话未能通过登录认证校验
NotLoginException(String, String, String) - 异常错误的构造器 cn.dev33.satoken.exception.NotLoginException
构造方法创建一个
notMatch(boolean) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
根据 boolean 值进行匹配排除
notMatch(boolean) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
根据 boolean 值进行匹配排除
notMatch(SaParamRetFunction<Object, Boolean>) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
根据自定义方法进行匹配排除 (lazy)
notMatch(SaParamRetFunction<Object, Boolean>) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
根据自定义方法进行匹配排除 (lazy)
notMatch(SaHttpMethod...) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
Http请求方法匹配排除 (Enum)
notMatch(SaHttpMethod...) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
Http请求方法匹配排除 (Enum)
notMatch(String...) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配排除
notMatch(String...) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
路由匹配排除
notMatch(List<String>) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配排除
notMatch(List<String>) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
路由匹配排除
notMatchMethod(String...) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
Http请求方法匹配排除 (String)
notMatchMethod(String...) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
Http请求方法匹配排除 (String)
NotPermissionException - cn.dev33.satoken.exception中的异常错误
一个异常:代表会话未能通过权限认证校验
NotPermissionException(String) - 异常错误的构造器 cn.dev33.satoken.exception.NotPermissionException
 
NotPermissionException(String, String) - 异常错误的构造器 cn.dev33.satoken.exception.NotPermissionException
 
NotRoleException - cn.dev33.satoken.exception中的异常错误
一个异常:代表会话未能通过角色认证校验
NotRoleException(String) - 异常错误的构造器 cn.dev33.satoken.exception.NotRoleException
 
NotRoleException(String, String) - 异常错误的构造器 cn.dev33.satoken.exception.NotRoleException
 
NotSafeException - cn.dev33.satoken.exception中的异常错误
一个异常:代表会话未能通过二级认证校验
NotSafeException(String, String, String) - 异常错误的构造器 cn.dev33.satoken.exception.NotSafeException
一个异常:代表会话未能通过二级认证校验
notTrue(boolean, String) - 异常错误中的静态方法 cn.dev33.satoken.exception.SaSignException
断言 flag 不为 true,否则抛出 message 异常
notTrue(boolean, String) - 异常错误中的静态方法 cn.dev33.satoken.exception.SaTokenException
断言 flag 不为 true,否则抛出 message 异常
notTrue(boolean, String, int) - 异常错误中的静态方法 cn.dev33.satoken.exception.SaTokenException
断言 flag 不为 true,否则抛出 message 异常
NotWebContextException - cn.dev33.satoken.exception中的异常错误
一个异常:代表当前不是 Web 上下文,无法调用某个 API
NotWebContextException(String) - 异常错误的构造器 cn.dev33.satoken.exception.NotWebContextException
一个异常:代表当前不是 Web 上下文,无法调用某个 API

O

objectToBytes(Object) - 接口中的方法 cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdk
 
objectToBytes(Object) - 类中的方法 cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJson
 
objectToBytes(Object) - 接口中的方法 cn.dev33.satoken.serializer.SaSerializerTemplate
序列化:对象 -> 字节数组
objectToJson(Object) - 接口中的方法 cn.dev33.satoken.json.SaJsonTemplate
序列化:对象 -> json 字符串
objectToJson(Object) - 类中的方法 cn.dev33.satoken.json.SaJsonTemplateDefaultImpl
 
objectToString(Object) - 接口中的方法 cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdk
 
objectToString(Object) - 类中的方法 cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJson
 
objectToString(Object) - 接口中的方法 cn.dev33.satoken.serializer.SaSerializerTemplate
序列化:对象 -> 字符串
ok() - 类中的静态方法 cn.dev33.satoken.util.SaResult
 
ok(String) - 类中的静态方法 cn.dev33.satoken.util.SaResult
 
onAfterDestroy(Class<T>, SaTokenPluginHookFunction<T>) - 类中的方法 cn.dev33.satoken.plugin.SaTokenPluginHolder
注册指定插件的 [ Destroy 后置钩子 ],同插件支持多次注册
onAfterInstall(Class<T>, SaTokenPluginHookFunction<T>) - 类中的方法 cn.dev33.satoken.plugin.SaTokenPluginHolder
注册指定插件的 [ Install 后置钩子 ],1、同插件支持多次注册。
onBeforeDestroy(Class<T>, SaTokenPluginHookFunction<T>) - 类中的方法 cn.dev33.satoken.plugin.SaTokenPluginHolder
注册指定插件的 [ Destroy 前置钩子 ],同插件支持多次注册
onBeforeInstall(Class<T>, SaTokenPluginHookFunction<T>) - 类中的方法 cn.dev33.satoken.plugin.SaTokenPluginHolder
注册指定插件的 [ Install 前置钩子 ],1、同插件支持多次注册。
onDestroy(Class<T>, SaTokenPluginHookFunction<T>) - 类中的方法 cn.dev33.satoken.plugin.SaTokenPluginHolder
注册指定插件的 [ Destroy 钩子 ],1、同插件支持多次注册。
onInstall(Class<T>, SaTokenPluginHookFunction<T>) - 类中的方法 cn.dev33.satoken.plugin.SaTokenPluginHolder
注册指定插件的 [ Install 钩子 ],1、同插件支持多次注册。
opaque - 类中的变量 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
opaque
openSafe(long) - 类中的方法 cn.dev33.satoken.stp.StpLogic
在当前会话 开启二级认证
openSafe(long) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
在当前会话 开启二级认证
openSafe(String, long) - 类中的方法 cn.dev33.satoken.stp.StpLogic
在当前会话 开启二级认证
openSafe(String, long) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
在当前会话 开启二级认证
OPTIONS - enum class 中的枚举常量 cn.dev33.satoken.router.SaHttpMethod
 
OR - enum class 中的枚举常量 cn.dev33.satoken.annotation.SaMode
只需具有其中一个元素
orRole() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckPermission
在权限校验不通过时的次要选择,两者只要其一校验成功即可通过校验

P

parseToken(String) - 接口中的方法 cn.dev33.satoken.temp.SaTempInterface
解析 Token 获取 value
parseToken(String) - 类中的静态方法 cn.dev33.satoken.temp.SaTempUtil
解析 Token 获取 value
parseToken(String, Class<T>) - 接口中的方法 cn.dev33.satoken.temp.SaTempInterface
解析 Token 获取 value,并转换为指定类型
parseToken(String, Class<T>) - 类中的静态方法 cn.dev33.satoken.temp.SaTempUtil
解析 Token 获取 value,并转换为指定类型
parseToken(String, String) - 接口中的方法 cn.dev33.satoken.temp.SaTempInterface
解析 Token 获取 value
parseToken(String, String) - 类中的静态方法 cn.dev33.satoken.temp.SaTempUtil
解析 Token 获取 value
parseToken(String, String, Class<T>) - 接口中的方法 cn.dev33.satoken.temp.SaTempInterface
解析 Token 获取 value,并转换为指定类型
parseToken(String, String, Class<T>) - 类中的静态方法 cn.dev33.satoken.temp.SaTempUtil
解析 Token 获取 value,并转换为指定类型
password - 类中的变量 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
密码
password() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckHttpDigest
密码
PATCH - enum class 中的枚举常量 cn.dev33.satoken.router.SaHttpMethod
 
permission() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckOr
设定 @SaCheckPermission,参考 SaCheckPermission
PERMISSION_LIST - 类中的静态变量 cn.dev33.satoken.session.SaSession
在 SaSession 上存储权限列表时建议使用的 key
POST - enum class 中的枚举常量 cn.dev33.satoken.router.SaHttpMethod
 
println(int, String, String, String, Object...) - 类中的方法 cn.dev33.satoken.log.SaLogForConsole
打印日志到控制台
printSaToken() - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
打印 Sa-Token 版本字符画
put(String, V) - 接口中的方法 cn.dev33.satoken.dao.timedcache.SaMapPackage
put(String, V) - 类中的方法 cn.dev33.satoken.dao.timedcache.SaMapPackageForConcurrentHashMap
 
PUT - enum class 中的枚举常量 cn.dev33.satoken.router.SaHttpMethod
 
putStpLogic(StpLogic) - 类中的静态方法 cn.dev33.satoken.SaManager
向全局集合中 put 一个 StpLogic

Q

qop - 类中的变量 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
保护质量(auth=默认的,auth-int=增加报文完整性检测),可以为空,但不推荐

R

realm - 类中的变量 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
领域
realm() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckHttpBasic
领域
realm() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckHttpDigest
领域
redirect(String) - 接口中的方法 cn.dev33.satoken.context.model.SaResponse
重定向
refreshDataMap() - 类中的方法 cn.dev33.satoken.dao.timedcache.SaTimedCache
清理所有已经过期的 key
refreshDataMap(Map<String, Object>) - 类中的方法 cn.dev33.satoken.session.SaSession
写入数据集合 (不改变底层对象引用,只将此 dataMap 所有数据进行替换)
refreshFlag - 类中的变量 cn.dev33.satoken.dao.timedcache.SaTimedCache
是否继续执行数据清理的线程标记
refreshThread - 类中的变量 cn.dev33.satoken.dao.timedcache.SaTimedCache
执行数据清理的线程引用
refreshToken() - 类中的方法 cn.dev33.satoken.same.SaSameTemplate
刷新一次 Same-Token (注意集群环境中不要多个服务重复调用)
refreshToken() - 类中的静态方法 cn.dev33.satoken.same.SaSameUtil
刷新一次 Same-Token (注意集群环境中不要多个服务重复调用)
registerAnnotationHandler(SaAnnotationHandlerInterface<?>) - 类中的方法 cn.dev33.satoken.strategy.SaAnnotationStrategy
注册一个注解处理器
registerAnnotationHandlerToFirst(SaAnnotationHandlerInterface<?>) - 类中的方法 cn.dev33.satoken.strategy.SaAnnotationStrategy
注册一个注解处理器,到首位
registerDefaultAnnotationHandler() - 类中的方法 cn.dev33.satoken.strategy.SaAnnotationStrategy
注册所有默认的注解处理器
registerHook(SaFirewallCheckHook) - 类中的方法 cn.dev33.satoken.strategy.SaFirewallStrategy
注册一个防火墙校验 hook
registerListener(SaTokenListener) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
注册一个侦听器
registerListenerList(List<SaTokenListener>) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
注册一组侦听器
remove(String) - 接口中的方法 cn.dev33.satoken.dao.timedcache.SaMapPackage
remove(String) - 类中的方法 cn.dev33.satoken.dao.timedcache.SaMapPackageForConcurrentHashMap
 
removeAnnotationHandler(Class<?>) - 类中的方法 cn.dev33.satoken.strategy.SaAnnotationStrategy
移除一个注解处理器
removeDefaultFields() - 类中的方法 cn.dev33.satoken.util.SaResult
移除默认属性(code、msg、data), 连缀风格
removeExtraAttr(String) - 类中的方法 cn.dev33.satoken.config.SaCookieConfig
移除指定扩展属性
removeExtraAttr(String) - 类中的方法 cn.dev33.satoken.context.model.SaCookie
移除指定扩展属性
removeHook(Class<? extends SaFirewallCheckHook>) - 类中的方法 cn.dev33.satoken.strategy.SaFirewallStrategy
移除指定类型的防火墙校验 hook
removeListener(SaTokenListener) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
移除一个侦听器
removeListener(Class<? extends SaTokenListener>) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
移除指定类型的所有侦听器
removeNonDefaultFields() - 类中的方法 cn.dev33.satoken.util.SaResult
移除非默认属性(code、msg、data), 连缀风格
removeStpLogic(String) - 类中的静态方法 cn.dev33.satoken.SaManager
在全局集合中 移除 一个 StpLogic
removeTerminal(String) - 类中的方法 cn.dev33.satoken.session.SaSession
移除一个终端信息
removeTerminalByKickout(SaSession, SaTerminalInfo) - 类中的方法 cn.dev33.satoken.stp.StpLogic
在 Account-Session 上移除 Terminal 信息 (踢人下线方式)
removeTerminalByKickout(SaSession, SaTerminalInfo) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
在 Account-Session 上移除 Terminal 信息 (踢人下线方式)
removeTerminalByLogout(SaSession, SaTerminalInfo) - 类中的方法 cn.dev33.satoken.stp.StpLogic
在 Account-Session 上移除 Terminal 信息 (注销下线方式)
removeTerminalByLogout(SaSession, SaTerminalInfo) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
在 Account-Session 上移除 Terminal 信息 (注销下线方式)
removeTerminalByReplaced(SaSession, SaTerminalInfo) - 类中的方法 cn.dev33.satoken.stp.StpLogic
在 Account-Session 上移除 Terminal 信息 (顶人下线方式)
removeTerminalByReplaced(SaSession, SaTerminalInfo) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
在 Account-Session 上移除 Terminal 信息 (顶人下线方式)
renewTimeout(long) - 类中的方法 cn.dev33.satoken.stp.StpLogic
对当前 token 的 timeout 值进行续期
renewTimeout(long) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
对当前 token 的 timeout 值进行续期
renewTimeout(String, long) - 类中的方法 cn.dev33.satoken.stp.StpLogic
对指定 token 的 timeout 值进行续期
renewTimeout(String, long) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
对指定 token 的 timeout 值进行续期
replaced(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
顶人下线,根据账号id
replaced(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
顶人下线,根据账号id
replaced(Object, SaLogoutParameter) - 类中的方法 cn.dev33.satoken.stp.StpLogic
顶人下线,根据账号id 和 注销参数
replaced(Object, SaLogoutParameter) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
顶人下线,根据账号id 和 注销参数
replaced(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
顶人下线,根据账号id 和 设备类型
replaced(Object, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
顶人下线,根据账号id 和 设备类型
REPLACED - enum class 中的枚举常量 cn.dev33.satoken.stp.parameter.enums.SaLogoutMode
顶人下线
replacedByTokenValue(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
顶人下线,根据指定 token
replacedByTokenValue(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
顶人下线,根据指定 token
replacedByTokenValue(String, SaLogoutParameter) - 类中的方法 cn.dev33.satoken.stp.StpLogic
顶人下线,根据指定 token、注销参数
replacedByTokenValue(String, SaLogoutParameter) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
顶人下线,根据指定 token、注销参数
request - 类中的变量 cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage.Box
 
RequestPathInvalidException - cn.dev33.satoken.exception中的异常错误
一个异常:代表请求 path 无效或非法
RequestPathInvalidException(String, String) - 异常错误的构造器 cn.dev33.satoken.exception.RequestPathInvalidException
 
reset() - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
重置命中标记为 true
resetConfig(boolean) - 类中的方法 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForPathBannedCharacter
重载配置
resetConfig(boolean, String...) - 类中的方法 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHost
重载配置
resetConfig(boolean, String...) - 类中的方法 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHttpMethod
配置
resetConfig(String...) - 类中的方法 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForBlackPath
重载配置
resetConfig(String...) - 类中的方法 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHeader
配置
resetConfig(String...) - 类中的方法 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForParameter
配置
resetConfig(String...) - 类中的方法 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForPathDangerCharacter
重载配置
resetConfig(String...) - 类中的方法 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForWhitePath
重载配置
response - 类中的变量 cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage.Box
 
response - 类中的变量 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
请求摘要,最终计算的摘要结果
result - 异常错误中的变量 cn.dev33.satoken.exception.BackResultException
要输出的结果
role() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckOr
设定 @SaCheckRole,参考 SaCheckRole
ROLE_LIST - 类中的静态变量 cn.dev33.satoken.session.SaSession
在 SaSession 上存储角色列表时建议使用的 key
routePrefix - 类中的静态变量 cn.dev33.satoken.application.ApplicationInfo
应用前缀
rsaDecryptByPrivate(String, String) - 类中的静态方法 cn.dev33.satoken.secure.SaSecureUtil
已过时。
rsaDecryptByPublic(String, String) - 类中的静态方法 cn.dev33.satoken.secure.SaSecureUtil
已过时。
rsaEncryptByPrivate(String, String) - 类中的静态方法 cn.dev33.satoken.secure.SaSecureUtil
已过时。
rsaEncryptByPublic(String, String) - 类中的静态方法 cn.dev33.satoken.secure.SaSecureUtil
已过时。
rsaGenerateKeyPair() - 类中的静态方法 cn.dev33.satoken.secure.SaSecureUtil
已过时。
run() - 接口中的方法 cn.dev33.satoken.fun.SaFunction
执行的方法
run() - 接口中的方法 cn.dev33.satoken.fun.SaRetFunction
执行的方法
run(SaRequest, SaResponse, Object) - 接口中的方法 cn.dev33.satoken.fun.SaRouteFunction
执行验证的方法
run(FirewallCheckException, SaRequest, SaResponse, Object) - 接口中的方法 cn.dev33.satoken.fun.strategy.SaFirewallCheckFailHandleFunction
执行函数
run(Object) - 接口中的方法 cn.dev33.satoken.filter.SaFilterAuthStrategy
执行方法
run(Throwable) - 接口中的方法 cn.dev33.satoken.filter.SaFilterErrorStrategy
执行方法
run(T) - 接口中的方法 cn.dev33.satoken.fun.SaParamFunction
执行的方法
run(T) - 接口中的方法 cn.dev33.satoken.fun.SaParamRetFunction
执行的方法
run(T, T2) - 接口中的方法 cn.dev33.satoken.fun.SaTwoParamFunction
执行的方法

S

SaAnnotationHandlerInterface<T extends Annotation> - cn.dev33.satoken.annotation.handler中的接口
所有注解处理器的父接口
SaAnnotationStrategy - cn.dev33.satoken.strategy中的类
Sa-Token 注解鉴权相关策略
SaApplication - cn.dev33.satoken.application中的类
Application Model,全局作用域的读取值对象。
SaApplication() - 类的构造器 cn.dev33.satoken.application.SaApplication
 
SaAutoRenewFunction - cn.dev33.satoken.fun.strategy中的接口
函数式接口:自定义自动续期条件
SaBase64Util - cn.dev33.satoken.secure中的类
Sa-Token Base64 工具类
SaBase64Util() - 类的构造器 cn.dev33.satoken.secure.SaBase64Util
 
SaCheckDisable - cn.dev33.satoken.annotation中的Annotation Interface
服务禁用校验:判断当前账号是否被禁用了指定服务,如果被禁用,会抛出异常,没有被禁用才能进入方法。
SaCheckDisableHandler - cn.dev33.satoken.annotation.handler中的类
注解 SaCheckDisable 的处理器
SaCheckDisableHandler() - 类的构造器 cn.dev33.satoken.annotation.handler.SaCheckDisableHandler
 
SaCheckElementAnnotationFunction - cn.dev33.satoken.fun.strategy中的接口
函数式接口:对一个 [元素] 对象进行注解校验 (注解鉴权内部实现)
SaCheckELRootMapExtendFunction - cn.dev33.satoken.fun.strategy中的接口
函数式接口:SaCheckELRootMap 扩展函数
SaCheckHttpBasic - cn.dev33.satoken.annotation中的Annotation Interface
Http Basic 认证校验:只有通过 Http Basic 认证后才能进入该方法,否则抛出异常。
SaCheckHttpBasicHandler - cn.dev33.satoken.annotation.handler中的类
注解 SaCheckHttpBasic 的处理器
SaCheckHttpBasicHandler() - 类的构造器 cn.dev33.satoken.annotation.handler.SaCheckHttpBasicHandler
 
SaCheckHttpDigest - cn.dev33.satoken.annotation中的Annotation Interface
Http Digest 认证校验:只有通过 Http Digest 认证后才能进入该方法,否则抛出异常。
SaCheckHttpDigestHandler - cn.dev33.satoken.annotation.handler中的类
注解 SaCheckHttpDigest 的处理器
SaCheckHttpDigestHandler() - 类的构造器 cn.dev33.satoken.annotation.handler.SaCheckHttpDigestHandler
 
SaCheckLogin - cn.dev33.satoken.annotation中的Annotation Interface
登录认证校验:只有登录之后才能进入该方法。
SaCheckLoginHandler - cn.dev33.satoken.annotation.handler中的类
注解 SaCheckLogin 的处理器
SaCheckLoginHandler() - 类的构造器 cn.dev33.satoken.annotation.handler.SaCheckLoginHandler
 
SaCheckMethodAnnotationFunction - cn.dev33.satoken.fun.strategy中的接口
函数式接口:对一个 [Method] 对象进行注解校验 (注解鉴权内部实现)
SaCheckOr - cn.dev33.satoken.annotation中的Annotation Interface
批量注解鉴权:只要满足其中一个注解即可通过验证
SaCheckOrAnnotationFunction - cn.dev33.satoken.fun.strategy中的接口
函数式接口:对一个 @SaCheckOr 进行注解校验
SaCheckOrHandler - cn.dev33.satoken.annotation.handler中的类
注解 SaCheckOr 的处理器
SaCheckOrHandler() - 类的构造器 cn.dev33.satoken.annotation.handler.SaCheckOrHandler
 
SaCheckPermission - cn.dev33.satoken.annotation中的Annotation Interface
权限认证校验:必须具有指定权限才能进入该方法。
SaCheckPermissionHandler - cn.dev33.satoken.annotation.handler中的类
注解 SaCheckPermission 的处理器
SaCheckPermissionHandler() - 类的构造器 cn.dev33.satoken.annotation.handler.SaCheckPermissionHandler
 
SaCheckRole - cn.dev33.satoken.annotation中的Annotation Interface
角色认证校验:必须具有指定角色标识才能进入该方法。
SaCheckRoleHandler - cn.dev33.satoken.annotation.handler中的类
注解 SaCheckRole 的处理器
SaCheckRoleHandler() - 类的构造器 cn.dev33.satoken.annotation.handler.SaCheckRoleHandler
 
SaCheckSafe - cn.dev33.satoken.annotation中的Annotation Interface
二级认证校验:客户端必须完成二级认证之后,才能进入该方法,否则将被抛出异常。
SaCheckSafeHandler - cn.dev33.satoken.annotation.handler中的类
注解 SaCheckSafe 的处理器
SaCheckSafeHandler() - 类的构造器 cn.dev33.satoken.annotation.handler.SaCheckSafeHandler
 
SaCheckSign - cn.dev33.satoken.annotation中的Annotation Interface
权限认证校验:必须具有正确的参数签名才可以通过校验
SaCheckSignHandler - cn.dev33.satoken.annotation.handler中的类
注解 SaCheckSign 的处理器
SaCheckSignHandler() - 类的构造器 cn.dev33.satoken.annotation.handler.SaCheckSignHandler
 
SaCookie - cn.dev33.satoken.context.model中的类
Cookie Model,代表一个 Cookie 应该具有的所有参数
SaCookie() - 类的构造器 cn.dev33.satoken.context.model.SaCookie
构造一个
SaCookie(String, String) - 类的构造器 cn.dev33.satoken.context.model.SaCookie
构造一个
SaCookieConfig - cn.dev33.satoken.config中的类
Sa-Token Cookie写入 相关配置
SaCookieConfig() - 类的构造器 cn.dev33.satoken.config.SaCookieConfig
 
SaCreateSessionFunction - cn.dev33.satoken.fun.strategy中的接口
函数式接口:创建 SaSession 的策略
SaCreateStpLogicFunction - cn.dev33.satoken.fun.strategy中的接口
函数式接口:创建 StpLogic 的算法
SaCreateTokenFunction - cn.dev33.satoken.fun.strategy中的接口
函数式接口:创建 token 的策略
SaDisableWrapperInfo - cn.dev33.satoken.model.wrapperInfo中的类
返回值包装类:描述一个账号是否已被封禁等信息
SaDisableWrapperInfo(boolean, long, int) - 类的构造器 cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
构建对象
SaErrorCode - cn.dev33.satoken.error中的接口
定义所有异常细分状态码
safe() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckOr
设定 @SaCheckSafe,参考 SaCheckSafe
SAFE_AUTH_SAVE_KEY - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
已过时。
SAFE_AUTH_SAVE_VALUE - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
常量 key 标记: 在进行 Token 二级认证时,写入的 value 值
SaFilter - cn.dev33.satoken.filter中的接口
Sa-Token 过滤器接口,为不同版本的过滤器: 1、封装共同代码。
SaFilterAuthStrategy - cn.dev33.satoken.filter中的接口
Sa-Token 全局过滤器 - 认证策略封装,方便 lambda 表达式风格调用
SaFilterErrorStrategy - cn.dev33.satoken.filter中的接口
Sa-Token 全局过滤器 - 异常处理策略封装,方便 lambda 表达式风格调用
SaFirewallCheckFailHandleFunction - cn.dev33.satoken.fun.strategy中的接口
函数式接口:当防火墙校验不通过时执行的函数
SaFirewallCheckFunction - cn.dev33.satoken.fun.strategy中的接口
函数式接口:防火墙校验函数
SaFirewallCheckHook - cn.dev33.satoken.strategy.hooks中的接口
防火墙策略校验钩子函数 - 接口
SaFirewallCheckHookForBlackPath - cn.dev33.satoken.strategy.hooks中的类
防火墙策略校验钩子函数:请求 path 黑名单校验
SaFirewallCheckHookForBlackPath() - 类的构造器 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForBlackPath
 
SaFirewallCheckHookForDirectoryTraversal - cn.dev33.satoken.strategy.hooks中的类
防火墙策略校验钩子函数:请求 path 目录遍历符检测
SaFirewallCheckHookForDirectoryTraversal() - 类的构造器 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForDirectoryTraversal
 
SaFirewallCheckHookForHeader - cn.dev33.satoken.strategy.hooks中的类
防火墙策略校验钩子函数:请求头检测
SaFirewallCheckHookForHeader() - 类的构造器 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHeader
 
SaFirewallCheckHookForHost - cn.dev33.satoken.strategy.hooks中的类
防火墙策略校验钩子函数:Host 检测
SaFirewallCheckHookForHost() - 类的构造器 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHost
 
SaFirewallCheckHookForHttpMethod - cn.dev33.satoken.strategy.hooks中的类
防火墙策略校验钩子函数:请求 Method 检测
SaFirewallCheckHookForHttpMethod() - 类的构造器 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHttpMethod
 
SaFirewallCheckHookForParameter - cn.dev33.satoken.strategy.hooks中的类
防火墙策略校验钩子函数:请求参数检测
SaFirewallCheckHookForParameter() - 类的构造器 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForParameter
 
SaFirewallCheckHookForPathBannedCharacter - cn.dev33.satoken.strategy.hooks中的类
防火墙策略校验钩子函数:请求 path 禁止字符校验
SaFirewallCheckHookForPathBannedCharacter() - 类的构造器 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForPathBannedCharacter
 
SaFirewallCheckHookForPathDangerCharacter - cn.dev33.satoken.strategy.hooks中的类
防火墙策略校验钩子函数:请求 path 危险字符校验
SaFirewallCheckHookForPathDangerCharacter() - 类的构造器 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForPathDangerCharacter
 
SaFirewallCheckHookForWhitePath - cn.dev33.satoken.strategy.hooks中的类
防火墙策略校验钩子函数:请求 path 白名单放行
SaFirewallCheckHookForWhitePath() - 类的构造器 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForWhitePath
 
SaFirewallStrategy - cn.dev33.satoken.strategy中的类
Sa-Token 防火墙策略
SaFoxUtil - cn.dev33.satoken.util中的类
Sa-Token 内部工具类
SaFunction - cn.dev33.satoken.fun中的接口
无形参、无返回值的函数式接口,方便开发者进行 lambda 表达式风格调用
SaGenerateUniqueTokenFunction - cn.dev33.satoken.fun.strategy中的接口
生成唯一式 token 的函数式接口,方便开发者进行 lambda 表达式风格调用
SaGetAnnotationFunction - cn.dev33.satoken.fun.strategy中的接口
函数式接口:从元素上获取注解
SaGetValueInterface - cn.dev33.satoken.application中的接口
对取值的一组方法封装
SaHasElementFunction - cn.dev33.satoken.fun.strategy中的接口
函数式接口:判断集合中是否包含指定元素(模糊匹配)
SaHexUtil - cn.dev33.satoken.util中的类
十六进制工具类
SaHexUtil() - 类的构造器 cn.dev33.satoken.util.SaHexUtil
 
SaHolder - cn.dev33.satoken.context中的类
Sa-Token 上下文持有类,你可以通过此类快速获取当前环境下的 SaRequest、SaResponse、SaStorage、SaApplication 对象。
SaHolder() - 类的构造器 cn.dev33.satoken.context.SaHolder
 
saHttpBasicTemplate - 类中的静态变量 cn.dev33.satoken.httpauth.basic.SaHttpBasicUtil
底层使用的 SaBasicTemplate 对象
SaHttpBasicTemplate - cn.dev33.satoken.httpauth.basic中的类
Sa-Token Http Basic 认证模块
SaHttpBasicTemplate() - 类的构造器 cn.dev33.satoken.httpauth.basic.SaHttpBasicTemplate
 
SaHttpBasicUtil - cn.dev33.satoken.httpauth.basic中的类
Sa-Token Http Basic 认证模块,Util 工具类
SaHttpDigestModel - cn.dev33.satoken.httpauth.digest中的类
Sa-Token Http Digest 认证 - 参数实体类
SaHttpDigestModel() - 类的构造器 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
 
SaHttpDigestModel(String, String) - 类的构造器 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
 
SaHttpDigestModel(String, String, String) - 类的构造器 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
 
saHttpDigestTemplate - 类中的静态变量 cn.dev33.satoken.httpauth.digest.SaHttpDigestUtil
底层使用的 SaHttpDigestTemplate 对象
SaHttpDigestTemplate - cn.dev33.satoken.httpauth.digest中的类
Sa-Token Http Digest 认证模块 - 模板方法类
SaHttpDigestTemplate() - 类的构造器 cn.dev33.satoken.httpauth.digest.SaHttpDigestTemplate
 
SaHttpDigestUtil - cn.dev33.satoken.httpauth.digest中的类
Sa-Token Http Digest 认证模块,Util 工具类
SaHttpMethod - cn.dev33.satoken.router中的Enum Class
Http 请求各种请求类型的枚举表示
SaIgnore - cn.dev33.satoken.annotation中的Annotation Interface
忽略认证:表示被修饰的方法或类无需进行注解认证和路由拦截认证。
SaIgnoreHandler - cn.dev33.satoken.annotation.handler中的类
注解 SaIgnore 的处理器
SaIgnoreHandler() - 类的构造器 cn.dev33.satoken.annotation.handler.SaIgnoreHandler
 
SaIsAnnotationPresentFunction - cn.dev33.satoken.fun.strategy中的接口
函数式接口:判断一个 Method 或其所属 Class 是否包含指定注解
SaJsonConvertException - cn.dev33.satoken.exception中的异常错误
一个异常:代表 JSON 转换失败
SaJsonConvertException(Throwable) - 异常错误的构造器 cn.dev33.satoken.exception.SaJsonConvertException
一个异常:代表 JSON 转换失败
SaJsonTemplate - cn.dev33.satoken.json中的接口
JSON 转换器
SaJsonTemplateDefaultImpl - cn.dev33.satoken.json中的类
JSON 转换器,默认实现类
SaJsonTemplateDefaultImpl() - 类的构造器 cn.dev33.satoken.json.SaJsonTemplateDefaultImpl
 
SaLog - cn.dev33.satoken.log中的接口
Sa-Token 日志输出接口
SaLogForConsole - cn.dev33.satoken.log中的类
Sa-Token 日志实现类 [ 控制台打印 ]
SaLogForConsole() - 类的构造器 cn.dev33.satoken.log.SaLogForConsole
 
SaLoginConfig - cn.dev33.satoken.stp中的类
已过时。
SaLoginModel - cn.dev33.satoken.stp中的类
已过时。
SaLoginModel() - 类的构造器 cn.dev33.satoken.stp.SaLoginModel
已过时。
 
SaLoginParameter - cn.dev33.satoken.stp.parameter中的类
在调用 `StpUtil.login()` 时的 配置参数对象,决定登录的一些细节行为
SaLoginParameter() - 类的构造器 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
SaLoginParameter(SaTokenConfig) - 类的构造器 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
SaLogoutMode - cn.dev33.satoken.stp.parameter.enums中的Enum Class
SaLogoutMode: 注销模式
SaLogoutParameter - cn.dev33.satoken.stp.parameter中的类
在会话注销时的 配置参数对象,决定注销时的一些细节行为
SaLogoutParameter() - 类的构造器 cn.dev33.satoken.stp.parameter.SaLogoutParameter
 
SaLogoutParameter(SaTokenConfig) - 类的构造器 cn.dev33.satoken.stp.parameter.SaLogoutParameter
 
SaLogoutRange - cn.dev33.satoken.stp.parameter.enums中的Enum Class
SaLogoutMode: 注销范围
SaManager - cn.dev33.satoken中的类
管理 Sa-Token 所有全局组件,可通过此类快速获取、写入各种全局组件对象
SaManager() - 类的构造器 cn.dev33.satoken.SaManager
 
SaMapPackage<V> - cn.dev33.satoken.dao.timedcache中的接口
Map 包装类
SaMapPackageForConcurrentHashMap<V> - cn.dev33.satoken.dao.timedcache中的类
Map 包装类 (ConcurrentHashMap 版)
SaMapPackageForConcurrentHashMap() - 类的构造器 cn.dev33.satoken.dao.timedcache.SaMapPackageForConcurrentHashMap
 
SAME_TOKEN - 类中的静态变量 cn.dev33.satoken.same.SaSameTemplate
提交 Same-Token 时,建议使用的参数名称
SAME_TOKEN - 类中的静态变量 cn.dev33.satoken.same.SaSameUtil
提交 Same-Token 时,建议使用的参数名称
SameTokenInvalidException - cn.dev33.satoken.exception中的异常错误
一个异常:代表 Same-Token 校验未通过
SameTokenInvalidException(String) - 异常错误的构造器 cn.dev33.satoken.exception.SameTokenInvalidException
一个异常:代表 Same-Token 校验未通过
SaMode - cn.dev33.satoken.annotation中的Enum Class
注解鉴权的验证模式
SaParamFunction<T> - cn.dev33.satoken.fun中的接口
单形参、无返回值的函数式接口,方便开发者进行 lambda 表达式风格调用
SaParamRetFunction<T,R> - cn.dev33.satoken.fun中的接口
单形参、有返回值的函数式接口,方便开发者进行 lambda 表达式风格调用
SaReplacedRange - cn.dev33.satoken.stp.parameter.enums中的Enum Class
顶人下线的范围
SaRequest - cn.dev33.satoken.context.model中的接口
Request 请求对象 包装类
SaResponse - cn.dev33.satoken.context.model中的接口
Response 响应对象 包装类
SaResult - cn.dev33.satoken.util中的类
对请求接口返回 Json 格式数据的简易封装。
SaResult() - 类的构造器 cn.dev33.satoken.util.SaResult
构建
SaResult(int, String, Object) - 类的构造器 cn.dev33.satoken.util.SaResult
构建
SaResult(Map<String, ?>) - 类的构造器 cn.dev33.satoken.util.SaResult
根据 Map 快速构建
SaRetFunction - cn.dev33.satoken.fun中的接口
无形参、有返回值的函数式接口,方便开发者进行 lambda 表达式风格调用
SaRouteFunction - cn.dev33.satoken.fun中的接口
路由拦截器验证方法的函数式接口,方便开发者进行 lambda 表达式风格调用
SaRouter - cn.dev33.satoken.router中的类
路由匹配操作工具类
SaRouterStaff - cn.dev33.satoken.router中的类
路由匹配操作对象
SaRouterStaff() - 类的构造器 cn.dev33.satoken.router.SaRouterStaff
 
SaSameTemplate - cn.dev33.satoken.same中的类
Sa Same-Token 同源系统身份认证模块 - 模板方法类
SaSameTemplate() - 类的构造器 cn.dev33.satoken.same.SaSameTemplate
 
SaSameUtil - cn.dev33.satoken.same中的类
Sa Same-Token 同源系统身份认证模块 - 工具类
SaSecureUtil - cn.dev33.satoken.secure中的类
Sa-Token 常见加密算法工具类
SaSerializerTemplate - cn.dev33.satoken.serializer中的接口
序列化器
SaSerializerTemplateForJdk - cn.dev33.satoken.serializer.impl中的接口
序列化器次级实现: jdk序列化
SaSerializerTemplateForJdkUseBase64 - cn.dev33.satoken.serializer.impl中的类
序列化器: jdk序列化、Base64 编码 (体积+33%)
SaSerializerTemplateForJdkUseBase64() - 类的构造器 cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdkUseBase64
 
SaSerializerTemplateForJdkUseHex - cn.dev33.satoken.serializer.impl中的类
序列化器: jdk序列化、16 进制编码 (体积+100%)
SaSerializerTemplateForJdkUseHex() - 类的构造器 cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdkUseHex
 
SaSerializerTemplateForJdkUseISO_8859_1 - cn.dev33.satoken.serializer.impl中的类
序列化器: jdk序列化、ISO-8859-1 编码 (体积无变化)
SaSerializerTemplateForJdkUseISO_8859_1() - 类的构造器 cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdkUseISO_8859_1
 
SaSerializerTemplateForJson - cn.dev33.satoken.serializer.impl中的类
序列化器: 使用 json 转换器
SaSerializerTemplateForJson() - 类的构造器 cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJson
 
SaSession - cn.dev33.satoken.session中的类
Session Model,会话作用域的读取值对象
SaSession() - 类的构造器 cn.dev33.satoken.session.SaSession
构建一个 Session 对象
SaSession(String) - 类的构造器 cn.dev33.satoken.session.SaSession
构建一个 Session 对象
SaSessionCustomUtil - cn.dev33.satoken.session中的类
自定义 SaSession 工具类,快捷的读取、操作自定义 SaSession
SaSetValueInterface - cn.dev33.satoken.application中的接口
对写值的一组方法封装
SaSignConfig - cn.dev33.satoken.config中的类
Sa-Token API 接口签名/验签 相关配置类
SaSignConfig() - 类的构造器 cn.dev33.satoken.config.SaSignConfig
 
SaSignConfig(String) - 类的构造器 cn.dev33.satoken.config.SaSignConfig
构造函数
SaSignException - cn.dev33.satoken.exception中的异常错误
一个异常:代表 API 参数签名校验失败
SaSignException(String) - 异常错误的构造器 cn.dev33.satoken.exception.SaSignException
一个异常:代表 API 参数签名校验失败
SaSignMany - cn.dev33.satoken.sign中的类
API 参数签名算法 - 多实例总控类
SaSignMany() - 类的构造器 cn.dev33.satoken.sign.SaSignMany
 
SaSignTemplate - cn.dev33.satoken.sign中的类
API 参数签名算法,在跨系统接口调用时防参数篡改、防重放攻击。
SaSignTemplate() - 类的构造器 cn.dev33.satoken.sign.SaSignTemplate
 
SaSignTemplate(SaSignConfig) - 类的构造器 cn.dev33.satoken.sign.SaSignTemplate
构造函数
SaSignUtil - cn.dev33.satoken.sign中的类
API 参数签名算法 - 工具类
SaSignUtil() - 类的构造器 cn.dev33.satoken.sign.SaSignUtil
 
SaStorage - cn.dev33.satoken.context.model中的接口
Storage Model,请求作用域的读取值对象。
SaStrategy - cn.dev33.satoken.strategy中的类
Sa-Token 策略对象
SaTempDefaultImpl - cn.dev33.satoken.temp中的类
Sa-Token 临时令牌验证模块 默认实现类
SaTempDefaultImpl() - 类的构造器 cn.dev33.satoken.temp.SaTempDefaultImpl
 
SaTempInterface - cn.dev33.satoken.temp中的接口
Sa-Token 临时 token 验证模块 - 接口
SaTempUtil - cn.dev33.satoken.temp中的类
Sa-Token 临时 token 验证模块 - 工具类
SaTerminalInfo - cn.dev33.satoken.session中的类
登录设备终端信息 Model
SaTerminalInfo() - 类的构造器 cn.dev33.satoken.session.SaTerminalInfo
构建一个
SaTerminalInfo(int, String, String, Map<String, Object>) - 类的构造器 cn.dev33.satoken.session.SaTerminalInfo
构建一个
SaTimedCache - cn.dev33.satoken.dao.timedcache中的类
一个定时缓存的简单实现,采用:惰性检查 + 异步循环扫描
SaTimedCache(SaMapPackage<Object>, SaMapPackage<Long>) - 类的构造器 cn.dev33.satoken.dao.timedcache.SaTimedCache
 
SaTokenConfig - cn.dev33.satoken.config中的类
Sa-Token 配置类 Model
SaTokenConfig() - 类的构造器 cn.dev33.satoken.config.SaTokenConfig
 
SaTokenConfigFactory - cn.dev33.satoken.config中的类
Sa-Token配置文件的构建工厂类
SaTokenConsts - cn.dev33.satoken.util中的类
Sa-Token 常量类
SaTokenContext - cn.dev33.satoken.context中的接口
Sa-Token 上下文处理器
SaTokenContextDefaultImpl - cn.dev33.satoken.context中的类
Sa-Token 上下文处理器 [ 默认实现类 ]
SaTokenContextDefaultImpl() - 类的构造器 cn.dev33.satoken.context.SaTokenContextDefaultImpl
 
SaTokenContextException - cn.dev33.satoken.exception中的异常错误
一个异常:代表框架未能获取有效的上下文
SaTokenContextException(String) - 异常错误的构造器 cn.dev33.satoken.exception.SaTokenContextException
一个异常:代表框架未能获取有效的上下文
SaTokenContextForThreadLocal - cn.dev33.satoken.context中的类
Sa-Token 上下文处理器 [ ThreadLocal 版本 ]
SaTokenContextForThreadLocal() - 类的构造器 cn.dev33.satoken.context.SaTokenContextForThreadLocal
 
SaTokenContextForThreadLocalStorage - cn.dev33.satoken.context中的类
Sa-Token 上下文处理器 [ThreadLocal 版本] ---- 对象存储器
SaTokenContextForThreadLocalStorage() - 类的构造器 cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage
 
SaTokenContextForThreadLocalStorage.Box - cn.dev33.satoken.context中的类
Box 临时内部类,用于存储 [ SaRequest、SaResponse、SaStorage ] 三个包装对象
SaTokenDao - cn.dev33.satoken.dao中的接口
Sa-Token 持久层接口
SaTokenDaoByObjectFollowString - cn.dev33.satoken.dao.auto中的接口
SaTokenDao 次级实现,Object 读写跟随 String 读写 (推荐中间件型缓存实现 implements 此接口)
SaTokenDaoBySessionFollowObject - cn.dev33.satoken.dao.auto中的接口
SaTokenDao 次级实现:SaSession 读写跟随 Object 读写
SaTokenDaoByStringFollowObject - cn.dev33.satoken.dao.auto中的接口
SaTokenDao 次级实现:String 读写跟随 Object 读写 (推荐内存型缓存实现 implements 此接口)
SaTokenDaoDefaultImpl - cn.dev33.satoken.dao中的类
Sa-Token 持久层接口,默认实现类,基于 SaTimedCache - ConcurrentHashMap (内存缓存,系统重启后数据丢失)
SaTokenDaoDefaultImpl() - 类的构造器 cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
SaTokenEventCenter - cn.dev33.satoken.listener中的类
Sa-Token 事件中心 事件发布器
SaTokenEventCenter() - 类的构造器 cn.dev33.satoken.listener.SaTokenEventCenter
 
SaTokenException - cn.dev33.satoken.exception中的异常错误
Sa-Token 框架内部逻辑发生错误抛出的异常
SaTokenException(int) - 异常错误的构造器 cn.dev33.satoken.exception.SaTokenException
构建一个异常
SaTokenException(int, String) - 异常错误的构造器 cn.dev33.satoken.exception.SaTokenException
构建一个异常
SaTokenException(String) - 异常错误的构造器 cn.dev33.satoken.exception.SaTokenException
构建一个异常
SaTokenException(String, Throwable) - 异常错误的构造器 cn.dev33.satoken.exception.SaTokenException
构建一个异常
SaTokenException(Throwable) - 异常错误的构造器 cn.dev33.satoken.exception.SaTokenException
构建一个异常
SaTokenInfo - cn.dev33.satoken.stp中的类
Token 信息 Model: 用来描述一个 Token 的常见参数。
SaTokenInfo() - 类的构造器 cn.dev33.satoken.stp.SaTokenInfo
 
SaTokenListener - cn.dev33.satoken.listener中的接口
Sa-Token 侦听器
SaTokenListenerForLog - cn.dev33.satoken.listener中的类
Sa-Token 侦听器的一个实现:Log 打印
SaTokenListenerForLog() - 类的构造器 cn.dev33.satoken.listener.SaTokenListenerForLog
 
SaTokenListenerForSimple - cn.dev33.satoken.listener中的类
Sa-Token 侦听器,默认空实现
SaTokenListenerForSimple() - 类的构造器 cn.dev33.satoken.listener.SaTokenListenerForSimple
 
SaTokenPlugin - cn.dev33.satoken.plugin中的接口
Sa-Token 插件总接口
SaTokenPluginException - cn.dev33.satoken.exception中的异常错误
一个异常:代表插件安装过程中出现异常
SaTokenPluginException(String) - 异常错误的构造器 cn.dev33.satoken.exception.SaTokenPluginException
一个异常:代表插件安装过程中出现异常
SaTokenPluginException(String, Throwable) - 异常错误的构造器 cn.dev33.satoken.exception.SaTokenPluginException
一个异常:代表插件安装过程中出现异常
SaTokenPluginException(Throwable) - 异常错误的构造器 cn.dev33.satoken.exception.SaTokenPluginException
一个异常:代表插件安装过程中出现异常
SaTokenPluginHolder - cn.dev33.satoken.plugin中的类
Sa-Token 插件管理器,管理所有插件的加载与卸载
SaTokenPluginHolder() - 类的构造器 cn.dev33.satoken.plugin.SaTokenPluginHolder
 
SaTokenPluginHookFunction<T extends SaTokenPlugin> - cn.dev33.satoken.fun.hooks中的接口
SaTokenPlugin 钩子函数
SaTokenPluginHookModel<T extends SaTokenPlugin> - cn.dev33.satoken.plugin中的类
Sa-Token 插件 Hook Model
SaTokenPluginHookModel(Class<T>, SaTokenPluginHookFunction<T>) - 类的构造器 cn.dev33.satoken.plugin.SaTokenPluginHookModel
构造函数
SaTokenSecondContext - cn.dev33.satoken.context.second中的接口
Sa-Token 二级Context - 基础接口
SaTokenSecondContextCreator - cn.dev33.satoken.context.second中的接口
Sa-Token 二级Context - 创建器
SaTwoParamFunction<T,T2> - cn.dev33.satoken.fun中的接口
双形参、无返回值的函数式接口,方便开发者进行 lambda 表达式风格调用
SaValue2Box - cn.dev33.satoken.util中的类
封装两个值的容器,方便取值、写值等操作,value1 和 value2 用逗号隔开,形如:123,abc
SaValue2Box(Object, Object) - 类的构造器 cn.dev33.satoken.util.SaValue2Box
直接提供两个值构建
SaValue2Box(String) - 类的构造器 cn.dev33.satoken.util.SaValue2Box
根据字符串构建,字符串形如:123,abc
savePastToken(String, long) - 类中的方法 cn.dev33.satoken.same.SaSameTemplate
保存 Past-Same-Token
saveToken(String) - 类中的方法 cn.dev33.satoken.same.SaSameTemplate
保存 Same-Token
saveTokenToIdMapping(String, Object, long) - 类中的方法 cn.dev33.satoken.stp.StpLogic
存储 token - id 映射关系
searchData(String, String, int, int, boolean) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
搜索数据
searchData(String, String, int, int, boolean) - 类中的方法 cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
searchList(Collection<String>, String, String, int, int, boolean) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
从集合里查询数据
searchList(List<String>, int, int, boolean) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
从集合里查询数据
searchSessionId(String, int, int, boolean) - 类中的方法 cn.dev33.satoken.stp.StpLogic
根据条件查询缓存中所有的 SessionId
searchSessionId(String, int, int, boolean) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
根据条件查询缓存中所有的 SessionId
searchTokenSessionId(String, int, int, boolean) - 类中的方法 cn.dev33.satoken.stp.StpLogic
根据条件查询缓存中所有的 Token-Session-Id
searchTokenSessionId(String, int, int, boolean) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
根据条件查询缓存中所有的 Token-Session-Id
searchTokenValue(String, int, int, boolean) - 类中的方法 cn.dev33.satoken.stp.StpLogic
根据条件查询缓存中所有的 token
searchTokenValue(String, int, int, boolean) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
根据条件查询缓存中所有的 token
SESSION_TYPE__ACCOUNT - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
SaSession 的类型: Account-Session
SESSION_TYPE__CUSTOM - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
SaSession 的类型: Custom-Session
SESSION_TYPE__TOKEN - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
SaSession 的类型: Token-Session
sessionClassType - 类中的变量 cn.dev33.satoken.strategy.SaStrategy
反序列化 SaSession 时默认指定的类型
sessionKey - 类中的静态变量 cn.dev33.satoken.session.SaSessionCustomUtil
添加上指定前缀,防止恶意伪造数据
sessionTimeout - 类中的变量 cn.dev33.satoken.stp.SaTokenInfo
Account-Session 剩余有效时间(单位: 秒)
set(String, Object) - 类中的方法 cn.dev33.satoken.application.SaApplication
写值
set(String, Object) - 接口中的方法 cn.dev33.satoken.application.SaSetValueInterface
写值
set(String, Object) - 接口中的方法 cn.dev33.satoken.context.model.SaStorage
写值
set(String, Object) - 类中的方法 cn.dev33.satoken.session.SaSession
写值
set(String, Object) - 类中的方法 cn.dev33.satoken.util.SaResult
写入一个值 自定义key, 连缀风格
set(String, Object, long) - 类中的方法 cn.dev33.satoken.application.SaApplication
写值
set(String, String, long) - 接口中的方法 cn.dev33.satoken.dao.auto.SaTokenDaoByStringFollowObject
 
set(String, String, long) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
写入 value,并设定存活时间(单位: 秒)
setActiveTimeout(long) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setActiveTimeout(long) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
setActiveTimeout(long) - 类中的静态方法 cn.dev33.satoken.stp.SaLoginConfig
已过时。
 
setActivityTimeout(long) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
已过时。
setAuth(SaFilterAuthStrategy) - 接口中的方法 cn.dev33.satoken.filter.SaFilter
写入[ 认证函数 ]: 每次请求执行
setAutoRenew(SaAutoRenewFunction) - 类中的方法 cn.dev33.satoken.strategy.SaStrategy
是否自动续期
setAutoRenew(Boolean) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setBasic(String) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
已过时。
setBeforeAuth(SaFilterAuthStrategy) - 接口中的方法 cn.dev33.satoken.filter.SaFilter
写入[ 前置函数 ]:在每次[ 认证函数 ]之前执行。
setBox(SaRequest, SaResponse, SaStorage) - 类中的静态方法 cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage
初始化当前线程的 [ Box 存储器 ]
setByNull(String, Object) - 接口中的方法 cn.dev33.satoken.application.SaSetValueInterface
写值 (只有在此 key 原本无值的情况下才会写入)
setByNull(String, Object) - 类中的方法 cn.dev33.satoken.session.SaSession
写值 (只有在此 key 原本无值的情况下才会写入)
setCheckSameToken(Boolean) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setCnonce(String) - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
设置 客户端随机数,由客户端提供
setCode(int) - 异常错误中的方法 cn.dev33.satoken.exception.SaTokenException
写入异常细分状态码
setCode(int) - 类中的方法 cn.dev33.satoken.util.SaResult
给code赋值,连缀风格
setConfig(SaTokenConfig) - 类中的静态方法 cn.dev33.satoken.SaManager
 
setConfig(SaTokenConfig) - 类中的方法 cn.dev33.satoken.stp.StpLogic
写入当前 StpLogic 单独使用的配置对象
setCookie(SaCookieConfig) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setCreateSession(SaCreateSessionFunction) - 类中的方法 cn.dev33.satoken.strategy.SaStrategy
重写创建 Session 的策略
setCreateStpLogic(SaCreateStpLogicFunction) - 类中的方法 cn.dev33.satoken.strategy.SaStrategy
创建 StpLogic 的算法
setCreateTime(long) - 类中的方法 cn.dev33.satoken.session.SaSession
写入:此 SaSession 的创建时间(13位时间戳)
setCreateTime(long) - 类中的方法 cn.dev33.satoken.session.SaTerminalInfo
设置 创建时间
setCreateToken(SaCreateTokenFunction) - 类中的方法 cn.dev33.satoken.strategy.SaStrategy
重写创建 Token 的策略
setCurrDomain(String) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setData(Object) - 类中的方法 cn.dev33.satoken.util.SaResult
给data赋值,连缀风格
setDataMap(Map<String, Object>) - 类中的方法 cn.dev33.satoken.session.SaSession
设置数据挂载集合 (改变底层对象引用,将 dataMap 整个对象替换)
setDataRefreshPeriod(int) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setDefaultValues(SaTokenConfig) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
根据 SaTokenConfig 对象初始化默认值
setDefaultValues(SaTokenConfig) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLogoutParameter
根据 SaTokenConfig 对象初始化默认值
setDevice(String) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
已过时。
setDevice(String) - 类中的静态方法 cn.dev33.satoken.stp.SaLoginConfig
已过时。
 
setDeviceId(String) - 类中的方法 cn.dev33.satoken.session.SaTerminalInfo
设置 登录设备唯一标识,例如:kQwIOrYvnXmSDkwEiFngrKidMcdrgKorXmSDkwEiFngrKidM
setDeviceId(String) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
设置 此次登录的客户端设备id
setDeviceType(String) - 类中的方法 cn.dev33.satoken.session.SaTerminalInfo
写入所属设备类型
setDeviceType(String) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
setDeviceType(String) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLogoutParameter
需要注销的设备类型 (如果不指定,则默认注销所有客户端)
setDigestAlgo(String) - 类中的方法 cn.dev33.satoken.config.SaSignConfig
设置 对 fullStr 的摘要算法
setDigestMethod(SaParamRetFunction<String, String>) - 类中的方法 cn.dev33.satoken.config.SaSignConfig
设置: 对 fullStr 的摘要算法函数
setDisableLevel(int) - 类中的方法 cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
 
setDisableTime(long) - 类中的方法 cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
 
setDomain(String) - 类中的方法 cn.dev33.satoken.config.SaCookieConfig
写入:Cookie 作用域
setDomain(String) - 类中的方法 cn.dev33.satoken.context.model.SaCookie
 
setDynamicActiveTimeout(Boolean) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setError(SaFilterErrorStrategy) - 接口中的方法 cn.dev33.satoken.filter.SaFilter
写入[ 异常处理函数 ]:每次[ 认证函数 ]发生异常时执行此函数
setExcludeList(List<String>) - 接口中的方法 cn.dev33.satoken.filter.SaFilter
写入 [ 放行路由 ] 集合
setExtra(String, Object) - 类中的方法 cn.dev33.satoken.session.SaTerminalInfo
此次登录的自定义扩展数据 (只允许在登录前设定,登录后不建议更改)
setExtra(String, Object) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
写入扩展数据(只在jwt模式下生效)
setExtra(String, Object) - 类中的静态方法 cn.dev33.satoken.stp.SaLoginConfig
已过时。
写入扩展数据(只在jwt模式下生效)
setExtraAttrs(Map<String, String>) - 类中的方法 cn.dev33.satoken.config.SaCookieConfig
写入额外扩展属性
setExtraAttrs(Map<String, String>) - 类中的方法 cn.dev33.satoken.context.model.SaCookie
写入额外扩展属性
setExtraData(Map<String, Object>) - 类中的方法 cn.dev33.satoken.session.SaTerminalInfo
设置 此客户端登录的挂载数据
setExtraData(Map<String, Object>) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
setExtraData(Map<String, Object>) - 类中的静态方法 cn.dev33.satoken.stp.SaLoginConfig
已过时。
 
setGenerateUniqueToken(SaGenerateUniqueTokenFunction) - 类中的方法 cn.dev33.satoken.strategy.SaStrategy
生成唯一式 token 的算法
setHasElement(SaHasElementFunction) - 类中的方法 cn.dev33.satoken.strategy.SaStrategy
判断:集合中是否包含指定元素(模糊匹配)
setHeader(String, String) - 接口中的方法 cn.dev33.satoken.context.model.SaResponse
在响应头里写入一个值
setHistoryTerminalCount(int) - 类中的方法 cn.dev33.satoken.session.SaSession
设置 当前账号历史总计登录设备数量 (当此 SaSession 属于 Account-Session 时,此值有效)
setHit(boolean) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
 
setHttpBasic(String) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setHttpDigest(String) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setHttpOnly(Boolean) - 类中的方法 cn.dev33.satoken.config.SaCookieConfig
 
setHttpOnly(Boolean) - 类中的方法 cn.dev33.satoken.context.model.SaCookie
 
setId(String) - 类中的方法 cn.dev33.satoken.session.SaSession
写入:此 SaSession 的 id
setIncludeList(List<String>) - 接口中的方法 cn.dev33.satoken.filter.SaFilter
写入 [ 拦截路由 ] 集合
setIndex(int) - 类中的方法 cn.dev33.satoken.session.SaTerminalInfo
设置 登录会话索引值 (该账号第几个登录的设备)
setIsColorLog(Boolean) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
设置:是否打印彩色日志
setIsConcurrent(Boolean) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setIsConcurrent(Boolean) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
setIsDisable(boolean) - 类中的方法 cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
 
setIsKeepFreezeOps(Boolean) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLogoutParameter
设置 如果 token 已被冻结,是否保留其操作权 (是否允许此 token 调用注销API)
(此参数只在调用 StpUtil.
setIsKeepTokenSession(Boolean) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLogoutParameter
 
setIsLastingCookie(Boolean) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
设置 是否为持久Cookie(临时Cookie在浏览器关闭时会自动删除,持久Cookie在重新打开后依然存在)
setIsLastingCookie(Boolean) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
setIsLastingCookie(Boolean) - 类中的静态方法 cn.dev33.satoken.stp.SaLoginConfig
已过时。
 
setIsLog(Boolean) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setIsLogin(Boolean) - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
setIsLogoutKeepFreezeOps(Boolean) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
设置 如果 token 已被冻结,是否保留其操作权 (是否允许此 token 调用注销API)
(此参数只在调用 StpUtil.
setIsLogoutKeepTokenSession(Boolean) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
设置 在注销 token 后,是否保留其对应的 Token-Session
setIsPrint(Boolean) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setIsReadBody(Boolean) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setIsReadCookie(Boolean) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setIsReadHeader(Boolean) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setIsShare(Boolean) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setIsShare(Boolean) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
setIsWriteHeader(Boolean) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setIsWriteHeader(Boolean) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
setIsWriteHeader(Boolean) - 类中的静态方法 cn.dev33.satoken.stp.SaLoginConfig
已过时。
 
setJsonString(String) - 类中的方法 cn.dev33.satoken.util.SaResult
写入一个 json 字符串, 连缀风格
setJwtSecretKey(String) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setLastActiveToNow(String, Long, Long) - 类中的方法 cn.dev33.satoken.stp.StpLogic
写入指定 token 的 [ 最后活跃时间 ] 为当前时间戳 √√√
setListenerList(List<SaTokenListener>) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
重置侦听器集合
setLog(SaLog) - 类中的静态方法 cn.dev33.satoken.SaManager
 
setLoginDeviceType(String) - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
setLoginId(Object) - 类中的方法 cn.dev33.satoken.session.SaSession
设置:所属 loginId (当此 SaSession 属于 Account-Session 时,此值有效)
setLoginId(Object) - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
setLoginType(String) - 类中的方法 cn.dev33.satoken.session.SaSession
设置:所属 loginType
setLoginType(String) - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
setLoginType(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
安全的重置当前账号类型
setLogLevel(String) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setLogLevelInt(int) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setLogoutRange(SaLogoutRange) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
设置 注销范围 (TOKEN=只注销当前 token 的会话,ACCOUNT=注销当前 token 指向的 loginId 其所有客户端会话)
(此参数只在调用 StpUtil.logout() 时有效)
setMap(Map<String, ?>) - 类中的方法 cn.dev33.satoken.util.SaResult
写入一个Map, 连缀风格
setMaxAge(int) - 类中的方法 cn.dev33.satoken.context.model.SaCookie
 
setMaxLoginCount(int) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setMaxLoginCount(int) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
setMaxTryTimes(int) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setMaxTryTimes(int) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
setMethod(String) - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
设置 请求方法
setMode(SaLogoutMode) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLogoutParameter
注销类型 (LOGOUT=注销下线、KICKOUT=踢人下线,REPLACED=顶人下线)
setMsg(String) - 类中的方法 cn.dev33.satoken.util.SaResult
给msg赋值,连缀风格
setName(String) - 类中的方法 cn.dev33.satoken.context.model.SaCookie
 
setNc(String) - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
设置 nonce计数器,是一个16进制的数值,表示同一nonce下客户端发送出请求的数量
setNonce(String) - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
设置 随机数
setObject(String, Object, long) - 接口中的方法 cn.dev33.satoken.dao.auto.SaTokenDaoByObjectFollowString
写入 Object,并设定存活时间 (单位: 秒)
setObject(String, Object, long) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
写入 Object,并设定存活时间 (单位: 秒)
setObject(String, Object, long) - 类中的方法 cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
setObject(String, Object, long) - 类中的方法 cn.dev33.satoken.dao.timedcache.SaTimedCache
 
setOpaque(String) - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
设置 opaque
setOverflowLogoutMode(SaLogoutMode) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
设置 溢出 maxLoginCount 的客户端,将以何种方式注销下线 (LOGOUT=注销下线, KICKOUT=踢人下线, REPLACED=顶人下线)
setOverflowLogoutMode(SaLogoutMode) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
设置 溢出 maxLoginCount 的客户端,将以何种方式注销下线 (LOGOUT=注销下线, KICKOUT=踢人下线, REPLACED=顶人下线)
setPassword(String) - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
设置 密码
setPath(String) - 类中的方法 cn.dev33.satoken.config.SaCookieConfig
 
setPath(String) - 类中的方法 cn.dev33.satoken.context.model.SaCookie
 
setQop(String) - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
设置 保护质量(auth=默认的,auth-int=增加报文完整性检测),可以为空,但不推荐
setRange(SaLogoutRange) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLogoutParameter
注销范围 (TOKEN=只注销当前 token 的会话,ACCOUNT=注销当前 token 指向的 loginId 其所有客户端会话)
(此参数只在调用 StpUtil.logout() 时有效)
setRealm(String) - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
设置 领域
setReplacedRange(SaReplacedRange) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
设置 当 isConcurrent=false 时,顶人下线的范围 (CURR_DEVICE_TYPE=当前指定的设备类型端 ALL_DEVICE_TYPE=所有设备类型端)
setReplacedRange(SaReplacedRange) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
当 isConcurrent=false 时,顶人下线的范围 (CURR_DEVICE_TYPE=当前指定的设备类型端, ALL_DEVICE_TYPE=所有设备类型端)
setRequest(SaRequest) - 类中的方法 cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage.Box
 
setResponse(SaResponse) - 类中的方法 cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage.Box
 
setResponse(String) - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
设置 请求摘要,最终计算的摘要结果
setSaJsonTemplate(SaJsonTemplate) - 类中的静态方法 cn.dev33.satoken.SaManager
 
setSameSite(String) - 类中的方法 cn.dev33.satoken.config.SaCookieConfig
 
setSameSite(String) - 类中的方法 cn.dev33.satoken.context.model.SaCookie
 
setSameTokenTimeout(long) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setSaSameTemplate(SaSameTemplate) - 类中的静态方法 cn.dev33.satoken.SaManager
 
setSaSerializerTemplate(SaSerializerTemplate) - 类中的静态方法 cn.dev33.satoken.SaManager
 
setSaSignTemplate(SaSignTemplate) - 类中的静态方法 cn.dev33.satoken.SaManager
 
setSaTemp(SaTempInterface) - 类中的静态方法 cn.dev33.satoken.SaManager
 
setSaTokenContext(SaTokenContext) - 类中的静态方法 cn.dev33.satoken.SaManager
 
setSaTokenDao(SaTokenDao) - 类中的静态方法 cn.dev33.satoken.SaManager
 
setSaTokenSecondContext(SaTokenSecondContext) - 类中的静态方法 cn.dev33.satoken.SaManager
 
setSecretKey(String) - 类中的方法 cn.dev33.satoken.config.SaSignConfig
设置 API 调用签名秘钥
setSecure(Boolean) - 类中的方法 cn.dev33.satoken.config.SaCookieConfig
 
setSecure(Boolean) - 类中的方法 cn.dev33.satoken.context.model.SaCookie
 
setServer(String) - 接口中的方法 cn.dev33.satoken.context.model.SaResponse
在响应头写入 [Server] 服务器名称
setSession(SaSession, long) - 接口中的方法 cn.dev33.satoken.dao.auto.SaTokenDaoBySessionFollowObject
写入 SaSession,并设定存活时间(单位: 秒)
setSession(SaSession, long) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
写入 SaSession,并设定存活时间(单位: 秒)
setSessionTimeout(long) - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
setSign(SaSignConfig) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setSignConfig(SaSignConfig) - 类中的方法 cn.dev33.satoken.sign.SaSignTemplate
设置:API 签名配置
setSignMany(Map<String, SaSignConfig>) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
设置 API 签名配置 多实例
setStatus(int) - 接口中的方法 cn.dev33.satoken.context.model.SaResponse
设置响应状态码
setStorage(SaStorage) - 类中的方法 cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage.Box
 
setStpInterface(StpInterface) - 类中的静态方法 cn.dev33.satoken.SaManager
 
setStpLogic(StpLogic) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
安全的重置 StpLogic 对象
1、更改此账户的 StpLogic 对象
2、put 到全局 StpLogic 集合中
3、发送日志
setTag(String) - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
setTerminalExtra(String, Object) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
写入本次登录挂载到 SaTerminalInfo 的自定义扩展数据
setTerminalExtraData(Map<String, Object>) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
设置 本次登录挂载到 SaTerminalInfo 的自定义扩展数据
setTerminalList(List<SaTerminalInfo>) - 类中的方法 cn.dev33.satoken.session.SaSession
写入登录终端信息列表
setTimeout(long) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setTimeout(long) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
setTimeout(long) - 类中的静态方法 cn.dev33.satoken.stp.SaLoginConfig
已过时。
 
setTimestampDisparity(long) - 类中的方法 cn.dev33.satoken.config.SaSignConfig
设置 接口调用时的时间戳允许的差距(单位:ms),-1 代表不校验差距,默认15分钟
setToken(String) - 类中的方法 cn.dev33.satoken.session.SaSession
设置:所属 Token (当此 SaSession 属于 Token-Session 时,此值有效)
setToken(String) - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
setToken(String) - 类中的静态方法 cn.dev33.satoken.stp.SaLoginConfig
已过时。
 
setTokenActiveTimeout(long) - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
setTokenName(String) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setTokenName(String) - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
setTokenPrefix(String) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setTokenSessionCheckLogin(Boolean) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setTokenSessionTimeout(long) - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
setTokenSignTag(Map<String, Object>) - 类中的静态方法 cn.dev33.satoken.stp.SaLoginConfig
已过时。
设置 本次登录挂载到 TokenSign 的数据
setTokenStyle(String) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setTokenTimeout(long) - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
setTokenValue(String) - 类中的方法 cn.dev33.satoken.session.SaTerminalInfo
写入 Token 值
setTokenValue(String) - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
setTokenValue(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
在当前会话写入指定 token 值
setTokenValue(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
在当前会话写入指定 token 值
setTokenValue(String, int) - 类中的方法 cn.dev33.satoken.stp.StpLogic
在当前会话写入指定 token 值
setTokenValue(String, int) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
在当前会话写入指定 token 值
setTokenValue(String, SaLoginParameter) - 类中的方法 cn.dev33.satoken.stp.StpLogic
在当前会话写入指定 token 值
setTokenValue(String, SaLoginParameter) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
在当前会话写入指定 token 值
setTokenValueToCookie(String, int) - 类中的方法 cn.dev33.satoken.stp.StpLogic
将 token 写入到当前会话的 Cookie 里
setTokenValueToResponseHeader(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
将 token 写入到当前请求的响应头中
setTokenValueToStorage(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
将 token 写入到当前请求的 Storage 存储器里
setType(String) - 类中的方法 cn.dev33.satoken.session.SaSession
设置:此 SaSession 的 类型
setUri(String) - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
设置 请求 uri
setUsername(String) - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
设置 用户名
setValue(String) - 类中的方法 cn.dev33.satoken.context.model.SaCookie
 
setValue1(Object) - 类中的方法 cn.dev33.satoken.util.SaValue2Box
设置第一个值
setValue2(Object) - 类中的方法 cn.dev33.satoken.util.SaValue2Box
设置第二个值
sha1(String) - 类中的静态方法 cn.dev33.satoken.secure.SaSecureUtil
sha1加密
sha256(String) - 类中的静态方法 cn.dev33.satoken.secure.SaSecureUtil
sha256加密
sha256BySalt(String, String) - 类中的静态方法 cn.dev33.satoken.secure.SaSecureUtil
已过时。
sha384(String) - 类中的静态方法 cn.dev33.satoken.secure.SaSecureUtil
sha384加密
sha512(String) - 类中的静态方法 cn.dev33.satoken.secure.SaSecureUtil
sha512加密
sign - 类中的变量 cn.dev33.satoken.config.SaTokenConfig
API 签名配置对象
sign - 类中的静态变量 cn.dev33.satoken.sign.SaSignTemplate
 
signMany - 类中的变量 cn.dev33.satoken.config.SaTokenConfig
API 签名配置 多实例
spiDir - 类中的变量 cn.dev33.satoken.plugin.SaTokenPluginHolder
SPI 文件所在目录名称
spliceTwoUrl(String, String) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
拼接两个url
splicingDataKey(String) - 类中的方法 cn.dev33.satoken.application.SaApplication
拼接key:当存入一个变量时,应该使用的 key
splicingKeyDisable(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
拼接: 在保存服务封禁标记时,应该使用的 key
splicingKeyJustCreatedSave() - 类中的方法 cn.dev33.satoken.stp.StpLogic
如果 token 为本次请求新创建的,则以此字符串为 key 存储在当前 request 中
splicingKeyLastActiveTime(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
拼接: 在保存 token 最后活跃时间时,应该使用的 key
splicingKeySafe(String, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
拼接: 在保存业务二级认证标记时,应该使用的 key
splicingKeySession(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
拼接: 在保存 Account-Session 时,应该使用的 key
splicingKeySwitch() - 类中的方法 cn.dev33.satoken.stp.StpLogic
拼接:在进行临时身份切换时,应该使用的 key
splicingKeyTempToken(String, String) - 接口中的方法 cn.dev33.satoken.temp.SaTempInterface
获取:在存储临时 token 数据时,应该使用的 key
splicingKeyTokenName() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取:客户端 tokenName
splicingKeyTokenSession(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
拼接:在保存 Token-Session 时,应该使用的 key
splicingKeyTokenValue(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
拼接: 在保存 token - id 映射关系时,应该使用的key
splicingNonceSaveKey(String) - 类中的方法 cn.dev33.satoken.sign.SaSignTemplate
拼接key:存储 nonce 时使用的 key
splicingPastTokenSaveKey() - 类中的方法 cn.dev33.satoken.same.SaSameTemplate
拼接key:次级 Same-Token 的存储 key
splicingSessionKey(String) - 类中的静态方法 cn.dev33.satoken.session.SaSessionCustomUtil
拼接Key: 在存储自定义 SaSession 时应该使用的 key
splicingTokenSaveKey() - 类中的方法 cn.dev33.satoken.same.SaSameTemplate
拼接key:Same-Token 的存储 key
stop() - 类中的静态方法 cn.dev33.satoken.router.SaRouter
停止匹配,跳出函数 (在多个匹配链中一次性跳出Auth函数)
stop() - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
停止匹配,跳出函数 (在多个匹配链中一次性跳出Auth函数)
StopMatchException - cn.dev33.satoken.exception中的异常错误
一个异常:代表停止路由匹配,进入 Controller (框架内部专属异常,一般情况下开发者无需关注)
StopMatchException() - 异常错误的构造器 cn.dev33.satoken.exception.StopMatchException
构造
storage - 类中的变量 cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage.Box
 
StpInterface - cn.dev33.satoken.stp中的接口
权限数据源加载接口
StpInterfaceDefaultImpl - cn.dev33.satoken.stp中的类
StpInterface 接口默认的实现类
StpInterfaceDefaultImpl() - 类的构造器 cn.dev33.satoken.stp.StpInterfaceDefaultImpl
 
stpLogic - 类中的静态变量 cn.dev33.satoken.stp.StpUtil
底层使用的 StpLogic 对象
StpLogic - cn.dev33.satoken.stp中的类
Sa-Token 权限认证,逻辑实现类
StpLogic(String) - 类的构造器 cn.dev33.satoken.stp.StpLogic
初始化 StpLogic, 并指定账号类型
stpLogicMap - 类中的静态变量 cn.dev33.satoken.SaManager
StpLogic 集合, 记录框架所有成功初始化的 StpLogic
StpUtil - cn.dev33.satoken.stp中的类
Sa-Token 权限认证工具类
StrFormatter - cn.dev33.satoken.util中的类
字符串格式化工具,将字符串中的 {} 按序替换为参数
StrFormatter() - 类的构造器 cn.dev33.satoken.util.StrFormatter
 
stringToBytes(String) - 接口中的方法 cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdk
String 转换为 byte[]
stringToBytes(String) - 类中的方法 cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdkUseBase64
 
stringToBytes(String) - 类中的方法 cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdkUseHex
 
stringToBytes(String) - 类中的方法 cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdkUseISO_8859_1
 
stringToObject(String) - 接口中的方法 cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdk
 
stringToObject(String) - 类中的方法 cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJson
 
stringToObject(String) - 接口中的方法 cn.dev33.satoken.serializer.SaSerializerTemplate
反序列化:字符串 → 对象
stringToObject(String, Class<T>) - 类中的方法 cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJson
 
stringToObject(String, Class<T>) - 接口中的方法 cn.dev33.satoken.serializer.SaSerializerTemplate
反序列化:字符串 → 对象 (指定类型)
SWITCH_TO_SAVE_KEY - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
常量 key 标记: 在进行临时身份切换时使用的 key
switchTo(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
临时切换身份为指定账号id
switchTo(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
临时切换身份为指定账号id
switchTo(Object, SaFunction) - 类中的方法 cn.dev33.satoken.stp.StpLogic
在一个 lambda 代码段里,临时切换身份为指定账号id,lambda 结束后自动恢复
switchTo(Object, SaFunction) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
在一个 lambda 代码段里,临时切换身份为指定账号id,lambda 结束后自动恢复

T

tag - 类中的变量 cn.dev33.satoken.stp.SaTokenInfo
自定义数据(暂无意义,留作扩展)
takeRequestParam(SaRequest, String[]) - 类中的方法 cn.dev33.satoken.sign.SaSignTemplate
从请求中提取指定的参数
terminalListCopy() - 类中的方法 cn.dev33.satoken.session.SaSession
获取 登录终端信息列表 (拷贝副本)
throwBy(boolean, String) - 异常错误中的静态方法 cn.dev33.satoken.exception.SaSignException
已过时。
throwBy(boolean, String, int) - 异常错误中的静态方法 cn.dev33.satoken.exception.SaTokenException
已过时。
throwByNull(Object, String) - 异常错误中的静态方法 cn.dev33.satoken.exception.SaSignException
已过时。
throwByNull(Object, String, int) - 异常错误中的静态方法 cn.dev33.satoken.exception.SaTokenException
已过时。
throwNotBasicAuthException(String) - 类中的方法 cn.dev33.satoken.httpauth.basic.SaHttpBasicTemplate
在校验失败时,设置响应头,并抛出异常
throwNotHttpDigestAuthException(SaHttpDigestModel) - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestTemplate
在校验失败时,设置响应头,并抛出异常
timedCache - 类中的变量 cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
timeout() - 类中的方法 cn.dev33.satoken.session.SaSession
获取此Session的剩余存活时间 (单位: 秒)
timestamp - 类中的静态变量 cn.dev33.satoken.sign.SaSignTemplate
 
toArray(List<String>) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
String 集合转数组
toEnum(String) - enum class中的静态方法 cn.dev33.satoken.router.SaHttpMethod
String 转 enum
toEnumArray(String...) - enum class中的静态方法 cn.dev33.satoken.router.SaHttpMethod
String[] 转 enum[]
toHeaderValue() - 类中的方法 cn.dev33.satoken.context.model.SaCookie
转换为响应头 Set-Cookie 参数需要的值
TOKEN - enum class 中的枚举常量 cn.dev33.satoken.stp.parameter.enums.SaLogoutRange
token 范围:只注销提供的 token 指向的会话
TOKEN_ACTIVE_TIMEOUT_CHECKED_KEY - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
常量 key 标记: 如果本次请求已经验证过 activeTimeout, 则以此 key 在 storage 中做一个标记
TOKEN_ACTIVITY_TIMEOUT_CHECKED_KEY - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
已过时。
TOKEN_CONNECTOR_CHAT - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
连接 Token 前缀和 Token 值的字符
TOKEN_FREEZE - 异常错误中的静态变量 cn.dev33.satoken.exception.NotLoginException
表示 token 已被冻结
TOKEN_FREEZE_MESSAGE - 异常错误中的静态变量 cn.dev33.satoken.exception.NotLoginException
 
TOKEN_STYLE_RANDOM_128 - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
Token风格: 128位随机字符串
TOKEN_STYLE_RANDOM_32 - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
Token风格: 32位随机字符串
TOKEN_STYLE_RANDOM_64 - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
Token风格: 64位随机字符串
TOKEN_STYLE_SIMPLE_UUID - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
Token风格: 简单uuid (不带下划线)
TOKEN_STYLE_TIK - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
Token风格: tik风格 (2_14_16)
TOKEN_STYLE_UUID - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
Token风格: uuid
TOKEN_TIMEOUT - 异常错误中的静态变量 cn.dev33.satoken.exception.NotLoginException
表示 token 已过期
TOKEN_TIMEOUT_MESSAGE - 异常错误中的静态变量 cn.dev33.satoken.exception.NotLoginException
 
tokenActiveTimeout - 类中的变量 cn.dev33.satoken.stp.SaTokenInfo
token 距离被冻结还剩多少时间(单位: 秒)
tokenName - 类中的变量 cn.dev33.satoken.stp.SaTokenInfo
token 名称
tokenSessionTimeout - 类中的变量 cn.dev33.satoken.stp.SaTokenInfo
Token-Session 剩余有效时间(单位: 秒)
tokenTimeout - 类中的变量 cn.dev33.satoken.stp.SaTokenInfo
token 剩余有效期(单位: 秒)
tokenValue - 类中的变量 cn.dev33.satoken.stp.SaTokenInfo
token 值
toList(String...) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
String数组转集合
toString() - 类中的方法 cn.dev33.satoken.config.SaCookieConfig
 
toString() - 类中的方法 cn.dev33.satoken.config.SaSignConfig
 
toString() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
toString() - 类中的方法 cn.dev33.satoken.context.model.SaCookie
 
toString() - 类中的方法 cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage.Box
 
toString() - 类中的方法 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
 
toString() - 类中的方法 cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
 
toString() - 类中的方法 cn.dev33.satoken.session.SaTerminalInfo
 
toString() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLoginParameter
 
toString() - 类中的方法 cn.dev33.satoken.stp.parameter.SaLogoutParameter
 
toString() - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
toString
toString() - 类中的方法 cn.dev33.satoken.util.SaResult
 
toString() - 类中的方法 cn.dev33.satoken.util.SaValue2Box
获取两个值的字符串形式,形如:123,abc

trace - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
日志等级
trace(String, Object...) - 接口中的方法 cn.dev33.satoken.log.SaLog
输出 trace 日志
trace(String, Object...) - 类中的方法 cn.dev33.satoken.log.SaLogForConsole
 
TRACE - enum class 中的枚举常量 cn.dev33.satoken.router.SaHttpMethod
 
TRACE_COLOR - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
日志输出的颜色
TRACE_PREFIX - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
 
trans(long) - 类中的方法 cn.dev33.satoken.session.SaSession
value为 -1 时返回 Long.MAX_VALUE,否则原样返回
translateLogLevelToInt(String) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
将日志等级从 String 格式转化为 int 格式
translateLogLevelToString(int) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
将日志等级从 String 格式转化为 int 格式
type() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckDisable
多账号体系下所属的账号体系标识,非多账号体系无需关注此值
type() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckLogin
多账号体系下所属的账号体系标识,非多账号体系无需关注此值
type() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckPermission
多账号体系下所属的账号体系标识,非多账号体系无需关注此值
type() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckRole
多账号体系下所属的账号体系标识,非多账号体系无需关注此值
type() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckSafe
多账号体系下所属的账号体系标识,非多账号体系无需关注此值
TYPE - 类中的静态变量 cn.dev33.satoken.stp.StpUtil
多账号体系下的类型标识

U

untieDisable(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
解封:指定账号
untieDisable(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
解封:指定账号
untieDisable(Object, String...) - 类中的方法 cn.dev33.satoken.stp.StpLogic
解封:指定账号、指定服务
untieDisable(Object, String...) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
解封:指定账号、指定服务
update() - 类中的方法 cn.dev33.satoken.session.SaSession
更新Session(从持久库更新刷新一下)
update(String, String) - 接口中的方法 cn.dev33.satoken.dao.auto.SaTokenDaoByStringFollowObject
 
update(String, String) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
更新 value (过期时间不变)
updateLastActiveToNow() - 类中的方法 cn.dev33.satoken.stp.StpLogic
续签当前 token:(将 [最后操作时间] 更新为当前时间戳)
updateLastActiveToNow() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
续签当前 token:(将 [最后操作时间] 更新为当前时间戳)
updateLastActiveToNow(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
续签指定 token:将这个 token 的 [ 最后活跃时间 ] 更新为当前时间戳
updateMaxTimeout(long) - 类中的方法 cn.dev33.satoken.session.SaSession
修改此Session的最大剩余存活时间 (只有在 Session 的过期时间高于指定的 maxTimeout 时才会进行修改)
updateMinTimeout(long) - 类中的方法 cn.dev33.satoken.session.SaSession
修改此Session的最小剩余存活时间 (只有在 Session 的过期时间低于指定的 minTimeout 时才会进行修改)
updateObject(String, Object) - 接口中的方法 cn.dev33.satoken.dao.auto.SaTokenDaoByObjectFollowString
更新 Object (过期时间不变)
updateObject(String, Object) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
更新 Object (过期时间不变)
updateObject(String, Object) - 类中的方法 cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
updateObject(String, Object) - 类中的方法 cn.dev33.satoken.dao.timedcache.SaTimedCache
 
updateObjectTimeout(String, long) - 接口中的方法 cn.dev33.satoken.dao.auto.SaTokenDaoByObjectFollowString
修改 Object 的剩余存活时间(单位: 秒)
updateObjectTimeout(String, long) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
修改 Object 的剩余存活时间(单位: 秒)
updateObjectTimeout(String, long) - 类中的方法 cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
updateObjectTimeout(String, long) - 类中的方法 cn.dev33.satoken.dao.timedcache.SaTimedCache
 
updateSession(SaSession) - 接口中的方法 cn.dev33.satoken.dao.auto.SaTokenDaoBySessionFollowObject
更新 SaSession
updateSession(SaSession) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
更新 SaSession
updateSessionTimeout(String, long) - 接口中的方法 cn.dev33.satoken.dao.auto.SaTokenDaoBySessionFollowObject
修改 SaSession 剩余存活时间(单位: 秒)
updateSessionTimeout(String, long) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
修改 SaSession 剩余存活时间(单位: 秒)
updateTimeout(long) - 类中的方法 cn.dev33.satoken.session.SaSession
修改此Session的剩余存活时间
updateTimeout(String, long) - 接口中的方法 cn.dev33.satoken.dao.auto.SaTokenDaoByStringFollowObject
 
updateTimeout(String, long) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
修改 value 的剩余存活时间(单位: 秒)
updateTokenToIdMapping(String, Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
更改 token - id 映射关系
uri - 类中的变量 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
请求 uri
URL_REGEX - 类中的静态变量 cn.dev33.satoken.util.SaFoxUtil
验证URL的正则表达式
USER - 类中的静态变量 cn.dev33.satoken.session.SaSession
在 SaSession 上存储用户对象时建议使用的 key
username - 类中的变量 cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
用户名
username() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckHttpDigest
用户名

V

vagueMatch(String, String) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
字符串模糊匹配
value() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckDisable
服务标识 (具体你要校验是否禁用的服务名称)
value() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckHttpDigest
需要校验的用户名和密码,格式形如 sa:123456
value() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckPermission
需要校验的权限码 [ 数组 ]
value() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckRole
需要校验的角色标识 [ 数组 ]
value() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckSafe
要校验的服务
value1IsEmpty() - 类中的方法 cn.dev33.satoken.util.SaValue2Box
判断第一个值是否为 null 或者空字符串
value2IsEmpty() - 类中的方法 cn.dev33.satoken.util.SaValue2Box
判断第二个值是否为 null 或者空字符串
valueIsNull(Object) - 接口中的方法 cn.dev33.satoken.application.SaGetValueInterface
判断一个值是否为null
valueOf(String) - enum class中的静态方法 cn.dev33.satoken.annotation.SaMode
Returns the enum constant of this class with the specified name.
valueOf(String) - enum class中的静态方法 cn.dev33.satoken.router.SaHttpMethod
Returns the enum constant of this class with the specified name.
valueOf(String) - enum class中的静态方法 cn.dev33.satoken.stp.parameter.enums.SaLogoutMode
Returns the enum constant of this class with the specified name.
valueOf(String) - enum class中的静态方法 cn.dev33.satoken.stp.parameter.enums.SaLogoutRange
Returns the enum constant of this class with the specified name.
valueOf(String) - enum class中的静态方法 cn.dev33.satoken.stp.parameter.enums.SaReplacedRange
Returns the enum constant of this class with the specified name.
values() - enum class中的静态方法 cn.dev33.satoken.annotation.SaMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - enum class中的静态方法 cn.dev33.satoken.router.SaHttpMethod
Returns an array containing the constants of this enum class, in the order they are declared.
values() - enum class中的静态方法 cn.dev33.satoken.stp.parameter.enums.SaLogoutMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - enum class中的静态方法 cn.dev33.satoken.stp.parameter.enums.SaLogoutRange
Returns an array containing the constants of this enum class, in the order they are declared.
values() - enum class中的静态方法 cn.dev33.satoken.stp.parameter.enums.SaReplacedRange
Returns an array containing the constants of this enum class, in the order they are declared.
verifyParams() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckSign
指定参与签名的参数有哪些,如果不填写则默认为全部参数
VERSION_NO - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
Sa-Token 当前版本号

W

warn - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
 
warn(String, Object...) - 接口中的方法 cn.dev33.satoken.log.SaLog
输出 warn 日志
warn(String, Object...) - 类中的方法 cn.dev33.satoken.log.SaLogForConsole
 
WARN_COLOR - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
 
WARN_PREFIX - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
 
whitePaths - 类中的变量 cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForWhitePath
请求 path 白名单

_

_checkMethod() - 类中的静态方法 cn.dev33.satoken.annotation.handler.SaIgnoreHandler
 
_checkMethod(SaCheckLogin[], SaCheckRole[], SaCheckPermission[], SaCheckSafe[], SaCheckHttpBasic[], SaCheckHttpDigest[], SaCheckDisable[], Method) - 类中的静态方法 cn.dev33.satoken.annotation.handler.SaCheckOrHandler
 
_checkMethod(String) - 类中的静态方法 cn.dev33.satoken.annotation.handler.SaCheckLoginHandler
 
_checkMethod(String, String) - 类中的静态方法 cn.dev33.satoken.annotation.handler.SaCheckHttpBasicHandler
 
_checkMethod(String, String) - 类中的静态方法 cn.dev33.satoken.annotation.handler.SaCheckSafeHandler
 
_checkMethod(String, String[]) - 类中的静态方法 cn.dev33.satoken.annotation.handler.SaCheckSignHandler
 
_checkMethod(String, String[], int) - 类中的静态方法 cn.dev33.satoken.annotation.handler.SaCheckDisableHandler
 
_checkMethod(String, String[], SaMode) - 类中的静态方法 cn.dev33.satoken.annotation.handler.SaCheckRoleHandler
 
_checkMethod(String, String[], SaMode, String[]) - 类中的静态方法 cn.dev33.satoken.annotation.handler.SaCheckPermissionHandler
 
_checkMethod(String, String, String, String) - 类中的静态方法 cn.dev33.satoken.annotation.handler.SaCheckHttpDigestHandler
 
_consumeHooks(List<SaTokenPluginHookModel<? extends SaTokenPlugin>>, Class<T>) - 类中的方法 cn.dev33.satoken.plugin.SaTokenPluginHolder
消费指定集合的钩子函数,返回消费的数量
_loaderPluginsBySpi(Class<T>, String) - 类中的方法 cn.dev33.satoken.plugin.SaTokenPluginHolder
自定义 SPI 读取策略 (无状态函数)
_logout(Object, SaLogoutParameter) - 类中的方法 cn.dev33.satoken.stp.StpLogic
[work] 会话注销,根据账号id 和 注销参数
_logoutByTokenValue(String, SaLogoutParameter) - 类中的方法 cn.dev33.satoken.stp.StpLogic
[work] 注销下线,根据指定 token 、注销参数
_removeTerminal(SaSession, SaTerminalInfo, SaLogoutParameter) - 类中的方法 cn.dev33.satoken.stp.StpLogic
在 Account-Session 上移除 Terminal 信息 (内部方法,仅为减少重复代码,外部调用意义不大)
A B C D E F G H I J K L M N O P Q R S T U V W _ 
All Classes and Interfaces|常量字段值|所有程序包|序列化表格