Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ABNORMAL_LIST - Static variable in exception cn.dev33.satoken.exception.NotLoginException
-
代表异常 token 的标志集合
- ACCESS_CONTROL_EXPOSE_HEADERS - Static variable in interface cn.dev33.satoken.context.model.SaResponse
-
指定前端可以获取到哪些响应头时使用的参数名
- account() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckHttpBasic
-
需要校验的账号密码,格式形如 sa:123456
- ACCOUNT - Enum constant in enum class cn.dev33.satoken.stp.parameter.enums.SaLogoutRange
-
账号范围:注销 token 指向的 loginId 会话
- addCookie(SaCookie) - Method in interface cn.dev33.satoken.context.model.SaResponse
-
写入指定Cookie
- addCookie(String, String, String, String, int) - Method in interface cn.dev33.satoken.context.model.SaResponse
-
写入指定Cookie
- addExclude(String...) - Method in interface cn.dev33.satoken.filter.SaFilter
-
添加 [ 放行路由 ]
- addExtraAttr(String) - Method in class cn.dev33.satoken.config.SaCookieConfig
-
追加扩展属性
- addExtraAttr(String) - Method in class cn.dev33.satoken.context.model.SaCookie
-
追加扩展属性
- addExtraAttr(String, String) - Method in class cn.dev33.satoken.config.SaCookieConfig
-
追加扩展属性
- addExtraAttr(String, String) - Method in class cn.dev33.satoken.context.model.SaCookie
-
追加扩展属性
- addHeader(String, String) - Method in class cn.dev33.satoken.context.mock.SaResponseForMock
-
在响应头里添加一个值
- addHeader(String, String) - Method in interface cn.dev33.satoken.context.model.SaResponse
-
在响应头里添加一个值
- addInclude(String...) - Method in interface cn.dev33.satoken.filter.SaFilter
-
添加 [ 拦截路由 ]
- addTempTokenIndex(SaSession, String, long) - Method in class cn.dev33.satoken.temp.SaTempTemplate
-
在 SaSession 上添加临时 temp-token 索引
- addTerminal(SaTerminalInfo) - Method in class cn.dev33.satoken.session.SaSession
-
添加一个终端信息
- adjustIndex(Object, SaSession) - Method in class cn.dev33.satoken.temp.SaTempTemplate
-
调整索引
- aesDecrypt(String, String) - Static method in class cn.dev33.satoken.secure.SaSecureUtil
-
AES解密
- aesEncrypt(String, String) - Static method in class cn.dev33.satoken.secure.SaSecureUtil
-
AES加密
- ALL - Enum constant in enum class cn.dev33.satoken.router.SaHttpMethod
-
代表全部请求方式
- ALL_DEVICE_TYPE - Enum constant in enum class cn.dev33.satoken.stp.parameter.enums.SaReplacedRange
-
所有设备类型端
- allowHosts - Variable in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHost
-
允许的 host 列表,允许通配符
- allowMethods - Variable in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHttpMethod
-
允许的 HttpMethod 列表
- AND - Enum constant in enum class cn.dev33.satoken.annotation.SaMode
-
必须具有所有的元素
- annotationHandlerMap - Variable in class cn.dev33.satoken.strategy.SaAnnotationStrategy
-
注解处理器集合
- ApiDisabledException - Exception in cn.dev33.satoken.exception
-
一个异常:代表 API 已被禁用
- ApiDisabledException() - Constructor for exception cn.dev33.satoken.exception.ApiDisabledException
-
一个异常:代表 API 已被禁用
- ApiDisabledException(String) - Constructor for exception cn.dev33.satoken.exception.ApiDisabledException
-
一个异常:代表 API 已被禁用
- append() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckOr
-
需要追加抓取的注解 Class (只能填写 Sa-Token 相关注解类型)
- ApplicationInfo - Class in cn.dev33.satoken.application
-
应用全局信息
- ApplicationInfo() - Constructor for class cn.dev33.satoken.application.ApplicationInfo
- arrayJoin(String[]) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
将数组的所有元素使用逗号拼接在一起
- ASSEMBLY_ORDER - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
切面、拦截器、过滤器等各种组件的注册优先级顺序
- autoRenew - Variable in class cn.dev33.satoken.strategy.SaStrategy
-
是否自动续期 active-timeout
B
- back() - Static method in class cn.dev33.satoken.router.SaRouter
-
停止匹配,结束执行,向前端返回结果
- back() - Method in class cn.dev33.satoken.router.SaRouterStaff
-
停止匹配,结束执行,向前端返回结果
- back(Object) - Static method in class cn.dev33.satoken.router.SaRouter
-
停止匹配,结束执行,向前端返回结果
- back(Object) - Method in class cn.dev33.satoken.router.SaRouterStaff
-
停止匹配,结束执行,向前端返回结果
- BackResultException - Exception in cn.dev33.satoken.exception
-
一个异常:代表停止匹配,直接退出,向前端输出结果 (框架内部专属异常,一般情况下开发者无需关注)
- BackResultException(Object) - Constructor for exception cn.dev33.satoken.exception.BackResultException
-
构造
- bannedPercentage - Variable in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForPathBannedCharacter
-
是否严格禁止出现百分号字符 % (默认:否)
- BCrypt - Class in cn.dev33.satoken.secure
-
Deprecated.
- BCrypt() - Constructor for class cn.dev33.satoken.secure.BCrypt
-
Deprecated.
- BE_MESSAGE - Static variable in exception cn.dev33.satoken.exception.ApiDisabledException
-
异常提示语
- BE_MESSAGE - Static variable in exception cn.dev33.satoken.exception.DisableServiceException
-
异常提示语
- BE_MESSAGE - Static variable in exception cn.dev33.satoken.exception.NotHttpBasicAuthException
-
异常提示语
- BE_MESSAGE - Static variable in exception cn.dev33.satoken.exception.NotHttpDigestAuthException
-
异常提示语
- BE_MESSAGE - Static variable in exception cn.dev33.satoken.exception.NotSafeException
-
异常提示语
- BE_MESSAGE - Static variable in exception cn.dev33.satoken.exception.TotpAuthException
-
异常提示语
- BE_REPLACED - Static variable in exception cn.dev33.satoken.exception.NotLoginException
-
表示 token 已被顶下线
- BE_REPLACED_MESSAGE - Static variable in exception cn.dev33.satoken.exception.NotLoginException
- BE_VALUE - Static variable in exception cn.dev33.satoken.exception.DisableServiceException
-
Deprecated.
- blackPaths - Variable in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForBlackPath
-
请求 path 黑名单
- builder() - Method in class cn.dev33.satoken.context.model.SaCookie
-
构建一下
- buildResponseHeaderValue(SaHttpDigestModel) - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestTemplate
-
构建认证失败的响应头参数
- bytesToHex(byte[]) - Static method in class cn.dev33.satoken.util.SaHexUtil
-
将字节数组转换为十六进制字符串(JDK8兼容)
- bytesToObject(byte[]) - Method in interface cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdk
- bytesToObject(byte[]) - Method in class cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJson
- bytesToObject(byte[]) - Method in interface cn.dev33.satoken.serializer.SaSerializerTemplate
-
反序列化:字节数组 → 对象
- bytesToString(byte[]) - Method in interface cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdk
-
byte[] 转换为 String
- bytesToString(byte[]) - Method in class cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdkUseBase64
- bytesToString(byte[]) - Method in class cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdkUseHex
- bytesToString(byte[]) - Method in class cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdkUseISO_8859_1
C
- C_BACKSLASH - Static variable in class cn.dev33.satoken.util.StrFormatter
-
Deprecated.
- calcResponse(SaHttpDigestModel) - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestTemplate
-
计算:根据 Digest 参数计算 response
- check - Variable in class cn.dev33.satoken.strategy.SaFirewallStrategy
-
防火墙校验函数
- check() - Method in class cn.dev33.satoken.httpauth.basic.SaHttpBasicTemplate
-
对当前会话进行 Basic 校验(使用全局配置的账号密码),校验不通过则抛出异常
- check() - Static method in class cn.dev33.satoken.httpauth.basic.SaHttpBasicUtil
-
对当前会话进行 Basic 校验(使用全局配置的账号密码),校验不通过则抛出异常
- check() - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestTemplate
-
校验:根据全局配置参数,校验不通过抛出异常
- check() - Static method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestUtil
-
校验:根据全局配置参数,校验不通过抛出异常
- check(SaFunction) - Method in class cn.dev33.satoken.router.SaRouterStaff
-
执行校验函数 (无参)
- check(SaParamFunction<SaRouterStaff>) - Method in class cn.dev33.satoken.router.SaRouterStaff
-
执行校验函数 (带参)
- check(SaHttpDigestModel) - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestTemplate
-
校验:根据提供 Digest 参数计算 res,与 request 请求中的 Digest 参数进行校验,校验不通过则抛出异常
- check(SaHttpDigestModel) - Static method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestUtil
-
校验:根据提供 Digest 参数计算 res,与 request 请求中的 Digest 参数进行校验,校验不通过则抛出异常
- check(Annotation, AnnotatedElement) - Method in interface cn.dev33.satoken.annotation.handler.SaAnnotationHandlerInterface
-
所需要执行的校验方法
- check(String) - Method in class cn.dev33.satoken.httpauth.basic.SaHttpBasicTemplate
-
对当前会话进行 Basic 校验(手动设置账号密码),校验不通过则抛出异常
- check(String) - Static method in class cn.dev33.satoken.httpauth.basic.SaHttpBasicUtil
-
对当前会话进行 Basic 校验(手动设置账号密码),校验不通过则抛出异常
- check(String, String) - Method in class cn.dev33.satoken.httpauth.basic.SaHttpBasicTemplate
-
对当前会话进行 Basic 校验(手动设置 Realm 和 账号密码),校验不通过则抛出异常
- check(String, String) - Static method in class cn.dev33.satoken.httpauth.basic.SaHttpBasicUtil
-
对当前会话进行 Basic 校验(手动设置 Realm 和 账号密码),校验不通过则抛出异常
- check(String, String) - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestTemplate
-
校验:根据提供的参数,校验不通过抛出异常
- check(String, String) - Static method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestUtil
-
校验:根据提供的参数,校验不通过抛出异常
- check(String, String, String) - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestTemplate
-
校验:根据提供的参数,校验不通过抛出异常
- check(String, String, String) - Static method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestUtil
-
校验:根据提供的参数,校验不通过抛出异常
- checkActiveTimeout() - Method in class cn.dev33.satoken.stp.StpLogic
-
检查当前 token 是否已被冻结,如果是则抛出异常
- checkActiveTimeout() - Static method in class cn.dev33.satoken.stp.StpUtil
-
检查当前 token 是否已被冻结,如果是则抛出异常
- checkActiveTimeout(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
检查指定 token 是否已被冻结,如果是则抛出异常
- checkActiveTimeoutByConfig(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
根据全局配置决定是否校验指定 token 的活跃度
- checkByAnnotation(SaCheckHttpDigest) - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestTemplate
-
Deprecated.
- checkByAnnotation(SaCheckHttpDigest) - Static method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestUtil
-
Deprecated.
- checkCurrentRequestToken() - Method in class cn.dev33.satoken.same.SaSameTemplate
-
校验当前 Request 上下文提供的 Same-Token 是否有效 (如果无效则抛出异常)
- checkCurrentRequestToken() - Static method in class cn.dev33.satoken.same.SaSameUtil
-
校验当前 Request 上下文提供的 Same-Token 是否有效 (如果无效则抛出异常)
- checkCutPrefixLength(String) - Static method in class cn.dev33.satoken.temp.SaTempTemplate
-
检查裁剪前缀长度
- checkDisable(Object) - Method in class cn.dev33.satoken.stp.StpLogic
-
校验:指定账号是否已被封禁,如果被封禁则抛出异常
- checkDisable(Object) - Static method in class cn.dev33.satoken.stp.StpUtil
-
校验:指定账号是否已被封禁,如果被封禁则抛出异常
- checkDisable(Object, String...) - Method in class cn.dev33.satoken.stp.StpLogic
-
校验:指定账号 指定服务 是否已被封禁,如果被封禁则抛出异常
- checkDisable(Object, String...) - Static method in class cn.dev33.satoken.stp.StpUtil
-
校验:指定账号 指定服务 是否已被封禁,如果被封禁则抛出异常
- checkDisableLevel(Object, int) - Method in class cn.dev33.satoken.stp.StpLogic
-
校验:指定账号是否已被封禁到指定等级(如果已经达到,则抛出异常)
- checkDisableLevel(Object, int) - Static method in class cn.dev33.satoken.stp.StpUtil
-
校验:指定账号是否已被封禁到指定等级(如果已经达到,则抛出异常)
- checkDisableLevel(Object, String, int) - Method in class cn.dev33.satoken.stp.StpLogic
-
校验:指定账号的指定服务,是否已被封禁到指定等级(如果已经达到,则抛出异常)
- checkDisableLevel(Object, String, int) - Static method in class cn.dev33.satoken.stp.StpUtil
-
校验:指定账号的指定服务,是否已被封禁到指定等级(如果已经达到,则抛出异常)
- checkElementAnnotation - Variable in class cn.dev33.satoken.strategy.SaAnnotationStrategy
-
对一个 [Element] 对象进行注解校验 (注解鉴权内部实现)
- checkELRootMapExtendFunction - Variable in class cn.dev33.satoken.strategy.SaAnnotationStrategy
-
SaCheckELRootMap 扩展函数
- checkFailHandle - Variable in class cn.dev33.satoken.strategy.SaFirewallStrategy
-
当请求 path 校验不通过时地处理方案,自定义示例:
- checkHooks - Variable in class cn.dev33.satoken.strategy.SaFirewallStrategy
-
防火墙校验钩子函数集合
- checkLogin() - Method in class cn.dev33.satoken.stp.StpLogic
-
检验当前会话是否已经登录,如未登录,则抛出异常
- checkLogin() - Static method in class cn.dev33.satoken.stp.StpUtil
-
检验当前会话是否已经登录,如未登录,则抛出异常
- checkLoginArgs(Object, SaLoginParameter) - Method in class cn.dev33.satoken.stp.StpLogic
-
校验登录时的参数有效性,如果有问题会打印警告或抛出异常
- checkMethod(SaCheckDisable, AnnotatedElement) - Method in class cn.dev33.satoken.annotation.handler.SaCheckDisableHandler
- checkMethod(SaCheckHttpBasic, AnnotatedElement) - Method in class cn.dev33.satoken.annotation.handler.SaCheckHttpBasicHandler
- checkMethod(SaCheckHttpDigest, AnnotatedElement) - Method in class cn.dev33.satoken.annotation.handler.SaCheckHttpDigestHandler
- checkMethod(SaCheckLogin, AnnotatedElement) - Method in class cn.dev33.satoken.annotation.handler.SaCheckLoginHandler
- checkMethod(SaCheckOr, AnnotatedElement) - Method in class cn.dev33.satoken.annotation.handler.SaCheckOrHandler
- checkMethod(SaCheckPermission, AnnotatedElement) - Method in class cn.dev33.satoken.annotation.handler.SaCheckPermissionHandler
- checkMethod(SaCheckRole, AnnotatedElement) - Method in class cn.dev33.satoken.annotation.handler.SaCheckRoleHandler
- checkMethod(SaCheckSafe, AnnotatedElement) - Method in class cn.dev33.satoken.annotation.handler.SaCheckSafeHandler
- checkMethod(SaIgnore, AnnotatedElement) - Method in class cn.dev33.satoken.annotation.handler.SaIgnoreHandler
- checkMethod(T, AnnotatedElement) - Method in interface cn.dev33.satoken.annotation.handler.SaAnnotationHandlerInterface
-
所需要执行的校验方法(转换类型后)
- checkMethodAnnotation - Variable in class cn.dev33.satoken.strategy.SaAnnotationStrategy
-
对一个 [Method] 对象进行注解校验 (注解鉴权内部实现)
- checkPermission(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
校验:当前账号是否含有指定权限, 如果验证未通过,则抛出异常: NotPermissionException
- checkPermission(String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
校验:当前账号是否含有指定权限, 如果验证未通过,则抛出异常: NotPermissionException
- checkPermissionAnd(String...) - Method in class cn.dev33.satoken.stp.StpLogic
-
校验:当前账号是否含有指定权限 [ 指定多个,必须全部验证通过 ]
- checkPermissionAnd(String...) - Static method in class cn.dev33.satoken.stp.StpUtil
-
校验:当前账号是否含有指定权限 [ 指定多个,必须全部验证通过 ]
- checkPermissionOr(String...) - Method in class cn.dev33.satoken.stp.StpLogic
-
校验:当前账号是否含有指定权限 [ 指定多个,只要其一验证通过即可 ]
- checkPermissionOr(String...) - Static method in class cn.dev33.satoken.stp.StpUtil
-
校验:当前账号是否含有指定权限 [ 指定多个,只要其一验证通过即可 ]
- checkpw(String, String) - Static method in class cn.dev33.satoken.secure.BCrypt
-
Deprecated.检查明文密码文本是否匹配加密后的文本
- checkRole(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
校验:当前账号是否含有指定角色标识, 如果验证未通过,则抛出异常: NotRoleException
- checkRole(String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
校验:当前账号是否含有指定角色标识, 如果验证未通过,则抛出异常: NotRoleException
- checkRoleAnd(String...) - Method in class cn.dev33.satoken.stp.StpLogic
-
校验:当前账号是否含有指定角色标识 [ 指定多个,必须全部验证通过 ]
- checkRoleAnd(String...) - Static method in class cn.dev33.satoken.stp.StpUtil
-
校验:当前账号是否含有指定角色标识 [ 指定多个,必须全部验证通过 ]
- checkRoleOr(String...) - Method in class cn.dev33.satoken.stp.StpLogic
-
校验:当前账号是否含有指定角色标识 [ 指定多个,只要其一验证通过即可 ]
- checkRoleOr(String...) - Static method in class cn.dev33.satoken.stp.StpUtil
-
校验:当前账号是否含有指定角色标识 [ 指定多个,只要其一验证通过即可 ]
- checkSafe() - Method in class cn.dev33.satoken.stp.StpLogic
-
校验:当前会话是否已通过二级认证,如未通过则抛出异常
- checkSafe() - Static method in class cn.dev33.satoken.stp.StpUtil
-
校验:当前会话是否已通过二级认证,如未通过则抛出异常
- checkSafe(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
校验:检查当前会话是否已通过指定业务的二级认证,如未通过则抛出异常
- checkSafe(String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
校验:检查当前会话是否已通过指定业务的二级认证,如未通过则抛出异常
- checkToken(String) - Method in class cn.dev33.satoken.same.SaSameTemplate
-
校验一个 Same-Token 是否有效 (如果无效则抛出异常)
- checkToken(String) - Static method in class cn.dev33.satoken.same.SaSameUtil
-
校验一个 Same-Token 是否有效 (如果无效则抛出异常)
- checkTOTP(String, String, int) - Method in class cn.dev33.satoken.secure.totp.SaTotpTemplate
-
校验用户输入的TOTP是否有效,如果无效则抛出异常
- checkTOTP(String, String, int) - Static method in class cn.dev33.satoken.secure.totp.SaTotpUtil
-
校验用户输入的TOTP是否有效,如果无效则抛出异常
- clear() - Method in class cn.dev33.satoken.application.SaApplication
-
清空当前存入的所有 key
- clear() - Method in class cn.dev33.satoken.session.SaSession
-
清空所有挂载数据
- clearContext() - Static method in class cn.dev33.satoken.context.mock.SaTokenContextMockUtil
-
清除上下文
- clearContext() - Method in interface cn.dev33.satoken.context.SaTokenContext
-
清除化上下文
- clearContext() - Method in class cn.dev33.satoken.context.SaTokenContextDefaultImpl
- clearContext() - Method in interface cn.dev33.satoken.context.SaTokenContextForReadOnly
- clearContext() - Method in class cn.dev33.satoken.context.SaTokenContextForThreadLocal
- clearLastActive(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
清除指定 Token 的 [ 最后活跃时间记录 ]
- clearListener() - Static method in class cn.dev33.satoken.listener.SaTokenEventCenter
-
清空所有已注册的侦听器
- clearModelBox() - Static method in class cn.dev33.satoken.context.SaTokenContextForThreadLocalStaff
-
清除当前线程的 [ Box 存储器 ]
- closeSafe() - Method in class cn.dev33.satoken.stp.StpLogic
-
在当前会话 结束二级认证
- closeSafe() - Static method in class cn.dev33.satoken.stp.StpUtil
-
在当前会话 结束二级认证
- closeSafe(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
在当前会话 结束指定业务标识的二级认证
- closeSafe(String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
在当前会话 结束指定业务标识的二级认证
- cn.dev33.satoken - package cn.dev33.satoken
- cn.dev33.satoken.annotation - package cn.dev33.satoken.annotation
- cn.dev33.satoken.annotation.handler - package cn.dev33.satoken.annotation.handler
- cn.dev33.satoken.application - package cn.dev33.satoken.application
- cn.dev33.satoken.config - package cn.dev33.satoken.config
- cn.dev33.satoken.context - package cn.dev33.satoken.context
- cn.dev33.satoken.context.mock - package cn.dev33.satoken.context.mock
- cn.dev33.satoken.context.model - package cn.dev33.satoken.context.model
-
因为不能确定最终运行的 web 容器属于标准 Servlet 模型还是非 Servlet 模型,特封装此包下的包装类进行对接。
- cn.dev33.satoken.dao - package cn.dev33.satoken.dao
- cn.dev33.satoken.dao.auto - package cn.dev33.satoken.dao.auto
- cn.dev33.satoken.dao.timedcache - package cn.dev33.satoken.dao.timedcache
- cn.dev33.satoken.error - package cn.dev33.satoken.error
- cn.dev33.satoken.exception - package cn.dev33.satoken.exception
- cn.dev33.satoken.filter - package cn.dev33.satoken.filter
- cn.dev33.satoken.fun - package cn.dev33.satoken.fun
- cn.dev33.satoken.fun.hooks - package cn.dev33.satoken.fun.hooks
- cn.dev33.satoken.fun.strategy - package cn.dev33.satoken.fun.strategy
- cn.dev33.satoken.http - package cn.dev33.satoken.http
- cn.dev33.satoken.httpauth.basic - package cn.dev33.satoken.httpauth.basic
- cn.dev33.satoken.httpauth.digest - package cn.dev33.satoken.httpauth.digest
- cn.dev33.satoken.json - package cn.dev33.satoken.json
- cn.dev33.satoken.listener - package cn.dev33.satoken.listener
- cn.dev33.satoken.log - package cn.dev33.satoken.log
- cn.dev33.satoken.model.wrapperInfo - package cn.dev33.satoken.model.wrapperInfo
- cn.dev33.satoken.plugin - package cn.dev33.satoken.plugin
- cn.dev33.satoken.router - package cn.dev33.satoken.router
- cn.dev33.satoken.same - package cn.dev33.satoken.same
- cn.dev33.satoken.secure - package cn.dev33.satoken.secure
- cn.dev33.satoken.secure.totp - package cn.dev33.satoken.secure.totp
- cn.dev33.satoken.serializer - package cn.dev33.satoken.serializer
- cn.dev33.satoken.serializer.impl - package cn.dev33.satoken.serializer.impl
- cn.dev33.satoken.session - package cn.dev33.satoken.session
- cn.dev33.satoken.session.raw - package cn.dev33.satoken.session.raw
- cn.dev33.satoken.stp - package cn.dev33.satoken.stp
- cn.dev33.satoken.stp.parameter - package cn.dev33.satoken.stp.parameter
- cn.dev33.satoken.stp.parameter.enums - package cn.dev33.satoken.stp.parameter.enums
- cn.dev33.satoken.strategy - package cn.dev33.satoken.strategy
- cn.dev33.satoken.strategy.hooks - package cn.dev33.satoken.strategy.hooks
- cn.dev33.satoken.temp - package cn.dev33.satoken.temp
- cn.dev33.satoken.util - package cn.dev33.satoken.util
- cnonce - Variable in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
客户端随机数,由客户端提供
- code(int) - Static method in class cn.dev33.satoken.util.SaResult
- CODE_10001 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
未能获取有效的上下文处理器
- CODE_10002 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
未能获取有效的上下文
- CODE_10003 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
JSON 转换器未实现
- CODE_10004 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
HTTP 请求处理器未实现
- CODE_10011 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
未能从全局 StpLogic 集合中找到对应 type 的 StpLogic
- CODE_10021 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
指定的配置文件加载失败
- CODE_10022 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
配置文件属性无法正常读取
- CODE_10031 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
重置的侦听器集合不可以为空
- CODE_10032 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
注册的侦听器不可以为空
- CODE_10301 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
提供的 Same-Token 是无效的
- CODE_10311 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
表示未能通过 Http Basic 认证校验
- CODE_10312 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
表示未能通过 Http Digest 认证校验
- CODE_10321 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
提供的 HttpMethod 是无效的
- CODE_11001 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
未能读取到有效Token
- CODE_11002 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
登录时的账号id值为空
- CODE_11003 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
更改 Token 指向的 账号Id 时,账号Id值为空
- CODE_11004 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
登录失败:当前账号已在其它客户端登录
- CODE_11011 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
未能读取到有效Token
- CODE_11012 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
Token无效
- CODE_11013 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
Token已过期
- CODE_11014 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
Token已被顶下线
- CODE_11015 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
Token已被踢下线
- CODE_11016 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
Token已被冻结
- CODE_11017 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
前端未按照指定的前缀提交 token
- CODE_11031 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
在未集成 sa-token-jwt 插件时调用 getExtra() 抛出异常
- CODE_11041 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
缺少指定的角色
- CODE_11051 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
缺少指定的权限
- CODE_11061 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
当前账号未通过服务封禁校验
- CODE_11062 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
提供要解禁的账号无效
- CODE_11063 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
提供要解禁的服务无效
- CODE_11064 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
提供要解禁的等级无效
- CODE_11071 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
二级认证校验未通过
- CODE_11072 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
获取 SaSession 时提供的 SessionId 为空
- CODE_11073 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
获取 Token-Session 时提供的 token 为空
- CODE_11074 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
获取 Token-Session 时提供的 token 为无效 token
- CODE_12001 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
请求中缺少指定的参数
- CODE_12002 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
构建 Cookie 时缺少 name 参数
- CODE_12003 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
构建 Cookie 时缺少 value 参数
- CODE_12101 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
Base64 编码异常
- CODE_12102 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
Base64 解码异常
- CODE_12103 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
URL 编码异常
- CODE_12104 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
URL 解码异常
- CODE_12111 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
md5 加密异常
- CODE_12112 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
sha1 加密异常
- CODE_12113 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
sha256 加密异常
- CODE_121131 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
sha384 加密异常
- CODE_121132 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
sha512 加密异常
- CODE_12114 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
AES 加密异常
- CODE_12115 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
AES 解密异常
- CODE_12116 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
RSA 公钥加密异常
- CODE_12117 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
RSA 私钥加密异常
- CODE_12118 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
RSA 公钥解密异常
- CODE_12119 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
RSA 私钥解密异常
- CODE_12401 - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
未实现具体的路由匹配策略
- CODE_ERROR - Static variable in class cn.dev33.satoken.util.SaResult
- CODE_NOT_LOGIN - Static variable in class cn.dev33.satoken.util.SaResult
- CODE_NOT_PERMISSION - Static variable in class cn.dev33.satoken.util.SaResult
- CODE_SUCCESS - Static variable in class cn.dev33.satoken.util.SaResult
- CODE_UNDEFINED - Static variable in interface cn.dev33.satoken.error.SaErrorCode
-
代表这个异常在抛出时未指定异常细分状态码
- codeDigits - Variable in class cn.dev33.satoken.secure.totp.SaTotpTemplate
-
生成的验证码位数
- config - Static variable in class cn.dev33.satoken.SaManager
-
全局配置对象
- configPath - Static variable in class cn.dev33.satoken.config.SaTokenConfigFactory
-
配置文件地址
- CONNECT - Enum constant in enum class cn.dev33.satoken.router.SaHttpMethod
- CONTENT_TYPE_APPLICATION_JSON - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
Content-Type application/json;charset=UTF-8
- CONTENT_TYPE_KEY - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
Content-Type key
- CONTENT_TYPE_TEXT_PLAIN - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
Content-Type text/plain; charset=utf-8
- convertArrayToString(String[]) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
Array 转 String,按照逗号连接
- convertListToString(List<?>) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
将指定集合按照逗号连接成一个字符串
- convertStringToArray(String) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
String 转 Array,按照逗号切割
- convertStringToList(String) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
将指定字符串按照逗号分隔符转化为字符串集合
- cookie - Variable in class cn.dev33.satoken.config.SaTokenConfig
-
Cookie配置对象
- cookie - Variable in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
Cookie 配置对象
- cookieMap - Variable in class cn.dev33.satoken.context.mock.SaRequestForMock
- copyHopeToReq(SaHttpDigestModel, SaHttpDigestModel) - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestTemplate
-
把 hopeModel 有的值都 copy 到 reqModel 中
- CORS_FILTER_ORDER - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
跨域处理过滤器的注册顺序
- corsHandle - Variable in class cn.dev33.satoken.strategy.SaStrategy
-
CORS 策略处理函数
- create() - Static method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
静态方法获取一个 SaLoginParameter 对象
- create() - Static method in class cn.dev33.satoken.stp.parameter.SaLogoutParameter
-
静态方法获取一个 SaLoginParameter 对象
- create() - Static method in class cn.dev33.satoken.stp.SaLoginConfig
-
Deprecated.静态方法获取一个 SaLoginParameter 对象
- createConfig() - Static method in class cn.dev33.satoken.config.SaTokenConfigFactory
-
根据 configPath 路径获取配置信息
- createConfig(String) - Static method in class cn.dev33.satoken.config.SaTokenConfigFactory
-
根据指定路径路径获取配置信息
- createDisabled(long, int) - Static method in class cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
-
创建一个已封禁描述对象
- createLoginSession(Object) - Method in class cn.dev33.satoken.stp.StpLogic
-
创建指定账号 id 的登录会话数据
- createLoginSession(Object) - Static method in class cn.dev33.satoken.stp.StpUtil
-
创建指定账号 id 的登录会话数据
- createLoginSession(Object, SaLoginParameter) - Method in class cn.dev33.satoken.stp.StpLogic
-
创建指定账号 id 的登录会话数据
- createLoginSession(Object, SaLoginParameter) - Static method in class cn.dev33.satoken.stp.StpUtil
-
创建指定账号 id 的登录会话数据
- createNotDisabled() - Static method in class cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
-
创建一个未封禁描述对象
- createNotDisabled(long) - Static method in class cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
-
创建一个未封禁描述对象,并指定缓存时间,指定时间内不再重复查询
- createSaLoginParameter() - Method in class cn.dev33.satoken.stp.StpLogic
-
根据当前配置对象创建一个 SaLoginParameter 对象
- createSaLoginParameter() - Static method in class cn.dev33.satoken.stp.StpUtil
-
根据当前配置对象创建一个 SaLoginParameter 对象
- createSaLogoutParameter() - Method in class cn.dev33.satoken.stp.StpLogic
-
根据当前配置对象创建一个 SaLogoutParameter 对象
- createSession - Variable in class cn.dev33.satoken.strategy.SaStrategy
-
创建 Session 的策略
- createStpLogic - Variable in class cn.dev33.satoken.strategy.SaStrategy
-
创建 StpLogic 的算法
- createTempTokenValue(Object) - Method in class cn.dev33.satoken.temp.SaTempTemplate
-
创建一个 temp-token 值
- createToken - Variable in class cn.dev33.satoken.strategy.SaStrategy
-
创建 Token 的策略
- createToken() - Method in class cn.dev33.satoken.same.SaSameTemplate
-
创建一个 Same-Token
- createToken(Object, long) - Method in class cn.dev33.satoken.temp.SaTempTemplate
-
为指定 value 创建一个临时 token (如果多条业务线均需要创建临时 token,请自行在 value 拼接不同前缀)
- createToken(Object, long) - Static method in class cn.dev33.satoken.temp.SaTempUtil
-
为指定 value 创建一个临时 token (如果多条业务线均需要创建临时 token,请自行在 value 拼接不同前缀)
- createToken(Object, long, boolean) - Method in class cn.dev33.satoken.temp.SaTempTemplate
-
为指定 业务标识、指定 value 创建一个 Token
- createToken(Object, long, boolean) - Static method in class cn.dev33.satoken.temp.SaTempUtil
-
为指定 业务标识、指定 value 创建一个 Token
- createTokenValue(Object, String, long, Map<String, Object>) - Method in class cn.dev33.satoken.stp.StpLogic
-
为指定账号创建一个 token (只是把 token 创建出来,并不持久化存储)
- crypt(byte[], byte[], int, int[]) - Method in class cn.dev33.satoken.secure.BCrypt
-
Deprecated.加密密文
- CURR_DEVICE_TYPE - Enum constant in enum class cn.dev33.satoken.stp.parameter.enums.SaReplacedRange
-
当前指定的设备类型端
- cutPathPrefix(String) - Static method in class cn.dev33.satoken.application.ApplicationInfo
-
为指定 path 裁剪掉 routePrefix 前缀
D
- dangerCharacter - Variable in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForPathDangerCharacter
-
请求 path 不允许出现的危险字符
- data(Object) - Static method in class cn.dev33.satoken.util.SaResult
- dataMap - Variable in class cn.dev33.satoken.context.mock.SaStorageForMock
- dataMap - Variable in class cn.dev33.satoken.dao.timedcache.SaTimedCache
-
存储数据的集合
- debug - Static variable in class cn.dev33.satoken.log.SaLogForConsole
- debug(String, Object...) - Method in interface cn.dev33.satoken.log.SaLog
-
输出 debug 日志
- debug(String, Object...) - Method in class cn.dev33.satoken.log.SaLogForConsole
- DEBUG_COLOR - Static variable in class cn.dev33.satoken.log.SaLogForConsole
- DEBUG_PREFIX - Static variable in class cn.dev33.satoken.log.SaLogForConsole
- decode(String) - Static method in class cn.dev33.satoken.secure.SaBase32Util
-
Base32 解码(String 转 String)
- decode(String) - Static method in class cn.dev33.satoken.secure.SaBase64Util
-
Base64解码,String 转 String
- decoderUrl(String) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
URL解码
- decodeStringToBytes(String) - Static method in class cn.dev33.satoken.secure.SaBase32Util
-
Base32 解码(String 转 byte[])
- decodeStringToBytes(String) - Static method in class cn.dev33.satoken.secure.SaBase64Util
-
Base64解码,String 转 byte[]
- DEFAULT_COLOR - Static variable in class cn.dev33.satoken.log.SaLogForConsole
- DEFAULT_DISABLE_LEVEL - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
常量 key 标记: 在封禁账号时,默认封禁的等级
- DEFAULT_DISABLE_SERVICE - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
常量 key 标记: 在封禁账号时,默认封禁的服务类型
- DEFAULT_LOGIN_DEVICE_TYPE - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
常量 key 标记: 在登录时,默认使用的设备类型
- DEFAULT_MESSAGE - Static variable in exception cn.dev33.satoken.exception.NotLoginException
-
默认的提示语
- DEFAULT_NAMESPACE - Static variable in class cn.dev33.satoken.temp.SaTempTemplate
-
默认命名空间
- DEFAULT_QOP - Static variable in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
默认的 qop 值
- DEFAULT_REALM - Static variable in class cn.dev33.satoken.httpauth.basic.SaHttpBasicTemplate
-
默认的 Realm 领域名称
- DEFAULT_REALM - Static variable in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
默认的 Realm 领域名称
- DEFAULT_SAFE_AUTH_SERVICE - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
常量 key 标记: 在进行 Token 二级验证时,默认的业务类型
- DEFAULT_TEMP_TOKEN_SERVICE - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
Deprecated.
- defaultContext - Static variable in class cn.dev33.satoken.context.SaTokenContextDefaultImpl
-
默认的上下文处理器对象
- defaultInstance - Static variable in class cn.dev33.satoken.application.SaApplication
-
默认实例
- delete(String) - Method in class cn.dev33.satoken.application.SaApplication
-
删值
- delete(String) - Method in interface cn.dev33.satoken.application.SaSetValueInterface
-
删值
- delete(String) - Method in class cn.dev33.satoken.context.mock.SaStorageForMock
-
在 [Request作用域] 里删除一个值
- delete(String) - Method in interface cn.dev33.satoken.context.model.SaStorage
-
删值
- delete(String) - Method in interface cn.dev33.satoken.dao.auto.SaTokenDaoByStringFollowObject
- delete(String) - Method in interface cn.dev33.satoken.dao.SaTokenDao
-
删除 value
- delete(String) - Method in class cn.dev33.satoken.session.SaSession
-
删值
- DELETE - Enum constant in enum class cn.dev33.satoken.router.SaHttpMethod
- deleteCookie(String) - Method in interface cn.dev33.satoken.context.model.SaResponse
-
删除指定Cookie
- deleteCookie(String, String, String) - Method in interface cn.dev33.satoken.context.model.SaResponse
-
删除指定Cookie
- deleteObject(String) - Method in interface cn.dev33.satoken.dao.auto.SaTokenDaoByObjectFollowString
-
删除 Object
- deleteObject(String) - Method in interface cn.dev33.satoken.dao.SaTokenDao
-
删除 Object
- deleteObject(String) - Method in class cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
- deleteObject(String) - Method in class cn.dev33.satoken.dao.timedcache.SaTimedCache
- deleteSession(String) - Method in interface cn.dev33.satoken.dao.auto.SaTokenDaoBySessionFollowObject
-
删除 SaSession
- deleteSession(String) - Method in interface cn.dev33.satoken.dao.SaTokenDao
-
删除 SaSession
- deleteSessionById(Object) - Method in class cn.dev33.satoken.session.raw.SaRawSessionDelegator
-
删除指定 SaSession
- deleteSessionById(String) - Static method in class cn.dev33.satoken.session.SaSessionCustomUtil
-
删除指定 key 的 SaSession
- deleteSessionById(String, Object) - Static method in class cn.dev33.satoken.session.raw.SaRawSessionUtil
-
删除指定 SaSession
- deleteTempTokenIndex(SaSession, String) - Method in class cn.dev33.satoken.temp.SaTempTemplate
-
在 SaSession 上删除临时 temp-token 索引
- deleteToken(String) - Method in class cn.dev33.satoken.temp.SaTempTemplate
-
删除一个 token
- deleteToken(String) - Static method in class cn.dev33.satoken.temp.SaTempUtil
-
删除一个 token
- deleteTokenSession(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
删除指定 token 的 Token-Session
- deleteTokenToIdMapping(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
删除 token - id 映射
- destroy() - Method in interface cn.dev33.satoken.dao.SaTokenDao
-
当此 SaTokenDao 实例被卸载时触发
- destroy() - Method in class cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
-
组件被卸载时,结束定时任务,不再定时清理过期数据
- destroy() - Method in interface cn.dev33.satoken.plugin.SaTokenPlugin
-
卸载插件
- destroyPlugin(SaTokenPlugin) - Method in class cn.dev33.satoken.plugin.SaTokenPluginHolder
-
卸载指定插件
- destroyPlugin(Class<T>) - Method in class cn.dev33.satoken.plugin.SaTokenPluginHolder
-
卸载指定插件,根据插件类型
- DEV_DOC_URL - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
Sa-Token 开发文档地址
- disable() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckOr
-
设定 @SaCheckDisable,参考
SaCheckDisable - disable(Object, long) - Method in class cn.dev33.satoken.stp.StpLogic
-
封禁:指定账号
- disable(Object, long) - Static method in class cn.dev33.satoken.stp.StpUtil
-
封禁:指定账号
- disable(Object, String, long) - Method in class cn.dev33.satoken.stp.StpLogic
-
封禁:指定账号的指定服务
- disable(Object, String, long) - Static method in class cn.dev33.satoken.stp.StpUtil
-
封禁:指定账号的指定服务
- disableLevel - Variable in class cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
-
封禁等级(最小1级,0=未封禁)
- disableLevel(Object, int, long) - Method in class cn.dev33.satoken.stp.StpLogic
-
封禁:指定账号,并指定封禁等级
- disableLevel(Object, int, long) - Static method in class cn.dev33.satoken.stp.StpUtil
-
封禁:指定账号,并指定封禁等级
- disableLevel(Object, String, int, long) - Method in class cn.dev33.satoken.stp.StpLogic
-
封禁:指定账号的指定服务,并指定封禁等级
- disableLevel(Object, String, int, long) - Static method in class cn.dev33.satoken.stp.StpUtil
-
封禁:指定账号的指定服务,并指定封禁等级
- DisableServiceException - Exception in cn.dev33.satoken.exception
-
一个异常:代表指定账号的指定服务已被封禁
- DisableServiceException(String, Object, String, int, int, long) - Constructor for exception cn.dev33.satoken.exception.DisableServiceException
-
一个异常:代表指定账号指定服务已被封禁
- disableTime - Variable in class cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
-
封禁剩余时间,单位:秒(-1=永久封禁,0 or -2=未封禁)
- distUsableToken(Object, SaLoginParameter) - Method in class cn.dev33.satoken.stp.StpLogic
-
为指定账号 id 的登录操作,分配一个可用的 token
- doCloseSafe(String, String, String) - Static method in class cn.dev33.satoken.listener.SaTokenEventCenter
-
事件发布:xx 账号关闭二级认证
- doCloseSafe(String, String, String) - Method in interface cn.dev33.satoken.listener.SaTokenListener
-
每次关闭二级认证时触发
- doCloseSafe(String, String, String) - Method in class cn.dev33.satoken.listener.SaTokenListenerForLog
-
每次关闭二级认证时触发
- doCloseSafe(String, String, String) - Method in class cn.dev33.satoken.listener.SaTokenListenerForSimple
- doCreateSession(String) - Static method in class cn.dev33.satoken.listener.SaTokenEventCenter
-
事件发布:创建了一个新的 SaSession
- doCreateSession(String) - Method in interface cn.dev33.satoken.listener.SaTokenListener
-
每次创建 SaSession 时触发
- doCreateSession(String) - Method in class cn.dev33.satoken.listener.SaTokenListenerForLog
-
每次创建Session时触发
- doCreateSession(String) - Method in class cn.dev33.satoken.listener.SaTokenListenerForSimple
- doDisable(String, Object, String, int, long) - Static method in class cn.dev33.satoken.listener.SaTokenEventCenter
-
事件发布:xx 账号被封禁
- doDisable(String, Object, String, int, long) - Method in interface cn.dev33.satoken.listener.SaTokenListener
-
每次被封禁时触发
- doDisable(String, Object, String, int, long) - Method in class cn.dev33.satoken.listener.SaTokenListenerForLog
-
每次被封禁时触发
- doDisable(String, Object, String, int, long) - Method in class cn.dev33.satoken.listener.SaTokenListenerForSimple
- doKickout(String, Object, String) - Static method in class cn.dev33.satoken.listener.SaTokenEventCenter
-
事件发布:xx 账号被踢下线
- doKickout(String, Object, String) - Method in interface cn.dev33.satoken.listener.SaTokenListener
-
每次被踢下线时触发
- doKickout(String, Object, String) - Method in class cn.dev33.satoken.listener.SaTokenListenerForLog
-
每次被踢下线时触发
- doKickout(String, Object, String) - Method in class cn.dev33.satoken.listener.SaTokenListenerForSimple
- doLogin(String, Object, String, SaLoginParameter) - Static method in class cn.dev33.satoken.listener.SaTokenEventCenter
-
事件发布:xx 账号登录
- doLogin(String, Object, String, SaLoginParameter) - Method in interface cn.dev33.satoken.listener.SaTokenListener
-
每次登录时触发
- doLogin(String, Object, String, SaLoginParameter) - Method in class cn.dev33.satoken.listener.SaTokenListenerForLog
-
每次登录时触发
- doLogin(String, Object, String, SaLoginParameter) - Method in class cn.dev33.satoken.listener.SaTokenListenerForSimple
- doLogout(String, Object, String) - Static method in class cn.dev33.satoken.listener.SaTokenEventCenter
-
事件发布:xx 账号注销
- doLogout(String, Object, String) - Method in interface cn.dev33.satoken.listener.SaTokenListener
-
每次注销时触发
- doLogout(String, Object, String) - Method in class cn.dev33.satoken.listener.SaTokenListenerForLog
-
每次注销时触发
- doLogout(String, Object, String) - Method in class cn.dev33.satoken.listener.SaTokenListenerForSimple
- doLogoutSession(String) - Static method in class cn.dev33.satoken.listener.SaTokenEventCenter
-
事件发布:一个 SaSession 注销了
- doLogoutSession(String) - Method in interface cn.dev33.satoken.listener.SaTokenListener
-
每次注销 SaSession 时触发
- doLogoutSession(String) - Method in class cn.dev33.satoken.listener.SaTokenListenerForLog
-
每次注销Session时触发
- doLogoutSession(String) - Method in class cn.dev33.satoken.listener.SaTokenListenerForSimple
- doOpenSafe(String, String, String, long) - Static method in class cn.dev33.satoken.listener.SaTokenEventCenter
-
事件发布:xx 账号完成二级认证
- doOpenSafe(String, String, String, long) - Method in interface cn.dev33.satoken.listener.SaTokenListener
-
每次打开二级认证时触发
- doOpenSafe(String, String, String, long) - Method in class cn.dev33.satoken.listener.SaTokenListenerForLog
-
每次打开二级认证时触发
- doOpenSafe(String, String, String, long) - Method in class cn.dev33.satoken.listener.SaTokenListenerForSimple
- doRegisterAnnotationHandler(SaAnnotationHandlerInterface<?>) - Static method in class cn.dev33.satoken.listener.SaTokenEventCenter
-
事件发布:有新的注解处理器载入到框架中
- doRegisterAnnotationHandler(SaAnnotationHandlerInterface<?>) - Method in interface cn.dev33.satoken.listener.SaTokenListener
-
注册了自定义注解处理器
- doRegisterAnnotationHandler(SaAnnotationHandlerInterface<?>) - Method in class cn.dev33.satoken.listener.SaTokenListenerForLog
-
注册了自定义注解处理器
- doRegisterComponent(String, Object) - Static method in class cn.dev33.satoken.listener.SaTokenEventCenter
-
事件发布:有新的全局组件载入到框架中
- doRegisterComponent(String, Object) - Method in interface cn.dev33.satoken.listener.SaTokenListener
-
全局组件载入
- doRegisterComponent(String, Object) - Method in class cn.dev33.satoken.listener.SaTokenListenerForLog
-
全局组件载入
- doRenewTimeout(String, Object, String, long) - Static method in class cn.dev33.satoken.listener.SaTokenEventCenter
-
每次 Token 续期时触发(注意:是 timeout 续期,而不是 active-timeout 续期)
- doRenewTimeout(String, Object, String, long) - Method in interface cn.dev33.satoken.listener.SaTokenListener
-
每次 Token 续期时触发(注意:是 timeout 续期,而不是 active-timeout 续期)
- doRenewTimeout(String, Object, String, long) - Method in class cn.dev33.satoken.listener.SaTokenListenerForLog
-
每次 Token 续期时触发
- doRenewTimeout(String, Object, String, long) - Method in class cn.dev33.satoken.listener.SaTokenListenerForSimple
- doReplaced(String, Object, String) - Static method in class cn.dev33.satoken.listener.SaTokenEventCenter
-
事件发布:xx 账号被顶下线
- doReplaced(String, Object, String) - Method in interface cn.dev33.satoken.listener.SaTokenListener
-
每次被顶下线时触发
- doReplaced(String, Object, String) - Method in class cn.dev33.satoken.listener.SaTokenListenerForLog
-
每次被顶下线时触发
- doReplaced(String, Object, String) - Method in class cn.dev33.satoken.listener.SaTokenListenerForSimple
- doSetConfig(SaTokenConfig) - Static method in class cn.dev33.satoken.listener.SaTokenEventCenter
-
事件发布:有新的全局配置载入到框架中
- doSetConfig(SaTokenConfig) - Method in interface cn.dev33.satoken.listener.SaTokenListener
-
载入全局配置
- doSetConfig(SaTokenConfig) - Method in class cn.dev33.satoken.listener.SaTokenListenerForLog
-
载入全局配置
- doSetStpLogic(StpLogic) - Static method in class cn.dev33.satoken.listener.SaTokenEventCenter
-
事件发布:有新的 StpLogic 载入到框架中
- doSetStpLogic(StpLogic) - Method in interface cn.dev33.satoken.listener.SaTokenListener
-
StpLogic 对象替换
- doSetStpLogic(StpLogic) - Method in class cn.dev33.satoken.listener.SaTokenListenerForLog
-
StpLogic 对象替换
- doUntieDisable(String, Object, String) - Static method in class cn.dev33.satoken.listener.SaTokenEventCenter
-
事件发布:xx 账号被解封
- doUntieDisable(String, Object, String) - Method in interface cn.dev33.satoken.listener.SaTokenListener
-
每次被解封时触发
- doUntieDisable(String, Object, String) - Method in class cn.dev33.satoken.listener.SaTokenListenerForLog
-
每次被解封时触发
- doUntieDisable(String, Object, String) - Method in class cn.dev33.satoken.listener.SaTokenListenerForSimple
E
- empty() - Static method in class cn.dev33.satoken.util.SaResult
- EMPTY_JSON - Static variable in class cn.dev33.satoken.util.StrFormatter
-
Deprecated.语义不明确,建议内部使用
DEFAULT_PLACEHOLDER替代 - emptyList() - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
返回一个空集合
- encode(String) - Static method in class cn.dev33.satoken.secure.SaBase32Util
-
Base32 编码(String 转 String)
- encode(String) - Static method in class cn.dev33.satoken.secure.SaBase64Util
-
Base64编码,String 转 String
- encodeBytesToString(byte[]) - Static method in class cn.dev33.satoken.secure.SaBase32Util
-
Base32 编码(byte[] 转 String)
- encodeBytesToString(byte[]) - Static method in class cn.dev33.satoken.secure.SaBase64Util
-
Base64编码,byte[] 转 String
- encodeUrl(String) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
URL编码
- endRefreshThread() - Method in class cn.dev33.satoken.dao.timedcache.SaTimedCache
-
结束定时任务
- endSwitch() - Method in class cn.dev33.satoken.stp.StpLogic
-
结束临时切换身份
- endSwitch() - Static method in class cn.dev33.satoken.stp.StpUtil
-
结束临时切换身份
- equals(Object, Object) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
比较两个对象是否相等
- error - Static variable in class cn.dev33.satoken.log.SaLogForConsole
- error() - Static method in class cn.dev33.satoken.util.SaResult
- error(String) - Static method in class cn.dev33.satoken.util.SaResult
- error(String, Object...) - Method in interface cn.dev33.satoken.log.SaLog
-
输出 error 日志
- error(String, Object...) - Method in class cn.dev33.satoken.log.SaLogForConsole
- ERROR_COLOR - Static variable in class cn.dev33.satoken.log.SaLogForConsole
- ERROR_MESSAGE - Static variable in class cn.dev33.satoken.context.SaTokenContextDefaultImpl
-
错误提示语
- ERROR_MESSAGE - Static variable in class cn.dev33.satoken.http.SaHttpTemplateDefaultImpl
- ERROR_MESSAGE - Static variable in class cn.dev33.satoken.json.SaJsonTemplateDefaultImpl
- ERROR_PREFIX - Static variable in class cn.dev33.satoken.log.SaLogForConsole
- exe(SaFunction) - Method in class cn.dev33.satoken.fun.IsRunFunction
-
当 isRun == true 时执行此函数
- exe(SaFunction) - Static method in class cn.dev33.satoken.util.SaSugar
-
执行一个 Lambda 表达式
方便组织代码,例如: - execute(SaRequest, SaResponse, SaStorage) - Method in interface cn.dev33.satoken.fun.strategy.SaCorsHandleFunction
-
CORS 策略处理函数
- execute(SaRequest, SaResponse, Object) - Method in interface cn.dev33.satoken.fun.strategy.SaFirewallCheckFunction
-
执行函数
- execute(SaRequest, SaResponse, Object) - Method in interface cn.dev33.satoken.strategy.hooks.SaFirewallCheckHook
-
执行的方法
- execute(SaRequest, SaResponse, Object) - Method in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForBlackPath
-
执行的方法
- execute(SaRequest, SaResponse, Object) - Method in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForDirectoryTraversal
-
执行的方法
- execute(SaRequest, SaResponse, Object) - Method in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHeader
-
执行的方法
- execute(SaRequest, SaResponse, Object) - Method in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHost
-
执行的方法
- execute(SaRequest, SaResponse, Object) - Method in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHttpMethod
-
执行的方法
- execute(SaRequest, SaResponse, Object) - Method in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForParameter
-
执行的方法
- execute(SaRequest, SaResponse, Object) - Method in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForPathBannedCharacter
-
执行的方法
- execute(SaRequest, SaResponse, Object) - Method in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForPathDangerCharacter
-
执行的方法
- execute(SaRequest, SaResponse, Object) - Method in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForWhitePath
-
执行的方法
- execute(SaTokenPlugin) - Method in interface cn.dev33.satoken.fun.hooks.SaTokenPluginHookFunction
-
执行的方法
- execute(String, int, Supplier<String>, Function<String, Boolean>) - Method in interface cn.dev33.satoken.fun.strategy.SaGenerateUniqueTokenFunction
-
封装 token 生成、校验的代码,生成唯一式 token
- executeFunction - Variable in class cn.dev33.satoken.plugin.SaTokenPluginHookModel
-
执行的方法
- expireMap - Variable in class cn.dev33.satoken.dao.timedcache.SaTimedCache
-
存储数据过期时间的集合(单位: 毫秒), 记录所有 key 的到期时间 (注意存储的是到期时间,不是剩余存活时间)
- expireTimeToTtl(long) - Method in interface cn.dev33.satoken.util.SaTtlMethods
-
过期时间 (13位时间戳) 转 (13位时间戳) ttl (秒)
F
- fatal - Static variable in class cn.dev33.satoken.log.SaLogForConsole
- fatal(String, Object...) - Method in interface cn.dev33.satoken.log.SaLog
-
输出 fatal 日志
- fatal(String, Object...) - Method in class cn.dev33.satoken.log.SaLogForConsole
- FATAL_COLOR - Static variable in class cn.dev33.satoken.log.SaLogForConsole
- FATAL_PREFIX - Static variable in class cn.dev33.satoken.log.SaLogForConsole
- FIREWALL_CHECK_FILTER_ORDER - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
防火墙校验过滤器的注册顺序
- FirewallCheckException - Exception in cn.dev33.satoken.exception
-
一个异常:代表防火墙检验未通过
- FirewallCheckException(String) - Constructor for exception cn.dev33.satoken.exception.FirewallCheckException
- FirewallCheckException(String, Throwable) - Constructor for exception cn.dev33.satoken.exception.FirewallCheckException
- FirewallCheckException(Throwable) - Constructor for exception cn.dev33.satoken.exception.FirewallCheckException
- forEachTerminalList(SaTwoParamFunction<SaSession, SaTerminalInfo>) - Method in class cn.dev33.satoken.session.SaSession
-
遍历 terminalList 列表,执行特定函数
- forEachTerminalList(Object, SaTwoParamFunction<SaSession, SaTerminalInfo>) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定账号 id 已登录设备信息集合,执行特定函数
- forEachTerminalList(Object, SaTwoParamFunction<SaSession, SaTerminalInfo>) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取指定账号 id 已登录设备信息集合,执行特定函数
- format(String, Object...) - Static method in class 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) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
指定毫秒后的时间(格式化 :yyyy-MM-dd HH:mm:ss)
- formatDate(ZonedDateTime) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
将日期格式化 (yyyy-MM-dd HH:mm:ss)
- formatDate(Date) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
将日期格式化 (yyyy-MM-dd HH:mm:ss)
- formatWith(String, String, Object...) - Static method in class 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) - Method in class cn.dev33.satoken.context.mock.SaRequestForMock
-
转发请求
- forward(String) - Method in interface cn.dev33.satoken.context.model.SaRequest
-
转发请求
- forwardTo - Variable in class cn.dev33.satoken.context.mock.SaRequestForMock
- free(SaParamFunction<SaRouterStaff>) - Method in class cn.dev33.satoken.router.SaRouterStaff
-
自由匹配 ( 在free作用域里执行stop()不会跳出Auth函数,而是仅仅跳出free代码块 )
G
- generateGoogleSecretKey(String) - Method in class cn.dev33.satoken.secure.totp.SaTotpTemplate
-
生成谷歌认证器的扫码字符串 (形如:otpauth://totp/{account}?
- generateGoogleSecretKey(String) - Static method in class cn.dev33.satoken.secure.totp.SaTotpUtil
-
生成谷歌认证器的扫码字符串 (形如:otpauth://totp/{account}?
- generateGoogleSecretKey(String, String) - Method in class cn.dev33.satoken.secure.totp.SaTotpTemplate
-
生成谷歌认证器的扫码字符串 (形如:otpauth://totp/{account}?
- generateGoogleSecretKey(String, String) - Static method in class cn.dev33.satoken.secure.totp.SaTotpUtil
-
生成谷歌认证器的扫码字符串 (形如:otpauth://totp/{account}?
- generateGoogleSecretKey(String, String, String) - Method in class cn.dev33.satoken.secure.totp.SaTotpTemplate
-
生成谷歌认证器的扫码字符串 (形如:otpauth://totp/{issuer}:{account}?
- generateGoogleSecretKey(String, String, String) - Static method in class cn.dev33.satoken.secure.totp.SaTotpUtil
-
生成谷歌认证器的扫码字符串 (形如:otpauth://totp/{issuer}:{account}?
- generateSecretKey() - Method in class cn.dev33.satoken.secure.totp.SaTotpTemplate
-
生成随机密钥(Base32编码)
- generateSecretKey() - Static method in class cn.dev33.satoken.secure.totp.SaTotpUtil
-
生成随机密钥(Base32编码)
- generateTOTP(String) - Static method in class cn.dev33.satoken.secure.totp.SaTotpUtil
-
生成当前时间的TOTP验证码
- generateUniqueToken - Variable in class cn.dev33.satoken.strategy.SaStrategy
-
生成唯一式 token 的算法
- gensalt() - Static method in class cn.dev33.satoken.secure.BCrypt
-
Deprecated.生成盐
- gensalt(int) - Static method in class cn.dev33.satoken.secure.BCrypt
-
Deprecated.生成盐
- gensalt(int, SecureRandom) - Static method in class cn.dev33.satoken.secure.BCrypt
-
Deprecated.生成盐
- get(int, String, Object) - Static method in class cn.dev33.satoken.util.SaResult
- get(String) - Method in class cn.dev33.satoken.application.SaApplication
-
取值
- get(String) - Method in interface cn.dev33.satoken.application.SaGetValueInterface
-
取值
- get(String) - Method in class cn.dev33.satoken.context.mock.SaStorageForMock
-
在 [Request作用域] 里获取一个值
- get(String) - Method in interface cn.dev33.satoken.context.model.SaStorage
-
取值
- get(String) - Method in interface cn.dev33.satoken.dao.auto.SaTokenDaoByStringFollowObject
- get(String) - Method in interface cn.dev33.satoken.dao.SaTokenDao
-
获取 value,如无返空
- get(String) - Method in interface cn.dev33.satoken.dao.timedcache.SaMapPackage
-
读
- get(String) - Method in class cn.dev33.satoken.dao.timedcache.SaMapPackageForConcurrentHashMap
- get(String) - Method in interface cn.dev33.satoken.http.SaHttpTemplate
-
get 请求
- get(String) - Method in class cn.dev33.satoken.http.SaHttpTemplateDefaultImpl
-
get 请求
- get(String) - Static method in class cn.dev33.satoken.http.SaHttpUtil
-
get 请求
- get(String) - Method in class cn.dev33.satoken.session.SaSession
-
取值
- get(String, SaRetGenericFunction<T>) - Method in interface cn.dev33.satoken.application.SaSetValueInterface
-
取值 (如果值为 null,则执行 fun 函数获取值,并把函数返回值写入缓存)
- get(String, Class<T>) - Method in class cn.dev33.satoken.util.SaResult
-
获取一个值 根据自定义key
- get(String, T) - Method in interface cn.dev33.satoken.application.SaGetValueInterface
-
取值 (指定默认值)
- get(Supplier<R>) - Static method in class cn.dev33.satoken.util.SaSugar
-
执行一个 Lambda 表达式,返回这个 Lambda 表达式的结果值,
方便组织代码,例如: - GET - Enum constant in enum class cn.dev33.satoken.router.SaHttpMethod
- getActiveTimeout() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getActiveTimeout() - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- getActivityTimeout() - Method in class cn.dev33.satoken.config.SaTokenConfig
-
Deprecated.
- getAnnotation - Variable in class cn.dev33.satoken.strategy.SaAnnotationStrategy
-
从元素上获取注解
- getAnonTokenSession() - Method in class cn.dev33.satoken.stp.StpLogic
-
获取当前匿名 Token-Session (可在未登录情况下使用的Token-Session)
- getAnonTokenSession() - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取当前匿名 Token-Session (可在未登录情况下使用的Token-Session)
- getAnonTokenSession(boolean) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取当前匿名 Token-Session (可在未登录情况下使用的 Token-Session)
- getApplication() - Static method in class cn.dev33.satoken.context.SaHolder
-
获取全局 SaApplication 对象
- getAuthorizationValue() - Method in class cn.dev33.satoken.httpauth.basic.SaHttpBasicTemplate
-
获取浏览器提交的 Http Basic 参数 (裁剪掉前缀并解码)
- getAuthorizationValue() - Static method in class cn.dev33.satoken.httpauth.basic.SaHttpBasicUtil
-
获取浏览器提交的 Http Basic 参数 (裁剪掉前缀并解码)
- getAuthorizationValue() - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestTemplate
-
获取浏览器提交的 Digest 参数 (裁剪掉前缀)
- getAuthorizationValue() - Static method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestUtil
-
获取浏览器提交的 Digest 参数 (裁剪掉前缀)
- getAuthorizationValueToModel() - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestTemplate
-
获取浏览器提交的 Digest 参数,并转化为 Map
- getAuthorizationValueToModel() - Static method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestUtil
-
获取浏览器提交的 Digest 参数,并转化为 Map
- getAutoRenew() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getBasic() - Method in class cn.dev33.satoken.config.SaTokenConfig
-
Deprecated.
- getCheckSameToken() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getCnonce() - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
获取 客户端随机数,由客户端提供
- getCode() - Method in exception cn.dev33.satoken.exception.SaTokenException
-
获取异常细分状态码
- getCode() - Method in class cn.dev33.satoken.util.SaResult
-
获取code
- getConfig() - Static method in class cn.dev33.satoken.SaManager
-
获取 Sa-Token 的全局配置信息
- getConfig() - Method in class cn.dev33.satoken.stp.StpLogic
-
返回当前 StpLogic 使用的配置对象,如果当前 StpLogic 没有配置,则返回 null
- getConfigOfCookieTimeout() - Method in class cn.dev33.satoken.stp.StpLogic
-
返回全局配置的 Cookie 保存时长,单位:秒 (根据全局 timeout 计算)
- getConfigOfMaxTryTimes(SaLoginParameter) - Method in class cn.dev33.satoken.stp.StpLogic
-
返回全局配置的 maxTryTimes 值,在每次创建 token 时,对其唯一性测试的最高次数(-1=不测试)
- getConfigOrGlobal() - Method in class cn.dev33.satoken.stp.StpLogic
-
返回当前 StpLogic 使用的配置对象,如果当前 StpLogic 没有配置,则返回全局配置对象
- getContext() - Static method in class cn.dev33.satoken.context.SaHolder
-
获取当前请求的 SaTokenContext 上下文对象
- getCookie() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getCookie() - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- getCookieAutoFillPrefix() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getCookieFirstValue(String) - Method in class cn.dev33.satoken.context.mock.SaRequestForMock
-
在 [ Cookie作用域 ] 里获取一个值 (第一个此名称的)
- getCookieFirstValue(String) - Method in interface cn.dev33.satoken.context.model.SaRequest
-
在 [ Cookie作用域 ] 里获取一个值 (第一个此名称的)
- getCookieLastValue(String) - Method in class cn.dev33.satoken.context.mock.SaRequestForMock
-
在 [ Cookie作用域 ] 里获取一个值 (最后一个此名称的)
- getCookieLastValue(String) - Method in interface cn.dev33.satoken.context.model.SaRequest
-
在 [ Cookie作用域 ] 里获取一个值 (最后一个此名称的)
- getCookieTimeout() - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
计算 Cookie 时长
- getCookieValue(String) - Method in class cn.dev33.satoken.context.mock.SaRequestForMock
-
在 [Cookie作用域] 里获取一个值
- getCookieValue(String) - Method in interface cn.dev33.satoken.context.model.SaRequest
-
在 [ Cookie作用域 ] 里获取一个值
- getCreateTime() - Method in class cn.dev33.satoken.session.SaSession
-
返回:当前 SaSession 的创建时间(13位时间戳)
- getCreateTime() - Method in class cn.dev33.satoken.session.SaTerminalInfo
-
获取 创建时间
- getCurrDomain() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getData() - Method in class cn.dev33.satoken.util.SaResult
-
获取data
- getDataMap() - Method in class cn.dev33.satoken.session.SaSession
-
获取数据挂载集合(如果更新map里的值,请调用 session.update() 方法避免产生脏数据 )
- getDataRefreshPeriod() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getDevice() - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
Deprecated.
- getDeviceId() - Method in class cn.dev33.satoken.session.SaTerminalInfo
-
获取 登录设备唯一标识
- getDeviceId() - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
获取 此次登录的客户端设备id
- getDeviceId() - Method in class cn.dev33.satoken.stp.parameter.SaLogoutParameter
-
需要注销的设备ID (为 null 代表不限制,为具体值代表只注销此设备 ID 的会话)
(此参数只在调用 StpUtil.logout(id, parame) 时有效) - getDeviceType() - Method in class cn.dev33.satoken.session.SaTerminalInfo
- getDeviceType() - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- getDeviceType() - Method in class cn.dev33.satoken.stp.parameter.SaLogoutParameter
-
需要注销的设备类型 (为 null 代表不限制,为具体值代表只注销此设备类型的会话)
(此参数只在调用 StpUtil.logout(id, parame) 时有效) - getDisableLevel() - Method in class cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
- getDisableLevel(Object) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取:指定账号被封禁的等级,如果未被封禁则返回-2
- getDisableLevel(Object) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取:指定账号被封禁的等级,如果未被封禁则返回-2
- getDisableLevel(Object, String) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取:指定账号的 指定服务 被封禁的等级,如果未被封禁则返回-2
- getDisableLevel(Object, String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取:指定账号的 指定服务 被封禁的等级,如果未被封禁则返回-2
- getDisableTime() - Method in exception cn.dev33.satoken.exception.DisableServiceException
-
获取: 封禁剩余时间,单位:秒
- getDisableTime() - Method in class cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
- getDisableTime(Object) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取:指定账号剩余封禁时间,单位:秒(-1=永久封禁,-2=未被封禁)
- getDisableTime(Object) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取:指定账号剩余封禁时间,单位:秒(-1=永久封禁,-2=未被封禁)
- getDisableTime(Object, String) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取:指定账号 指定服务 剩余封禁时间,单位:秒(-1=永久封禁,-2=未被封禁)
- getDisableTime(Object, String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取:指定账号 指定服务 剩余封禁时间,单位:秒(-1=永久封禁,-2=未被封禁)
- getDomain() - Method in class cn.dev33.satoken.config.SaCookieConfig
-
获取:Cookie 作用域
- getDomain() - Method in class cn.dev33.satoken.context.model.SaCookie
- getDouble(String) - Method in interface cn.dev33.satoken.application.SaGetValueInterface
-
取值 (转double类型)
- getDynamicActiveTimeout() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getExtra(String) - Method in class cn.dev33.satoken.session.SaTerminalInfo
-
此次登录的自定义扩展数据
- getExtra(String) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
获取扩展数据(只在jwt模式下生效)
- getExtra(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取当前 Token 的扩展信息(此函数只在jwt模式下生效)
- getExtra(String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取当前 Token 的扩展信息(此函数只在jwt模式下生效)
- getExtra(String, String) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定 Token 的扩展信息(此函数只在jwt模式下生效)
- getExtra(String, String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取指定 Token 的扩展信息(此函数只在jwt模式下生效)
- getExtraAttrs() - Method in class cn.dev33.satoken.config.SaCookieConfig
- getExtraAttrs() - Method in class cn.dev33.satoken.context.model.SaCookie
- getExtraData() - Method in class cn.dev33.satoken.session.SaTerminalInfo
-
获取 此客户端登录的挂载数据
- getExtraData() - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- getFloat(String) - Method in interface cn.dev33.satoken.application.SaGetValueInterface
-
取值 (转float类型)
- getHandlerAnnotationClass() - Method in interface cn.dev33.satoken.annotation.handler.SaAnnotationHandlerInterface
-
获取所要处理的注解类型
- getHandlerAnnotationClass() - Method in class cn.dev33.satoken.annotation.handler.SaCheckDisableHandler
- getHandlerAnnotationClass() - Method in class cn.dev33.satoken.annotation.handler.SaCheckHttpBasicHandler
- getHandlerAnnotationClass() - Method in class cn.dev33.satoken.annotation.handler.SaCheckHttpDigestHandler
- getHandlerAnnotationClass() - Method in class cn.dev33.satoken.annotation.handler.SaCheckLoginHandler
- getHandlerAnnotationClass() - Method in class cn.dev33.satoken.annotation.handler.SaCheckOrHandler
- getHandlerAnnotationClass() - Method in class cn.dev33.satoken.annotation.handler.SaCheckPermissionHandler
- getHandlerAnnotationClass() - Method in class cn.dev33.satoken.annotation.handler.SaCheckRoleHandler
- getHandlerAnnotationClass() - Method in class cn.dev33.satoken.annotation.handler.SaCheckSafeHandler
- getHandlerAnnotationClass() - Method in class cn.dev33.satoken.annotation.handler.SaIgnoreHandler
- getHeader(String) - Method in class cn.dev33.satoken.context.mock.SaRequestForMock
-
在 [请求头] 里获取一个值
- getHeader(String) - Method in interface cn.dev33.satoken.context.model.SaRequest
-
在 [ 请求头 ] 里获取一个值
- getHeader(String, String) - Method in interface cn.dev33.satoken.context.model.SaRequest
-
在 [ 请求头 ] 里获取一个值
- getHistoryTerminalCount() - Method in class cn.dev33.satoken.session.SaSession
-
获取 当前账号历史总计登录设备数量 (当此 SaSession 属于 Account-Session 时,此值有效)
- getHost() - Method in class cn.dev33.satoken.context.mock.SaRequestForMock
-
查询请求 host
- getHost() - Method in interface cn.dev33.satoken.context.model.SaRequest
-
查询请求 host
- getHttpBasic() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getHttpBasicAccount() - Method in class cn.dev33.satoken.httpauth.basic.SaHttpBasicTemplate
-
获取 Http Basic 账号密码对象
- getHttpBasicAccount() - Static method in class cn.dev33.satoken.httpauth.basic.SaHttpBasicUtil
-
获取 Http Basic 账号密码对象
- getHttpDigest() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getHttpOnly() - Method in class cn.dev33.satoken.config.SaCookieConfig
- getHttpOnly() - Method in class cn.dev33.satoken.context.model.SaCookie
- getId() - Method in class cn.dev33.satoken.session.SaSession
-
获取:此 SaSession 的 id
- getIndex() - Method in class cn.dev33.satoken.session.SaTerminalInfo
-
获取 登录会话索引值 (该账号第几个登录的设备)
- getInt(String) - Method in interface cn.dev33.satoken.application.SaGetValueInterface
-
取值 (转int类型)
- getIsColorLog() - Method in class cn.dev33.satoken.config.SaTokenConfig
-
获取:是否打印彩色日志
- getIsConcurrent() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getIsConcurrent() - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- getIsDisable() - Method in class cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
- getIsKeepFreezeOps() - Method in class cn.dev33.satoken.stp.parameter.SaLogoutParameter
-
获取 如果 token 已被冻结,是否保留其操作权 (是否允许此 token 调用注销API)
(此参数只在调用 StpUtil. - getIsKeepTokenSession() - Method in class cn.dev33.satoken.stp.parameter.SaLogoutParameter
- getIsLastingCookie() - Method in class cn.dev33.satoken.config.SaTokenConfig
-
获取 是否为持久Cookie(临时Cookie在浏览器关闭时会自动删除,持久Cookie在重新打开后依然存在)
- getIsLastingCookie() - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- getIsLog() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getIsLogin() - Method in class cn.dev33.satoken.stp.SaTokenInfo
- getIsLogoutKeepFreezeOps() - Method in class cn.dev33.satoken.config.SaTokenConfig
-
获取 如果 token 已被冻结,是否保留其操作权 (是否允许此 token 调用注销API)
(此参数只在调用 StpUtil. - getIsLogoutKeepTokenSession() - Method in class cn.dev33.satoken.config.SaTokenConfig
-
获取 在注销 token 后,是否保留其对应的 Token-Session
- getIsPrint() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getIsReadBody() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getIsReadCookie() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getIsReadHeader() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getIsShare() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getIsShare() - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- getIsWriteHeader() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getIsWriteHeader() - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- getJwtSecretKey() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getJwtSecretKey() - Method in class cn.dev33.satoken.temp.SaTempTemplate
- getLevel() - Method in exception cn.dev33.satoken.exception.DisableServiceException
-
获取: 被封禁的等级
- getLimitLevel() - Method in exception cn.dev33.satoken.exception.DisableServiceException
-
获取: 校验时要求低于的等级
- getListenerList() - Static method in class cn.dev33.satoken.listener.SaTokenEventCenter
-
获取已注册的所有侦听器
- getLog() - Static method in class cn.dev33.satoken.SaManager
- getLoginDevice() - Method in class cn.dev33.satoken.stp.StpLogic
-
Deprecated.
- getLoginDevice() - Static method in class cn.dev33.satoken.stp.StpUtil
-
Deprecated.
- getLoginDeviceByToken(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
Deprecated.
- getLoginDeviceByToken(String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
Deprecated.
- getLoginDeviceId() - Method in class cn.dev33.satoken.stp.StpLogic
-
返回当前会话的登录设备 ID
- getLoginDeviceId() - Static method in class cn.dev33.satoken.stp.StpUtil
-
返回当前会话的登录设备 ID
- getLoginDeviceIdByToken(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
返回指定 token 会话的登录设备 ID
- getLoginDeviceIdByToken(String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
返回指定 token 会话的登录设备 ID
- getLoginDeviceType() - Method in class cn.dev33.satoken.stp.SaTokenInfo
- getLoginDeviceType() - Method in class cn.dev33.satoken.stp.StpLogic
-
返回当前会话的登录设备类型
- getLoginDeviceType() - Static method in class cn.dev33.satoken.stp.StpUtil
-
返回当前会话的登录设备类型
- getLoginDeviceTypeByToken(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
返回指定 token 会话的登录设备类型
- getLoginDeviceTypeByToken(String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
返回指定 token 会话的登录设备类型
- getLoginId() - Method in exception cn.dev33.satoken.exception.DisableServiceException
-
获取: 被封禁的账号id
- getLoginId() - Method in class cn.dev33.satoken.session.SaSession
-
获取:所属 loginId (当此 SaSession 属于 Account-Session 时,此值有效)
- getLoginId() - Method in class cn.dev33.satoken.stp.SaTokenInfo
- getLoginId() - Method in class cn.dev33.satoken.stp.StpLogic
-
获取当前会话账号id,如果未登录,则抛出异常
- getLoginId() - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取当前会话账号id,如果未登录,则抛出异常
- getLoginId(T) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取当前会话账号id, 如果未登录,则返回默认值
- getLoginId(T) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取当前会话账号id, 如果未登录,则返回默认值
- getLoginIdAsInt() - Method in class cn.dev33.satoken.stp.StpLogic
-
获取当前会话账号id, 并转换为 int 类型
- getLoginIdAsInt() - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取当前会话账号id, 并转换为 int 类型
- getLoginIdAsLong() - Method in class cn.dev33.satoken.stp.StpLogic
-
获取当前会话账号id, 并转换为 long 类型
- getLoginIdAsLong() - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取当前会话账号id, 并转换为 long 类型
- getLoginIdAsString() - Method in class cn.dev33.satoken.stp.StpLogic
-
获取当前会话账号id, 并转换为 String 类型
- getLoginIdAsString() - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取当前会话账号id, 并转换为 String 类型
- getLoginIdByToken(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定 token 对应的账号id,如果 token 无效或 token 处于被踢、被顶、被冻结等状态,则返回 null
- getLoginIdByToken(String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取指定 token 对应的账号id,如果 token 无效或 token 处于被踢、被顶、被冻结等状态,则返回 null
- getLoginIdByTokenNotThinkFreeze(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定 token 对应的账号id,如果 token 无效或 token 处于被踢、被顶等状态 (不考虑被冻结),则返回 null
- getLoginIdByTokenNotThinkFreeze(String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取指定 token 对应的账号id,如果 token 无效或 token 处于被踢、被顶等状态 (不考虑被冻结),则返回 null
- getLoginIdDefaultNull() - Method in class cn.dev33.satoken.stp.StpLogic
-
获取当前会话账号id, 如果未登录,则返回null
- getLoginIdDefaultNull() - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取当前会话账号id, 如果未登录,则返回null
- getLoginIdNotHandle(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定 token 对应的账号id (不做任何特殊处理)
- getLoginType() - Method in exception cn.dev33.satoken.exception.DisableServiceException
-
获取:账号类型
- getLoginType() - Method in exception cn.dev33.satoken.exception.NotLoginException
-
获得账号类型
- getLoginType() - Method in exception cn.dev33.satoken.exception.NotPermissionException
-
获得账号类型
- getLoginType() - Method in exception cn.dev33.satoken.exception.NotRoleException
-
获得账号类型
- getLoginType() - Method in exception cn.dev33.satoken.exception.NotSafeException
-
获取:账号类型
- getLoginType() - Method in class cn.dev33.satoken.session.SaSession
-
获取:所属 loginType
- getLoginType() - Method in class cn.dev33.satoken.stp.SaTokenInfo
- getLoginType() - Method in class cn.dev33.satoken.stp.StpLogic
-
获取当前 StpLogic 账号类型标识
- getLoginType() - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取当前 StpLogic 的账号类型
- getLogLevel() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getLogLevelInt() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getLogoutRange() - Method in class cn.dev33.satoken.config.SaTokenConfig
-
获取 注销范围 (TOKEN=只注销当前 token 的会话,ACCOUNT=注销当前 token 指向的 loginId 其所有客户端会话)
(此参数只在调用 StpUtil.logout() 时有效) - getLong(String) - Method in interface cn.dev33.satoken.application.SaGetValueInterface
-
取值 (转long类型)
- getMarking28() - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
以当前时间戳和随机int数字拼接一个随机字符串
- getMaxAge() - Method in class cn.dev33.satoken.context.model.SaCookie
- getMaxLoginCount() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getMaxLoginCount() - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- getMaxTryTimes() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getMaxTryTimes() - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- getMaxTtl(ArrayList<Long>) - Method in interface cn.dev33.satoken.util.SaTtlMethods
-
获取最大 ttl 值
- getMaxTtlByExpireTime(Collection<Long>) - Method in interface cn.dev33.satoken.util.SaTtlMethods
-
获取最大 ttl 值:过期时间 (13位时间戳) 转 ttl (秒)
- getMethod() - Method in class cn.dev33.satoken.context.mock.SaRequestForMock
-
返回当前请求的类型
- getMethod() - Method in interface cn.dev33.satoken.context.model.SaRequest
-
返回当前请求的类型
- getMethod() - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
获取 请求方法
- getMode() - Method in class cn.dev33.satoken.stp.parameter.SaLogoutParameter
-
注销类型 (LOGOUT=注销下线、KICKOUT=踢人下线,REPLACED=顶人下线)
- getModel(String, Class<T>) - Method in interface cn.dev33.satoken.application.SaGetValueInterface
-
取值 (指定转换类型)
- getModel(String, Class<T>, Object) - Method in interface cn.dev33.satoken.application.SaGetValueInterface
-
取值 (指定转换类型, 并指定值为 null 时返回的默认值)
- getModelBox() - Method in interface cn.dev33.satoken.context.SaTokenContext
-
获取 Box 对象
- getModelBox() - Method in class cn.dev33.satoken.context.SaTokenContextDefaultImpl
- getModelBox() - Method in interface cn.dev33.satoken.context.SaTokenContextForReadOnly
- getModelBox() - Method in class cn.dev33.satoken.context.SaTokenContextForThreadLocal
- getModelBox() - Static method in class cn.dev33.satoken.context.SaTokenContextForThreadLocalStaff
-
获取当前线程的 [ Box 存储器 ], 如果为空则抛出异常
- getModelBoxOrNull() - Static method in class cn.dev33.satoken.context.SaTokenContextForThreadLocalStaff
-
获取当前线程的 [ Box 存储器 ]
- getMsg() - Method in class cn.dev33.satoken.util.SaResult
-
获取msg
- getName() - Method in class cn.dev33.satoken.context.model.SaCookie
- getNc() - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
获取 nonce计数器,是一个16进制的数值,表示同一nonce下客户端发送出请求的数量
- getNonce() - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
获取 随机数
- getObject(String) - Method in interface cn.dev33.satoken.dao.auto.SaTokenDaoByObjectFollowString
-
获取 Object,如无返空
- getObject(String) - Method in interface cn.dev33.satoken.dao.SaTokenDao
-
获取 Object,如无返空
- getObject(String) - Method in class cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
- getObject(String) - Method in class cn.dev33.satoken.dao.timedcache.SaTimedCache
- getObject(String, Class<T>) - Method in interface cn.dev33.satoken.dao.auto.SaTokenDaoByObjectFollowString
-
获取 Object (指定反序列化类型),如无返空
- getObject(String, Class<T>) - Method in interface cn.dev33.satoken.dao.SaTokenDao
-
获取 Object (指定反序列化类型),如无返空
- getObject(String, Class<T>) - Method in class cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
- getObjectTimeout(String) - Method in interface cn.dev33.satoken.dao.auto.SaTokenDaoByObjectFollowString
-
获取 Object 的剩余存活时间 (单位: 秒)
- getObjectTimeout(String) - Method in interface cn.dev33.satoken.dao.SaTokenDao
-
获取 Object 的剩余存活时间 (单位: 秒)
- getObjectTimeout(String) - Method in class cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
- getObjectTimeout(String) - Method in class cn.dev33.satoken.dao.timedcache.SaTimedCache
- getOpaque() - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
获取 opaque
- getOrCreateLoginSession(Object) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定账号 id 的登录会话数据,如果获取不到则创建并返回
- getOrCreateLoginSession(Object) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取指定账号 id 的登录会话数据,如果获取不到则创建并返回
- getOverflowLogoutMode() - Method in class cn.dev33.satoken.config.SaTokenConfig
-
获取 溢出 maxLoginCount 的客户端,将以何种方式注销下线 (LOGOUT=注销下线, KICKOUT=踢人下线, REPLACED=顶人下线)
- getOverflowLogoutMode() - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
获取 溢出 maxLoginCount 的客户端,将以何种方式注销下线 (LOGOUT=注销下线, KICKOUT=踢人下线, REPLACED=顶人下线)
- getParam(String) - Method in class cn.dev33.satoken.context.mock.SaRequestForMock
-
在 [请求体] 里获取一个值
- getParam(String) - Method in interface cn.dev33.satoken.context.model.SaRequest
-
在 [ 请求体 ] 里获取一个参数值
- getParam(String, String) - Method in interface cn.dev33.satoken.context.model.SaRequest
-
在 [ 请求体 ] 里获取一个参数值,值为空时返回默认值
- getParamMap() - Method in class cn.dev33.satoken.context.mock.SaRequestForMock
-
获取 [请求体] 里提交的所有参数
- getParamMap() - Method in interface cn.dev33.satoken.context.model.SaRequest
-
获取 [ 请求体 ] 里提交的所有参数
- getParamNames() - Method in class cn.dev33.satoken.context.mock.SaRequestForMock
-
获取 [请求体] 里提交的所有参数名称
- getParamNames() - Method in interface cn.dev33.satoken.context.model.SaRequest
-
获取 [ 请求体 ] 里提交的所有参数名称
- getParamNotNull(String) - Method in interface cn.dev33.satoken.context.model.SaRequest
-
在 [ 请求体 ] 里获取一个值 (此值必须存在,否则抛出异常 )
- getPassword() - Method in class cn.dev33.satoken.httpauth.basic.SaHttpBasicAccount
-
获取 密码
- getPassword() - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
获取 密码
- getPastTokenNh() - Method in class cn.dev33.satoken.same.SaSameTemplate
-
获取 Past-Same-Token,不做任何处理
- getPastTokenNh() - Static method in class cn.dev33.satoken.same.SaSameUtil
-
获取 Past-Same-Token,不做任何处理
- getPath() - Method in class cn.dev33.satoken.config.SaCookieConfig
- getPath() - Method in class cn.dev33.satoken.context.model.SaCookie
- getPath() - Method in exception cn.dev33.satoken.exception.RequestPathInvalidException
- getPermission() - Method in exception cn.dev33.satoken.exception.NotPermissionException
- getPermissionList() - Method in class cn.dev33.satoken.stp.StpLogic
-
获取:当前账号的权限码集合
- getPermissionList() - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取:当前账号的权限码集合
- getPermissionList(Object) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取:指定账号的权限码集合
- getPermissionList(Object) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取:指定账号的权限码集合
- getPermissionList(Object, String) - Method in interface cn.dev33.satoken.stp.StpInterface
-
返回指定账号id所拥有的权限码集合
- getPermissionList(Object, String) - Method in class cn.dev33.satoken.stp.StpInterfaceDefaultImpl
- getPlugin(Class<T>) - Method in class cn.dev33.satoken.plugin.SaTokenPluginHolder
-
获取指定类型的插件
- getPluginListCopy() - Method in class cn.dev33.satoken.plugin.SaTokenPluginHolder
-
获取插件集合副本 (拷贝插件集合,而非每个插件实例)
- getQop() - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
获取 保护质量(auth=默认的,auth-int=增加报文完整性检测),可以为空,但不推荐
- getRandomNumber(int, int) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
生成指定区间的 int 值
- getRandomString(int) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
生成指定长度的随机字符串
- getRange() - Method in class cn.dev33.satoken.stp.parameter.SaLogoutParameter
-
注销范围 (TOKEN=只注销当前 token 的会话,ACCOUNT=注销当前 token 指向的 loginId 其所有客户端会话)
(此参数只在调用 StpUtil.logout(param) 时有效) - getRealm() - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
获取 领域
- getReplacedLoginExitMode() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getReplacedLoginExitMode() - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
获取:在 isConcurrent=false 时,决定新旧设备谁将放弃会话 (OLD_DEVICE=旧设备下线,新设备登录成功, NEW_DEVICE=新设备登录失败,旧设备维持在线)
- getReplacedRange() - Method in class cn.dev33.satoken.config.SaTokenConfig
-
获取 当 isConcurrent=false 时,顶人下线的范围 (CURR_DEVICE_TYPE=当前指定的设备类型端 ALL_DEVICE_TYPE=所有设备类型端)
- getReplacedRange() - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
当 isConcurrent=false 时,顶人下线的范围 (CURR_DEVICE_TYPE=当前指定的设备类型端, ALL_DEVICE_TYPE=所有设备类型端)
- getRequest() - Method in class cn.dev33.satoken.context.model.SaTokenContextModelBox
- getRequest() - Static method in class cn.dev33.satoken.context.SaHolder
-
获取当前请求的 Request 包装对象
- getRequest() - Method in interface cn.dev33.satoken.context.SaTokenContext
-
获取当前上下文的 Request 包装对象
- getRequest() - Method in class cn.dev33.satoken.context.SaTokenContextDefaultImpl
- getRequest() - Static method in class cn.dev33.satoken.context.SaTokenContextForThreadLocalStaff
-
在当前线程的 SaRequest 包装对象
- getRequestPath() - Method in class cn.dev33.satoken.context.mock.SaRequestForMock
-
返回当前请求path (不包括上下文名称)
- getRequestPath() - Method in interface cn.dev33.satoken.context.model.SaRequest
-
返回当前请求path (不包括上下文名称)
- getResponse() - Method in class cn.dev33.satoken.context.model.SaTokenContextModelBox
- getResponse() - Static method in class cn.dev33.satoken.context.SaHolder
-
获取当前请求的 Response 包装对象
- getResponse() - Method in interface cn.dev33.satoken.context.SaTokenContext
-
获取当前上下文的 Response 包装对象
- getResponse() - Method in class cn.dev33.satoken.context.SaTokenContextDefaultImpl
- getResponse() - Static method in class cn.dev33.satoken.context.SaTokenContextForThreadLocalStaff
-
在当前线程的 SaResponse 包装对象
- getResponse() - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
获取 请求摘要,最终计算的摘要结果
- getRightNowCreateTokenSession() - Method in class cn.dev33.satoken.config.SaTokenConfig
-
获取 在登录时,是否立即创建对应的 Token-Session (true=在登录时立即创建,false=在第一次调用 getTokenSession() 时创建)
- getRightNowCreateTokenSession() - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
获取 在登录时,是否立即创建对应的 Token-Session (true=在登录时立即创建,false=在第一次调用 getTokenSession() 时创建)
- getRole() - Method in exception cn.dev33.satoken.exception.NotRoleException
- getRoleList() - Method in class cn.dev33.satoken.stp.StpLogic
-
获取:当前账号的角色集合
- getRoleList() - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取:当前账号的角色集合
- getRoleList(Object) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取:指定账号的角色集合
- getRoleList(Object) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取:指定账号的角色集合
- getRoleList(Object, String) - Method in interface cn.dev33.satoken.stp.StpInterface
-
返回指定账号id所拥有的角色标识集合
- getRoleList(Object, String) - Method in class cn.dev33.satoken.stp.StpInterfaceDefaultImpl
- getSafeTime() - Method in class cn.dev33.satoken.stp.StpLogic
-
获取:当前会话的二级认证剩余有效时间(单位: 秒, 返回-2代表尚未通过二级认证)
- getSafeTime() - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取:当前会话的二级认证剩余有效时间(单位: 秒, 返回-2代表尚未通过二级认证)
- getSafeTime(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取:当前会话的二级认证剩余有效时间(单位: 秒, 返回-2代表尚未通过二级认证)
- getSafeTime(String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取:当前会话的二级认证剩余有效时间(单位: 秒, 返回-2代表尚未通过二级认证)
- getSaHttpTemplate() - Static method in class cn.dev33.satoken.SaManager
- getSaJsonTemplate() - Static method in class cn.dev33.satoken.SaManager
- getSameSite() - Method in class cn.dev33.satoken.config.SaCookieConfig
- getSameSite() - Method in class cn.dev33.satoken.context.model.SaCookie
- getSameTokenTimeout() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getSaSameTemplate() - Static method in class cn.dev33.satoken.SaManager
- getSaSerializerTemplate() - Static method in class cn.dev33.satoken.SaManager
- getSaTempTemplate() - Static method in class cn.dev33.satoken.SaManager
- getSaTokenContext() - Static method in class cn.dev33.satoken.SaManager
- getSaTokenDao() - Static method in class cn.dev33.satoken.SaManager
- getSaTokenDao() - Method in class cn.dev33.satoken.stp.StpLogic
-
返回当前 StpLogic 使用的持久化对象
- getSaTotpTemplate() - Static method in class cn.dev33.satoken.SaManager
- getSecure() - Method in class cn.dev33.satoken.config.SaCookieConfig
- getSecure() - Method in class cn.dev33.satoken.context.model.SaCookie
- getService() - Method in exception cn.dev33.satoken.exception.DisableServiceException
-
获取: 被封禁的服务
- getService() - Method in exception cn.dev33.satoken.exception.NotSafeException
-
获取: 未通过校验的服务
- getSession() - Method in class cn.dev33.satoken.stp.StpLogic
-
获取当前已登录账号的 Account-Session,如果该 SaSession 尚未创建,则新建并返回
- getSession() - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取当前已登录账号的 Account-Session,如果该 SaSession 尚未创建,则新建并返回
- getSession(boolean) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取当前已登录账号的 Account-Session, 如果该 SaSession 尚未创建,isCreate=是否新建并返回
- getSession(boolean) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取当前已登录账号的 Account-Session, 如果该 SaSession 尚未创建,isCreate=是否新建并返回
- getSession(String) - Method in interface cn.dev33.satoken.dao.auto.SaTokenDaoBySessionFollowObject
-
获取 SaSession,如无返空
- getSession(String) - Method in interface cn.dev33.satoken.dao.SaTokenDao
-
获取 SaSession,如无返空
- getSessionById(Object) - Method in class cn.dev33.satoken.session.raw.SaRawSessionDelegator
-
获取指定 SaSession, 如果此 SaSession 尚未在 DB 创建,则新建并返回
- getSessionById(Object, boolean) - Method in class cn.dev33.satoken.session.raw.SaRawSessionDelegator
-
获取指定 SaSession 对象, 如果此 SaSession 尚未在 Cache 创建,isCreate 参数代表是否则新建并返回
- getSessionById(String) - Static method in class cn.dev33.satoken.session.SaSessionCustomUtil
-
获取指定 key 的 SaSession, 如果此 SaSession 尚未在 DB 创建,则新建并返回
- getSessionById(String, boolean) - Static method in class cn.dev33.satoken.session.SaSessionCustomUtil
-
获取指定 key 的 SaSession 对象, 如果此 SaSession 尚未在 DB 创建,isCreate 参数代表是否则新建并返回
- getSessionById(String, Object) - Static method in class cn.dev33.satoken.session.raw.SaRawSessionUtil
-
获取指定 SaSession, 如果此 SaSession 尚未在 DB 创建,则新建并返回
- getSessionById(String, Object, boolean) - Static method in class cn.dev33.satoken.session.raw.SaRawSessionUtil
-
获取指定 SaSession 对象, 如果此 SaSession 尚未在 Cache 创建,isCreate 参数代表是否则新建并返回
- getSessionByLoginId(Object) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定账号 id 的 Account-Session,如果该 SaSession 尚未创建,则新建并返回
- getSessionByLoginId(Object) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取指定账号 id 的 Account-Session,如果该 SaSession 尚未创建,则新建并返回
- getSessionByLoginId(Object, boolean) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定账号 id 的 Account-Session, 如果该 SaSession 尚未创建,isCreate=是否新建并返回
- getSessionByLoginId(Object, boolean) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取指定账号 id 的 Account-Session, 如果该 SaSession 尚未创建,isCreate=是否新建并返回
- getSessionByLoginId(Object, boolean, Long) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定账号 id 的 Account-Session, 如果该 SaSession 尚未创建,isCreate=是否新建并返回
- getSessionBySessionId(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定 key 的 SaSession, 如果该 SaSession 尚未创建,则返回 null
- getSessionBySessionId(String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取指定 key 的 SaSession, 如果该 SaSession 尚未创建,则返回 null
- getSessionBySessionId(String, boolean, Long, Consumer<SaSession>) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定 key 的 SaSession, 如果该 SaSession 尚未创建,isCreate = 是否立即新建并返回
- getSessionTimeout() - Method in class cn.dev33.satoken.stp.SaTokenInfo
- getSessionTimeout() - Method in class cn.dev33.satoken.stp.StpLogic
-
获取当前登录账号的 Account-Session 剩余有效时间(单位: 秒,返回 -1 代表永久有效,-2 代表没有这个值)
- getSessionTimeout() - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取当前登录账号的 Account-Session 剩余有效时间(单位: 秒,返回 -1 代表永久有效,-2 代表没有这个值)
- getSessionTimeout(String) - Method in interface cn.dev33.satoken.dao.auto.SaTokenDaoBySessionFollowObject
-
获取 SaSession 剩余存活时间(单位: 秒)
- getSessionTimeout(String) - Method in interface cn.dev33.satoken.dao.SaTokenDao
-
获取 SaSession 剩余存活时间(单位: 秒)
- getSessionTimeoutByLoginId(Object) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定账号 id 的 Account-Session 剩余有效时间(单位: 秒,返回 -1 代表永久有效,-2 代表没有这个值)
- getSource() - Method in class cn.dev33.satoken.context.mock.SaRequestForMock
-
获取底层源对象
- getSource() - Method in class cn.dev33.satoken.context.mock.SaResponseForMock
-
获取底层源对象
- getSource() - Method in class cn.dev33.satoken.context.mock.SaStorageForMock
-
获取底层源对象
- getSource() - Method in interface cn.dev33.satoken.context.model.SaRequest
-
获取底层被包装的源对象
- getSource() - Method in interface cn.dev33.satoken.context.model.SaResponse
-
获取底层被包装的源对象
- getSource() - Method in interface cn.dev33.satoken.context.model.SaStorage
-
获取底层被包装的源对象
- getSource() - Method in interface cn.dev33.satoken.dao.timedcache.SaMapPackage
-
获取底层被包装的源对象
- getSource() - Method in class cn.dev33.satoken.dao.timedcache.SaMapPackageForConcurrentHashMap
- getStorage() - Method in class cn.dev33.satoken.context.model.SaTokenContextModelBox
- getStorage() - Static method in class cn.dev33.satoken.context.SaHolder
-
获取当前请求的 Storage 包装对象
- getStorage() - Method in interface cn.dev33.satoken.context.SaTokenContext
-
获取当前上下文的 Storage 包装对象
- getStorage() - Method in class cn.dev33.satoken.context.SaTokenContextDefaultImpl
- getStorage() - Static method in class cn.dev33.satoken.context.SaTokenContextForThreadLocalStaff
-
在当前线程的 SaStorage 存储器包装对象
- getStpInterface() - Static method in class cn.dev33.satoken.SaManager
- getStpLogic() - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取 StpLogic 对象
- getStpLogic(String) - Static method in class cn.dev33.satoken.SaManager
-
根据 LoginType 获取对应的StpLogic,如果不存在则新建并返回
- getStpLogic(String, boolean) - Static method in class cn.dev33.satoken.SaManager
-
根据 LoginType 获取对应的StpLogic,如果不存在,isCreate = 是否自动创建并返回
- getString(String) - Method in interface cn.dev33.satoken.application.SaGetValueInterface
-
取值 (转String类型)
- getSwitchLoginId() - Method in class cn.dev33.satoken.stp.StpLogic
-
返回 [ 身份临时切换 ] 的 loginId
- getTag() - Method in class cn.dev33.satoken.stp.SaTokenInfo
- getTempTokenList(Object) - Method in class cn.dev33.satoken.temp.SaTempTemplate
-
获取指定 value 的 temp-token 列表记录
- getTempTokenList(Object) - Static method in class cn.dev33.satoken.temp.SaTempUtil
-
获取指定 value 的 temp-token 列表记录
- getTerminal(String) - Method in class cn.dev33.satoken.session.SaSession
-
查找一个终端信息,根据 tokenValue
- getTerminalExtra(String) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
获取本次登录挂载到 SaTerminalInfo 的自定义扩展数据
- getTerminalExtraData() - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
获取 本次登录挂载到 SaTerminalInfo 的自定义扩展数据
- getTerminalInfo() - Method in class cn.dev33.satoken.stp.StpLogic
-
返回当前 token 指向的 SaTerminalInfo 设备信息,如果 token 无效则返回 null
- getTerminalInfo() - Static method in class cn.dev33.satoken.stp.StpUtil
-
返回当前 token 指向的 SaTerminalInfo 设备信息,如果 token 无效则返回 null
- getTerminalInfoByToken(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
返回指定 token 指向的 SaTerminalInfo 设备信息,如果 Token 无效则返回 null
- getTerminalInfoByToken(String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
返回指定 token 指向的 SaTerminalInfo 设备信息,如果 Token 无效则返回 null
- getTerminalList() - Method in class cn.dev33.satoken.session.SaSession
-
获取登录终端信息列表
- getTerminalListByDeviceType(String) - Method in class cn.dev33.satoken.session.SaSession
-
获取 登录终端信息列表 (拷贝副本),根据 deviceType 筛选
- getTerminalListByLoginId(Object) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定账号 id 已登录设备信息集合
- getTerminalListByLoginId(Object) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取指定账号 id 已登录设备信息集合
- getTerminalListByLoginId(Object, String) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定账号 id 指定设备类型端的已登录设备信息集合
- getTerminalListByLoginId(Object, String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取指定账号 id 指定设备类型端的已登录设备信息集合
- getTimeout() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getTimeout() - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- getTimeout(String) - Method in interface cn.dev33.satoken.dao.auto.SaTokenDaoByStringFollowObject
- getTimeout(String) - Method in interface cn.dev33.satoken.dao.SaTokenDao
-
获取 value 的剩余存活时间(单位: 秒)
- getTimeout(String) - Method in class cn.dev33.satoken.temp.SaTempTemplate
-
获取指定指定 Token 的剩余有效期,单位:秒
- getTimeout(String) - Static method in class cn.dev33.satoken.temp.SaTempUtil
-
获取指定指定 Token 的剩余有效期,单位:秒
- getToken() - Method in class cn.dev33.satoken.same.SaSameTemplate
-
获取当前 Same-Token, 如果不存在,则立即创建并返回
- getToken() - Static method in class cn.dev33.satoken.same.SaSameUtil
-
获取当前 Same-Token, 如果不存在,则立即创建并返回
- getToken() - Method in class cn.dev33.satoken.session.SaSession
-
获取:所属 Token (当此 SaSession 属于 Token-Session 时,此值有效)
- getToken() - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- getTokenActiveTimeout() - Method in class cn.dev33.satoken.stp.SaTokenInfo
- getTokenActiveTimeout() - Method in class cn.dev33.satoken.stp.StpLogic
-
获取当前 token 剩余活跃有效期:当前 token 距离被冻结还剩多少时间(单位: 秒,返回 -1 代表永不冻结,-2 代表没有这个值或 token 已被冻结了)
- getTokenActiveTimeout() - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取当前 token 剩余活跃有效期:当前 token 距离被冻结还剩多少时间(单位: 秒,返回 -1 代表永不冻结,-2 代表没有这个值或 token 已被冻结了)
- getTokenActiveTimeoutByToken(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定 token 剩余活跃有效期:这个 token 距离被冻结还剩多少时间(单位: 秒,返回 -1 代表永不冻结,-2 代表没有这个值或 token 已被冻结了)
- getTokenInfo() - Method in class cn.dev33.satoken.stp.StpLogic
-
获取当前会话的 token 参数信息
- getTokenInfo() - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取当前会话的 token 参数信息
- getTokenLastActiveTime() - Method in class cn.dev33.satoken.stp.StpLogic
-
获取当前 token 的最后活跃时间(13位时间戳),如果不存在则返回 -2
- getTokenLastActiveTime() - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取当前 token 的最后活跃时间(13位时间戳),如果不存在则返回 -2
- getTokenLastActiveTime(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定 token 的最后活跃时间(13位时间戳),如果不存在则返回 -2
- getTokenName() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getTokenName() - Method in class cn.dev33.satoken.stp.SaTokenInfo
- getTokenName() - Method in class cn.dev33.satoken.stp.StpLogic
-
返回 token 名称,此名称在以下地方体现:Cookie 保存 token 时的名称、提交 token 时参数的名称、存储 token 时的 key 前缀
- getTokenName() - Static method in class cn.dev33.satoken.stp.StpUtil
-
返回 token 名称,此名称在以下地方体现:Cookie 保存 token 时的名称、提交 token 时参数的名称、存储 token 时的 key 前缀
- getTokenNh() - Method in class cn.dev33.satoken.same.SaSameTemplate
-
获取 Same-Token,不做任何处理
- getTokenNh() - Static method in class cn.dev33.satoken.same.SaSameUtil
-
获取 Same-Token,不做任何处理
- getTokenPrefix() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getTokenSession() - Method in class cn.dev33.satoken.stp.StpLogic
-
获取当前 token 的 Token-Session,如果该 SaSession 尚未创建,则新建并返回
- getTokenSession() - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取当前 token 的 Token-Session,如果该 SaSession 尚未创建,则新建并返回
- getTokenSession(boolean) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取当前 token 的 Token-Session,如果该 SaSession 尚未创建,isCreate代表是否新建并返回
- getTokenSessionByToken(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定 token 的 Token-Session,如果该 SaSession 尚未创建,则新建并返回
- getTokenSessionByToken(String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取指定 token 的 Token-Session,如果该 SaSession 尚未创建,则新建并返回
- getTokenSessionByToken(String, boolean) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定 token 的 Token-Session,如果该 SaSession 尚未创建,isCreate代表是否新建并返回
- getTokenSessionCheckLogin() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getTokenSessionTimeout() - Method in class cn.dev33.satoken.stp.SaTokenInfo
- getTokenSessionTimeout() - Method in class cn.dev33.satoken.stp.StpLogic
-
获取当前 token 的 Token-Session 剩余有效时间(单位: 秒,返回 -1 代表永久有效,-2 代表没有这个值)
- getTokenSessionTimeout() - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取当前 token 的 Token-Session 剩余有效时间(单位: 秒,返回 -1 代表永久有效,-2 代表没有这个值)
- getTokenSessionTimeoutByTokenValue(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定 token 的 Token-Session 剩余有效时间(单位: 秒,返回 -1 代表永久有效,-2 代表没有这个值)
- getTokenStyle() - Method in class cn.dev33.satoken.config.SaTokenConfig
- getTokenTimeout() - Method in class cn.dev33.satoken.same.SaSameTemplate
-
获取 Same-Token 的剩余有效期 (单位:秒)
- getTokenTimeout() - Method in class cn.dev33.satoken.stp.SaTokenInfo
- getTokenTimeout() - Method in class cn.dev33.satoken.stp.StpLogic
-
获取当前会话 token 剩余有效时间(单位: 秒,返回 -1 代表永久有效,-2 代表没有这个值)
- getTokenTimeout() - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取当前会话 token 剩余有效时间(单位: 秒,返回 -1 代表永久有效,-2 代表没有这个值)
- getTokenTimeout(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定 token 剩余有效时间(单位: 秒,返回 -1 代表永久有效,-2 代表没有这个值)
- getTokenTimeout(String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取指定 token 剩余有效时间(单位: 秒,返回 -1 代表永久有效,-2 代表没有这个值)
- getTokenTimeoutByLoginId(Object) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定账号 id 的 token 剩余有效时间(单位: 秒,返回 -1 代表永久有效,-2 代表没有这个值)
- getTokenUseActiveTimeout(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定 token 在缓存中的 activeTimeout 值,如果不存在则返回 null
- getTokenUseActiveTimeoutOrGlobalConfig(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定 token 在缓存中的 activeTimeout 值,如果不存在则返回全局配置的 activeTimeout 值
- getTokenValue() - Method in exception cn.dev33.satoken.exception.NotSafeException
-
获取: 未通过校验的 Token 值
- getTokenValue() - Method in class cn.dev33.satoken.session.SaTerminalInfo
- getTokenValue() - Method in class cn.dev33.satoken.stp.SaTokenInfo
- getTokenValue() - Method in class cn.dev33.satoken.stp.StpLogic
-
获取当前请求的 token 值
- getTokenValue() - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取当前请求的 token 值
- getTokenValue(boolean) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取当前请求的 token 值
- getTokenValueByLoginId(Object) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定账号 id 的 token
- getTokenValueByLoginId(Object) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取指定账号 id 的 token
- getTokenValueByLoginId(Object, String) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定账号 id 指定设备类型端的 token
- getTokenValueByLoginId(Object, String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取指定账号 id 指定设备类型端的 token
- getTokenValueListByDeviceType(String) - Method in class cn.dev33.satoken.session.SaSession
-
获取 登录终端 token 列表
- getTokenValueListByLoginId(Object) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定账号 id 的 token 集合
- getTokenValueListByLoginId(Object) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取指定账号 id 的 token 集合
- getTokenValueListByLoginId(Object, String) - Method in class cn.dev33.satoken.stp.StpLogic
-
获取指定账号 id 指定设备类型端的 token 集合
- getTokenValueListByLoginId(Object, String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取指定账号 id 指定设备类型端的 token 集合
- getTokenValueNotCut() - Method in class cn.dev33.satoken.stp.StpLogic
-
获取当前请求的 token 值 (不裁剪前缀)
- getTokenValueNotCut() - Static method in class cn.dev33.satoken.stp.StpUtil
-
获取当前请求的 token 值 (不裁剪前缀)
- getTokenValueNotNull() - Method in class cn.dev33.satoken.stp.StpLogic
-
获取当前请求的 token 值,如果获取不到则抛出异常
- getType() - Method in exception cn.dev33.satoken.exception.NotLoginException
-
获取异常类型
- getType() - Method in class cn.dev33.satoken.session.SaSession
-
获取:此 SaSession 的 类型
- getUri() - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
获取 请求 uri
- getUrl() - Method in class cn.dev33.satoken.context.mock.SaRequestForMock
-
返回当前请求的url,例:http://xxx.com/test
- getUrl() - Method in interface cn.dev33.satoken.context.model.SaRequest
-
返回当前请求的url,不带query参数,例:http://xxx.com/test
- getUsername() - Method in class cn.dev33.satoken.httpauth.basic.SaHttpBasicAccount
-
获取 账号
- getUsername() - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
获取 用户名
- getValue() - Method in class cn.dev33.satoken.context.model.SaCookie
- getValue1() - Method in class cn.dev33.satoken.util.SaValue2Box
-
获取第一个值
- getValue1AsLong() - Method in class cn.dev33.satoken.util.SaValue2Box
-
获取第一个值,并转化为 long 类型
- getValue1AsLong(Long) - Method in class cn.dev33.satoken.util.SaValue2Box
-
获取第一个值,并转化为 long 类型,值不存在则返回默认值
- getValue1AsString() - Method in class cn.dev33.satoken.util.SaValue2Box
-
获取第一个值,并转化为 String 类型
- getValue2() - Method in class cn.dev33.satoken.util.SaValue2Box
-
获取第二个值
- getValue2AsLong() - Method in class cn.dev33.satoken.util.SaValue2Box
-
获取第二个值,并转化为 long 类型
- getValue2AsLong(Long) - Method in class cn.dev33.satoken.util.SaValue2Box
-
获取第二个值,并转化为 long 类型,值不存在则返回默认值
- getValue2AsString() - Method in class cn.dev33.satoken.util.SaValue2Box
-
获取第二个值,并转化为 String 类型
- getValueByDefaultValue(Object, T) - Method in interface cn.dev33.satoken.application.SaGetValueInterface
-
根据默认值来获取值
- getValueByType(Object, Class<T>) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
将指定值转化为指定类型
- GITEE_URL - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
Sa-Token 开源地址 Gitee
- GITHUB_URL - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
Sa-Token 开源地址 GitHub
H
- has(String) - Method in interface cn.dev33.satoken.application.SaGetValueInterface
-
是否含有某个 key
- hasElement - Variable in class cn.dev33.satoken.strategy.SaStrategy
-
判断:集合中是否包含指定元素(模糊匹配)
- hasElement(List<String>, String) - Method in class cn.dev33.satoken.stp.StpLogic
-
判断:集合中是否包含指定元素(模糊匹配)
- hashpw(String) - Static method in class cn.dev33.satoken.secure.BCrypt
-
Deprecated.生成密文,使用长度为10的加盐方式
- hashpw(String, String) - Static method in class cn.dev33.satoken.secure.BCrypt
-
Deprecated.生成密文
- hasListener(SaTokenListener) - Static method in class cn.dev33.satoken.listener.SaTokenEventCenter
-
判断是否已经注册了指定侦听器
- hasListener(Class<? extends SaTokenListener>) - Static method in class cn.dev33.satoken.listener.SaTokenEventCenter
-
判断是否已经注册了指定类型的侦听器
- hasNonPrintableASCII(String) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
检查字符串是否包含非可打印 ASCII 字符
- hasParam(String) - Method in interface cn.dev33.satoken.context.model.SaRequest
-
在 [ 请求体 ] 里检测请求是否提供了指定参数
- hasPermission(Object, String) - Method in class cn.dev33.satoken.stp.StpLogic
-
判断:指定账号 id 是否含有指定权限, 返回 true 或 false
- hasPermission(Object, String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
判断:指定账号 id 是否含有指定权限, 返回 true 或 false
- hasPermission(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
判断:当前账号是否含有指定权限, 返回 true 或 false
- hasPermission(String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
判断:当前账号是否含有指定权限, 返回 true 或 false
- hasPermissionAnd(String...) - Method in class cn.dev33.satoken.stp.StpLogic
-
判断:当前账号是否含有指定权限 [ 指定多个,必须全部具有 ]
- hasPermissionAnd(String...) - Static method in class cn.dev33.satoken.stp.StpUtil
-
判断:当前账号是否含有指定权限 [ 指定多个,必须全部具有 ]
- hasPermissionOr(String...) - Method in class cn.dev33.satoken.stp.StpLogic
-
判断:当前账号是否含有指定权限 [ 指定多个,只要其一验证通过即可 ]
- hasPermissionOr(String...) - Static method in class cn.dev33.satoken.stp.StpUtil
-
判断:当前账号是否含有指定权限 [ 指定多个,只要其一验证通过即可 ]
- hasRole(Object, String) - Method in class cn.dev33.satoken.stp.StpLogic
-
判断:指定账号是否含有指定角色标识, 返回 true 或 false
- hasRole(Object, String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
判断:指定账号是否含有指定角色标识, 返回 true 或 false
- hasRole(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
判断:当前账号是否拥有指定角色, 返回 true 或 false
- hasRole(String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
判断:当前账号是否拥有指定角色, 返回 true 或 false
- hasRoleAnd(String...) - Method in class cn.dev33.satoken.stp.StpLogic
-
判断:当前账号是否含有指定角色标识 [ 指定多个,必须全部验证通过 ]
- hasRoleAnd(String...) - Static method in class cn.dev33.satoken.stp.StpUtil
-
判断:当前账号是否含有指定角色标识 [ 指定多个,必须全部验证通过 ]
- hasRoleOr(String...) - Method in class cn.dev33.satoken.stp.StpLogic
-
判断:当前账号是否含有指定角色标识 [ 指定多个,只要其一验证通过即可 ]
- hasRoleOr(String...) - Static method in class cn.dev33.satoken.stp.StpUtil
-
判断:当前账号是否含有指定角色标识 [ 指定多个,只要其一验证通过即可 ]
- haveExtraData() - Method in class cn.dev33.satoken.session.SaTerminalInfo
-
判断是否设置了扩展数据
- haveExtraData() - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
判断是否设置了扩展数据(只在jwt模式下生效)
- haveTerminalExtraData() - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
判断是否设置了本次登录挂载到 SaTerminalInfo 的自定义扩展数据
- HEAD - Enum constant in enum class cn.dev33.satoken.router.SaHttpMethod
- HEADER_NAME - Static variable in class cn.dev33.satoken.context.model.SaCookie
-
写入响应头时使用的key
- headerMap - Variable in class cn.dev33.satoken.context.mock.SaRequestForMock
- headerMap - Variable in class cn.dev33.satoken.context.mock.SaResponseForMock
- hexToBytes(String) - Static method in class cn.dev33.satoken.util.SaHexUtil
-
将十六进制字符串转换为字节数组(JDK8兼容)
- hmacAlgorithm - Variable in class cn.dev33.satoken.secure.totp.SaTotpTemplate
-
哈希算法(HmacSHA1、HmacSHA256等)
- host - Variable in class cn.dev33.satoken.context.mock.SaRequestForMock
- httpBasic() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckOr
-
设定 @SaCheckHttpBasic,参考
SaCheckHttpBasic - httpDigest() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckOr
-
设定 @SaCheckBasic,参考
SaCheckHttpDigest
I
- info - Static variable in class cn.dev33.satoken.log.SaLogForConsole
- info(String, Object...) - Method in interface cn.dev33.satoken.log.SaLog
-
输出 info 日志
- info(String, Object...) - Method in class cn.dev33.satoken.log.SaLogForConsole
- INFO_COLOR - Static variable in class cn.dev33.satoken.log.SaLogForConsole
- INFO_PREFIX - Static variable in class cn.dev33.satoken.log.SaLogForConsole
- init() - Method in interface cn.dev33.satoken.dao.SaTokenDao
-
当此 SaTokenDao 实例被装载时触发
- init() - Method in class cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
-
组件被安装时,开始刷新数据线程
- init() - Method in class cn.dev33.satoken.plugin.SaTokenPluginHolder
-
初始化加载所有插件(多次调用只会执行一次)
- initRefreshThread() - Method in class cn.dev33.satoken.dao.timedcache.SaTimedCache
-
初始化定时任务,定时清理过期数据
- install() - Method in interface cn.dev33.satoken.plugin.SaTokenPlugin
-
安装插件
- installPlugin(SaTokenPlugin) - Method in class cn.dev33.satoken.plugin.SaTokenPluginHolder
-
安装指定插件
- installPlugin(Class<T>) - Method in class cn.dev33.satoken.plugin.SaTokenPluginHolder
-
安装指定插件,根据插件类型
- instance - Static variable in class cn.dev33.satoken.plugin.SaTokenPluginHolder
-
默认实例,非单例模式,可替换
- instance - Static variable in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForBlackPath
-
默认实例
- instance - Static variable in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForDirectoryTraversal
-
默认实例
- instance - Static variable in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHeader
-
默认实例
- instance - Static variable in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHost
-
默认实例
- instance - Static variable in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHttpMethod
-
默认实例
- instance - Static variable in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForParameter
-
默认实例
- instance - Static variable in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForPathBannedCharacter
-
默认实例
- instance - Static variable in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForPathDangerCharacter
-
默认实例
- instance - Static variable in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForWhitePath
-
默认实例
- instance - Static variable in class cn.dev33.satoken.strategy.SaAnnotationStrategy
-
全局单例引用
- instance - Static variable in class cn.dev33.satoken.strategy.SaFirewallStrategy
-
全局单例引用
- instance - Static variable in class cn.dev33.satoken.strategy.SaStrategy
-
获取 SaStrategy 对象的单例引用
- INVALID_TOKEN - Static variable in exception cn.dev33.satoken.exception.NotLoginException
-
表示 token 无效
- INVALID_TOKEN_MESSAGE - Static variable in exception cn.dev33.satoken.exception.NotLoginException
- InvalidContextException - Exception in cn.dev33.satoken.exception
-
Deprecated.
- InvalidContextException(String) - Constructor for exception cn.dev33.satoken.exception.InvalidContextException
-
Deprecated.一个异常:代表框架未能获取有效的上下文
- isAjax() - Method in interface cn.dev33.satoken.context.model.SaRequest
-
判断此请求是否为 Ajax 异步请求
- isAnnotationPresent - Variable in class cn.dev33.satoken.strategy.SaAnnotationStrategy
-
判断一个 Method 或其所属 Class 是否包含指定注解
- isBasicType(Class<?>) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
判断类型是否为基础类型:8大基本数据类型、8大包装类、String
- isCanColorLog() - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
判断当前系统是否可以打印彩色日志,判断准确率并非100%,但基本可以满足大部分场景
- isCheckHost - Variable in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHost
-
是否校验 host,默认关闭
- isCheckMethod - Variable in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHttpMethod
-
是否校验 请求Method,默认开启
- isDisable - Variable in class cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
-
是否被封禁
- isDisable(Object) - Method in class cn.dev33.satoken.stp.StpLogic
-
判断:指定账号是否已被封禁 (true=已被封禁, false=未被封禁)
- isDisable(Object) - Static method in class cn.dev33.satoken.stp.StpUtil
-
判断:指定账号是否已被封禁 (true=已被封禁, false=未被封禁)
- isDisable(Object, String) - Method in class cn.dev33.satoken.stp.StpLogic
-
判断:指定账号的指定服务 是否已被封禁(true=已被封禁, false=未被封禁)
- isDisable(Object, String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
判断:指定账号的指定服务 是否已被封禁(true=已被封禁, false=未被封禁)
- isDisabled(Object, String) - Method in interface cn.dev33.satoken.stp.StpInterface
-
返回指定账号 id 是否被封禁
- isDisableLevel(Object, int) - Method in class cn.dev33.satoken.stp.StpLogic
-
判断:指定账号是否已被封禁到指定等级
- isDisableLevel(Object, int) - Static method in class cn.dev33.satoken.stp.StpUtil
-
判断:指定账号是否已被封禁到指定等级
- isDisableLevel(Object, String, int) - Method in class cn.dev33.satoken.stp.StpLogic
-
判断:指定账号的指定服务,是否已被封禁到指定等级
- isDisableLevel(Object, String, int) - Static method in class cn.dev33.satoken.stp.StpUtil
-
判断:指定账号的指定服务,是否已被封禁到指定等级
- isDoubleValueState() - Method in class cn.dev33.satoken.util.SaValue2Box
-
该容器是否为双值状态,即:value2 有值 (在 value2 有值的情况下,即使 value1 无值,也视为双值状态)
- isEmpty(Object) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
指定元素是否为null或者空字符串
- isEmpty(T[]) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
Deprecated.
- isEmptyArray(T[]) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
指定数组是否为null或者空数组
- isEmptyList(List<?>) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
指定集合是否为null或者空数组
- isExists(Object) - Method in class cn.dev33.satoken.session.raw.SaRawSessionDelegator
-
判断:指定 SaSession 是否存在
- isExists(String) - Static method in class cn.dev33.satoken.session.SaSessionCustomUtil
-
判断:指定 key 的 SaSession 是否存在
- isExists(String, Object) - Static method in class cn.dev33.satoken.session.raw.SaRawSessionUtil
-
判断:指定 SaSession 是否存在
- isFreeze(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
判断指定 token 是否已被冻结
- isHit - Variable in class cn.dev33.satoken.router.SaRouterStaff
-
是否命中的标记变量
- isHit() - Method in class cn.dev33.satoken.router.SaRouterStaff
- isInstalledPlugin(Class<T>) - Method in class cn.dev33.satoken.plugin.SaTokenPluginHolder
-
判断是否已经安装了指定插件
- isLoader - Variable in class cn.dev33.satoken.plugin.SaTokenPluginHolder
-
是否已经加载过插件
- isLogin - Variable in class cn.dev33.satoken.stp.SaTokenInfo
-
此 token 是否已经登录
- isLogin() - Method in class cn.dev33.satoken.stp.StpLogic
-
判断当前会话是否已经登录
- isLogin() - Static method in class cn.dev33.satoken.stp.StpUtil
-
判断当前会话是否已经登录
- isLogin(Object) - Method in class cn.dev33.satoken.stp.StpLogic
-
判断指定账号是否已经登录
- isLogin(Object) - Static method in class cn.dev33.satoken.stp.StpUtil
-
判断指定账号是否已经登录
- isMatch(SaHttpMethod[], String) - Static method in class cn.dev33.satoken.router.SaRouter
-
Http请求方法匹配
- isMatch(String[], String) - Static method in class cn.dev33.satoken.router.SaRouter
-
路由匹配
- isMatch(String, String) - Static method in class cn.dev33.satoken.router.SaRouter
-
路由匹配
- isMatch(List<String>, String) - Static method in class cn.dev33.satoken.router.SaRouter
-
路由匹配
- isMatchCurrMethod(SaHttpMethod[]) - Static method in class cn.dev33.satoken.router.SaRouter
-
Http请求方法匹配 (使用当前请求方式)
- isMatchCurrURI(String) - Static method in class cn.dev33.satoken.router.SaRouter
-
路由匹配 (使用当前URI)
- isMatchCurrURI(String[]) - Static method in class cn.dev33.satoken.router.SaRouter
-
路由匹配 (使用当前URI)
- isMatchCurrURI(List<String>) - Static method in class cn.dev33.satoken.router.SaRouter
-
路由匹配 (使用当前URI)
- isMethod(SaHttpMethod) - Method in interface cn.dev33.satoken.context.model.SaRequest
-
返回当前请求 Method 是否为指定值
- isMethod(String) - Method in interface cn.dev33.satoken.context.model.SaRequest
-
返回当前请求 Method 是否为指定值
- isNotEmpty(Object) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
指定元素是否不为 (null或者空字符串)
- isNotValueState() - Method in class cn.dev33.satoken.util.SaValue2Box
-
该容器是否为无值状态,即:value1 无值、value2 无值
- isOpenCheckActiveTimeout() - Method in class cn.dev33.satoken.stp.StpLogic
-
返回全局配置是否开启了 Token 活跃度校验,返回 true 代表已打开,返回 false 代表不打开,此时永不冻结 token
- isParam(String, String) - Method in interface cn.dev33.satoken.context.model.SaRequest
-
在 [ 请求体 ] 里检测提供的参数是否为指定值
- isPath(String) - Method in interface cn.dev33.satoken.context.model.SaRequest
-
返回当前请求 path 是否为指定值
- isPathValid(String) - Static method in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForDirectoryTraversal
-
检查路径是否有效
- isRun - Variable in class cn.dev33.satoken.fun.IsRunFunction
-
变量
- IsRunFunction - Class in cn.dev33.satoken.fun
-
lambda 表达式辅助封装:根据 Boolean 变量,决定是否执行一个函数
- IsRunFunction(boolean) - Constructor for class cn.dev33.satoken.fun.IsRunFunction
-
设定一个变量,如果为true,则执行exe函数
- isSafe() - Method in class cn.dev33.satoken.stp.StpLogic
-
判断:当前会话是否处于二级认证时间内
- isSafe() - Static method in class cn.dev33.satoken.stp.StpUtil
-
判断:当前会话是否处于二级认证时间内
- isSafe(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
判断:当前会话 是否处于指定业务的二级认证时间内
- isSafe(String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
判断:当前会话 是否处于指定业务的二级认证时间内
- isSafe(String, String) - Method in class cn.dev33.satoken.stp.StpLogic
-
判断:指定 token 是否处于二级认证时间内
- isSafe(String, String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
判断:指定 token 是否处于二级认证时间内
- isSingleValueState() - Method in class cn.dev33.satoken.util.SaValue2Box
-
该容器是否为单值状态,即:value1 有值、value2 == 无值
- isSupportExtra() - Method in class cn.dev33.satoken.stp.StpLogic
-
当前 StpLogic 对象是否支持 token 扩展参数
- isSupportShareToken() - Method in class cn.dev33.satoken.stp.StpLogic
-
返回当前 StpLogic 是否支持共享 token 策略
- isSwitch() - Method in class cn.dev33.satoken.stp.StpLogic
-
判断当前请求是否正处于 [ 身份临时切换 ] 中
- isSwitch() - Static method in class cn.dev33.satoken.stp.StpUtil
-
判断当前请求是否正处于 [ 身份临时切换 ] 中
- isTrustDeviceId(Object, String) - Method in class cn.dev33.satoken.stp.StpLogic
-
判断对于指定 loginId 来讲,指定设备 id 是否为可信任设备
- isTrustDeviceId(Object, String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
判断对于指定 loginId 来讲,指定设备 id 是否为可信任设备
- isTrustDeviceId(String) - Method in class cn.dev33.satoken.session.SaSession
-
判断指定设备 id 是否为可信任设备
- isUrl(String) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
使用正则表达式判断一个字符串是否为URL
- isValid() - Method in interface cn.dev33.satoken.context.SaTokenContext
-
判断当前上下文是否可用
- isValid() - Method in class cn.dev33.satoken.context.SaTokenContextDefaultImpl
- isValid() - Method in class cn.dev33.satoken.context.SaTokenContextForThreadLocal
- isValid(String) - Method in class cn.dev33.satoken.same.SaSameTemplate
-
判断一个 Same-Token 是否有效
- isValid(String) - Static method in class cn.dev33.satoken.same.SaSameUtil
-
判断一个 Same-Token 是否有效
- isValidLoginId(Object) - Method in class cn.dev33.satoken.stp.StpLogic
-
判断一个 loginId 是否是有效的 (判断标准:不为 null、空字符串,且不在异常标记项里面)
- isValidToken(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
判断一个 token 是否是有效的 (判断标准:使用此 token 查询到的 loginId 不为 Empty )
- isWrapperType(Class<?>) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
判断类型是否为8大包装类型
J
- joinParam(String, String) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
在url上拼接上kv参数并返回
- joinParam(String, String, Object) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
在url上拼接上kv参数并返回
- joinSharpParam(String, String) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
在url上拼接锚参数
- joinSharpParam(String, String, Object) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
在url上拼接锚参数
- jsonToMap(String) - Method in interface cn.dev33.satoken.json.SaJsonTemplate
-
反序列化:json 字符串 → Map
- jsonToMap(String) - Method in class cn.dev33.satoken.json.SaJsonTemplateDefaultImpl
- jsonToObject(String) - Method in interface cn.dev33.satoken.json.SaJsonTemplate
-
反序列化:json 字符串 → 对象 (自动判断类型)
- jsonToObject(String) - Method in class cn.dev33.satoken.json.SaJsonTemplateDefaultImpl
- jsonToObject(String, Class<T>) - Method in interface cn.dev33.satoken.json.SaJsonTemplate
-
反序列化:json 字符串 → 对象
- jsonToObject(String, Class<T>) - Method in class cn.dev33.satoken.json.SaJsonTemplateDefaultImpl
- JUST_CREATED - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
常量 key 标记: 如果 token 为本次请求新创建的,则以此字符串为 key 存储在当前请求 str 中
- JUST_CREATED_NOT_PREFIX - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
常量 key 标记: 如果 token 为本次请求新创建的,则以此字符串为 key 存储在当前 request 中(不拼接前缀,纯Token)
- JUST_CREATED_SAVE_KEY - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
Deprecated.
K
- keys() - Method in class cn.dev33.satoken.application.SaApplication
-
返回当前存入的所有 key
- keys() - Method in class cn.dev33.satoken.session.SaSession
-
返回当前 Session 挂载数据的所有 key
- keySet() - Method in interface cn.dev33.satoken.dao.timedcache.SaMapPackage
-
所有 key
- keySet() - Method in class cn.dev33.satoken.dao.timedcache.SaMapPackageForConcurrentHashMap
- keySet() - Method in class cn.dev33.satoken.dao.timedcache.SaTimedCache
- KICK_OUT - Static variable in exception cn.dev33.satoken.exception.NotLoginException
-
表示 token 已被踢下线
- KICK_OUT_MESSAGE - Static variable in exception cn.dev33.satoken.exception.NotLoginException
- kickout(Object) - Method in class cn.dev33.satoken.stp.StpLogic
-
踢人下线,根据账号id
- kickout(Object) - Static method in class cn.dev33.satoken.stp.StpUtil
-
踢人下线,根据账号id
- kickout(Object, SaLogoutParameter) - Method in class cn.dev33.satoken.stp.StpLogic
-
踢人下线,根据账号id 和 注销参数
- kickout(Object, SaLogoutParameter) - Static method in class cn.dev33.satoken.stp.StpUtil
-
踢人下线,根据账号id 和 注销参数
- kickout(Object, String) - Method in class cn.dev33.satoken.stp.StpLogic
-
踢人下线,根据账号id 和 设备类型
- kickout(Object, String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
踢人下线,根据账号id 和 设备类型
- KICKOUT - Enum constant in enum class cn.dev33.satoken.stp.parameter.enums.SaLogoutMode
-
踢人下线
- kickoutByTokenValue(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
踢人下线,根据指定 token
- kickoutByTokenValue(String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
踢人下线,根据指定 token
- kickoutByTokenValue(String, SaLogoutParameter) - Method in class cn.dev33.satoken.stp.StpLogic
-
踢人下线,根据指定 token、注销参数
- kickoutByTokenValue(String, SaLogoutParameter) - Static method in class cn.dev33.satoken.stp.StpUtil
-
踢人下线,根据指定 token、注销参数
L
- level() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckDisable
-
封禁等级(如果当前账号的被封禁等级 ≥ 此值,请求就无法进入方法)
- list1ContainList2AllElement(List<String>, List<String>) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
list1 是否完全包含 list2 中所有元素
- list1ContainList2AnyElement(List<String>, List<String>) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
list1 是否包含 list2 中任意一个元素
- list1RemoveByList2(List<String>, List<String>) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
从 list1 中剔除 list2 所包含的元素 (克隆副本操作,不影响 list1)
- listenerClass - Variable in class cn.dev33.satoken.plugin.SaTokenPluginHookModel
-
监听插件类型
- loaderPlugins() - Method in class cn.dev33.satoken.plugin.SaTokenPluginHolder
-
根据 SPI 机制加载所有插件
- log - Static variable in class cn.dev33.satoken.SaManager
-
日志输出器
- LOG_PREFIX - Static variable in class cn.dev33.satoken.log.SaLogForConsole
-
日志输出的前缀
- login() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckOr
-
设定 @SaCheckLogin,参考
SaCheckLogin - login(Object) - Method in class cn.dev33.satoken.stp.StpLogic
-
会话登录
- login(Object) - Static method in class cn.dev33.satoken.stp.StpUtil
-
会话登录
- login(Object, boolean) - Method in class cn.dev33.satoken.stp.StpLogic
-
会话登录,并指定是否 [记住我]
- login(Object, boolean) - Static method in class cn.dev33.satoken.stp.StpUtil
-
会话登录,并指定是否 [记住我]
- login(Object, long) - Method in class cn.dev33.satoken.stp.StpLogic
-
会话登录,并指定此次登录 token 的有效期, 单位:秒
- login(Object, long) - Static method in class cn.dev33.satoken.stp.StpUtil
-
会话登录,并指定此次登录 token 的有效期, 单位:秒
- login(Object, SaLoginParameter) - Method in class cn.dev33.satoken.stp.StpLogic
-
会话登录,并指定所有登录参数 Model
- login(Object, SaLoginParameter) - Static method in class cn.dev33.satoken.stp.StpUtil
-
会话登录,并指定所有登录参数 Model
- login(Object, String) - Method in class cn.dev33.satoken.stp.StpLogic
-
会话登录,并指定登录设备类型
- login(Object, String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
会话登录,并指定登录设备类型
- loginDeviceType - Variable in class cn.dev33.satoken.stp.SaTokenInfo
-
登录设备类型
- loginId - Variable in class cn.dev33.satoken.stp.SaTokenInfo
-
此 token 对应的 LoginId,未登录时为 null
- loginType - Variable in class cn.dev33.satoken.stp.SaTokenInfo
-
多账号体系下的账号类型
- loginType - Variable in class cn.dev33.satoken.stp.StpLogic
-
账号类型标识,多账号体系时(一个系统多套用户表)用此值区分具体要校验的是哪套用户,比如:login、user、admin
- logLevelList - Static variable in class cn.dev33.satoken.util.SaFoxUtil
- logout() - Method in class cn.dev33.satoken.session.SaSession
-
注销Session (从持久库删除)
- logout() - Method in class cn.dev33.satoken.stp.StpLogic
-
在当前客户端会话注销
- logout() - Static method in class cn.dev33.satoken.stp.StpUtil
-
在当前客户端会话注销
- logout(SaLogoutParameter) - Method in class cn.dev33.satoken.stp.StpLogic
-
在当前客户端会话注销,根据注销参数
- logout(SaLogoutParameter) - Static method in class cn.dev33.satoken.stp.StpUtil
-
在当前客户端会话注销,根据注销参数
- logout(Object) - Method in class cn.dev33.satoken.stp.StpLogic
-
会话注销,根据账号id
- logout(Object) - Static method in class cn.dev33.satoken.stp.StpUtil
-
会话注销,根据账号id
- logout(Object, SaLogoutParameter) - Method in class cn.dev33.satoken.stp.StpLogic
-
会话注销,根据账号id 和 注销参数
- logout(Object, SaLogoutParameter) - Static method in class cn.dev33.satoken.stp.StpUtil
-
会话注销,根据账号id 和 注销参数
- logout(Object, String) - Method in class cn.dev33.satoken.stp.StpLogic
-
会话注销,根据账号id 和 设备类型
- logout(Object, String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
会话注销,根据账号id 和 设备类型
- LOGOUT - Enum constant in enum class cn.dev33.satoken.stp.parameter.enums.SaLogoutMode
-
注销下线
- logoutByMaxLoginCount(Object, SaSession, String, int, SaLogoutMode) - Method in class cn.dev33.satoken.stp.StpLogic
-
如果指定账号 id、设备类型的登录客户端已经超过了指定数量,则按照登录时间顺序,把最开始登录的给注销掉
- logoutByTerminalCountToZero() - Method in class cn.dev33.satoken.session.SaSession
-
当 Session 上的 SaTerminalInfo 数量为零时,注销会话
- logoutByTokenValue(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
注销下线,根据指定 token
- logoutByTokenValue(String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
注销下线,根据指定 token
- logoutByTokenValue(String, SaLogoutParameter) - Method in class cn.dev33.satoken.stp.StpLogic
-
注销下线,根据指定 token、注销参数
- logoutByTokenValue(String, SaLogoutParameter) - Static method in class cn.dev33.satoken.stp.StpUtil
-
注销下线,根据指定 token、注销参数
M
- mapToObject(Map<String, Object>, Class<T>) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
将 Map 转化为 Object
- match(boolean) - Static method in class cn.dev33.satoken.router.SaRouter
-
根据 boolean 值进行匹配
- match(boolean) - Method in class cn.dev33.satoken.router.SaRouterStaff
-
根据 boolean 值进行匹配
- match(SaParamRetFunction<Object, Boolean>) - Static method in class cn.dev33.satoken.router.SaRouter
-
根据自定义方法进行匹配 (lazy)
- match(SaParamRetFunction<Object, Boolean>) - Method in class cn.dev33.satoken.router.SaRouterStaff
-
根据自定义方法进行匹配 (lazy)
- match(SaHttpMethod...) - Static method in class cn.dev33.satoken.router.SaRouter
-
Http请求方式匹配 (Enum)
- match(SaHttpMethod...) - Method in class cn.dev33.satoken.router.SaRouterStaff
-
Http请求方法匹配 (Enum)
- match(String...) - Static method in class cn.dev33.satoken.router.SaRouter
-
路由匹配
- match(String...) - Method in class cn.dev33.satoken.router.SaRouterStaff
-
路由匹配
- match(String, SaFunction) - Static method in class cn.dev33.satoken.router.SaRouter
-
路由匹配,如果匹配成功则执行认证函数
- match(String, SaFunction) - Method in class cn.dev33.satoken.router.SaRouterStaff
-
路由匹配,如果匹配成功则执行认证函数
- match(String, SaParamFunction<SaRouterStaff>) - Static method in class cn.dev33.satoken.router.SaRouter
-
路由匹配,如果匹配成功则执行认证函数
- match(String, SaParamFunction<SaRouterStaff>) - Method in class cn.dev33.satoken.router.SaRouterStaff
-
路由匹配,如果匹配成功则执行认证函数
- match(String, String, SaFunction) - Static method in class cn.dev33.satoken.router.SaRouter
-
路由匹配 (并指定排除匹配符),如果匹配成功则执行认证函数
- match(String, String, SaFunction) - Method in class cn.dev33.satoken.router.SaRouterStaff
-
路由匹配 (并指定排除匹配符),如果匹配成功则执行认证函数
- match(String, String, SaParamFunction<SaRouterStaff>) - Static method in class cn.dev33.satoken.router.SaRouter
-
路由匹配 (并指定排除匹配符),如果匹配成功则执行认证函数
- match(String, String, SaParamFunction<SaRouterStaff>) - Method in class cn.dev33.satoken.router.SaRouterStaff
-
路由匹配 (并指定排除匹配符),如果匹配成功则执行认证函数
- match(List<String>) - Static method in class cn.dev33.satoken.router.SaRouter
-
路由匹配
- match(List<String>) - Method in class cn.dev33.satoken.router.SaRouterStaff
-
路由匹配
- matchMethod(String...) - Static method in class cn.dev33.satoken.router.SaRouter
-
Http请求方法匹配 (String)
- matchMethod(String...) - Method in class cn.dev33.satoken.router.SaRouterStaff
-
Http请求方法匹配 (String)
- md5(String) - Static method in class cn.dev33.satoken.secure.SaSecureUtil
-
md5加密
- md5BySalt(String, String) - Static method in class cn.dev33.satoken.secure.SaSecureUtil
-
Deprecated.
- me - Static variable in class cn.dev33.satoken.strategy.SaStrategy
-
Deprecated.
- method - Variable in class cn.dev33.satoken.context.mock.SaRequestForMock
- method - Variable in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
请求方法
- MIN_DISABLE_LEVEL - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
常量 key 标记: 在封禁账号时,可使用的最小封禁级别
- mode() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckPermission
-
验证模式:AND | OR,默认AND
- mode() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckRole
-
验证模式:AND | OR,默认AND
- modelBoxThreadLocal - Static variable in class cn.dev33.satoken.context.SaTokenContextForThreadLocalStaff
-
基于 ThreadLocal 的 [ Box 存储器 ]
N
- namespace - Variable in class cn.dev33.satoken.temp.SaTempTemplate
-
命名空间
- nc - Variable in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
nonce计数器,是一个16进制的数值,表示同一nonce下客户端发送出请求的数量
- NEVER_EXPIRE - Static variable in interface cn.dev33.satoken.dao.SaTokenDao
-
常量,表示一个 key 永不过期 (在一个 key 被标注为永远不过期时返回此值)
- NEW_DEVICE - Enum constant in enum class cn.dev33.satoken.stp.parameter.enums.SaReplacedLoginExitMode
-
新设备登录失败,旧设备维持在线
- newInstance(String, String, String, String) - Static method in exception cn.dev33.satoken.exception.NotLoginException
-
静态方法构建一个 NotLoginException
- newMatch() - Static method in class cn.dev33.satoken.router.SaRouter
-
初始化一个SaRouterStaff,开始匹配
- newTokenIndexMap() - Method in interface cn.dev33.satoken.util.SaTtlMethods
-
获取一个新的 TokenIndexMap 集合
- newTokenValueList() - Method in interface cn.dev33.satoken.util.SaTtlMethods
-
获取一个新的 Token 集合
- NO_PREFIX - Static variable in exception cn.dev33.satoken.exception.NotLoginException
-
表示 未按照指定前缀提交 token
- NO_PREFIX_MESSAGE - Static variable in exception cn.dev33.satoken.exception.NotLoginException
- noExe(SaFunction) - Method in class cn.dev33.satoken.fun.IsRunFunction
-
当 isRun == false 时执行此函数
- nonce - Variable in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
随机数
- NOT_DISABLE_LEVEL - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
常量 key 标记: 账号封禁级别,表示未被封禁
- NOT_TOKEN - Static variable in exception cn.dev33.satoken.exception.NotLoginException
-
表示未能读取到有效 token
- NOT_TOKEN_MESSAGE - Static variable in exception cn.dev33.satoken.exception.NotLoginException
- NOT_VALUE_EXPIRE - Static variable in interface cn.dev33.satoken.dao.SaTokenDao
-
常量,表示系统中不存在这个缓存(在对不存在的 key 获取剩余存活时间时返回此值)
- notAllowHeaderNames - Variable in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHeader
-
不允许的请求头列表
- notAllowParameterNames - Variable in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForParameter
-
不允许的请求参数列表
- notEmpty(Object, String) - Static method in exception cn.dev33.satoken.exception.SaTokenException
-
断言 value 不为空,否则抛出 message 异常
- notEmpty(Object, String, int) - Static method in exception cn.dev33.satoken.exception.SaTokenException
-
断言 value 不为空,否则抛出 message 异常
- notEquals(Object, Object) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
比较两个对象是否不相等
- NotHttpBasicAuthException - Exception in cn.dev33.satoken.exception
-
一个异常:代表会话未能通过 Http Basic 认证校验
- NotHttpBasicAuthException() - Constructor for exception cn.dev33.satoken.exception.NotHttpBasicAuthException
-
一个异常:代表会话未通过 Http Basic 认证
- NotHttpDigestAuthException - Exception in cn.dev33.satoken.exception
-
一个异常:代表会话未能通过 Http Digest 认证校验
- NotHttpDigestAuthException() - Constructor for exception cn.dev33.satoken.exception.NotHttpDigestAuthException
-
一个异常:代表会话未通过 Http Digest 认证
- NotImplException - Exception in cn.dev33.satoken.exception
-
一个异常:代表组件或方法未被提供有效的实现
- NotImplException(String) - Constructor for exception cn.dev33.satoken.exception.NotImplException
-
一个异常:代表组件或方法未被提供有效的实现
- notLogin() - Static method in class cn.dev33.satoken.util.SaResult
- NotLoginException - Exception in cn.dev33.satoken.exception
-
一个异常:代表会话未能通过登录认证校验
- NotLoginException(String, String, String) - Constructor for exception cn.dev33.satoken.exception.NotLoginException
-
构造方法创建一个
- notMatch(boolean) - Static method in class cn.dev33.satoken.router.SaRouter
-
根据 boolean 值进行匹配排除
- notMatch(boolean) - Method in class cn.dev33.satoken.router.SaRouterStaff
-
根据 boolean 值进行匹配排除
- notMatch(SaParamRetFunction<Object, Boolean>) - Static method in class cn.dev33.satoken.router.SaRouter
-
根据自定义方法进行匹配排除 (lazy)
- notMatch(SaParamRetFunction<Object, Boolean>) - Method in class cn.dev33.satoken.router.SaRouterStaff
-
根据自定义方法进行匹配排除 (lazy)
- notMatch(SaHttpMethod...) - Static method in class cn.dev33.satoken.router.SaRouter
-
Http请求方法匹配排除 (Enum)
- notMatch(SaHttpMethod...) - Method in class cn.dev33.satoken.router.SaRouterStaff
-
Http请求方法匹配排除 (Enum)
- notMatch(String...) - Static method in class cn.dev33.satoken.router.SaRouter
-
路由匹配排除
- notMatch(String...) - Method in class cn.dev33.satoken.router.SaRouterStaff
-
路由匹配排除
- notMatch(List<String>) - Static method in class cn.dev33.satoken.router.SaRouter
-
路由匹配排除
- notMatch(List<String>) - Method in class cn.dev33.satoken.router.SaRouterStaff
-
路由匹配排除
- notMatchMethod(String...) - Static method in class cn.dev33.satoken.router.SaRouter
-
Http请求方法匹配排除 (String)
- notMatchMethod(String...) - Method in class cn.dev33.satoken.router.SaRouterStaff
-
Http请求方法匹配排除 (String)
- notPermission() - Static method in class cn.dev33.satoken.util.SaResult
- NotPermissionException - Exception in cn.dev33.satoken.exception
-
一个异常:代表会话未能通过权限认证校验
- NotPermissionException(String) - Constructor for exception cn.dev33.satoken.exception.NotPermissionException
- NotPermissionException(String, String) - Constructor for exception cn.dev33.satoken.exception.NotPermissionException
- NotRoleException - Exception in cn.dev33.satoken.exception
-
一个异常:代表会话未能通过角色认证校验
- NotRoleException(String) - Constructor for exception cn.dev33.satoken.exception.NotRoleException
- NotRoleException(String, String) - Constructor for exception cn.dev33.satoken.exception.NotRoleException
- NotSafeException - Exception in cn.dev33.satoken.exception
-
一个异常:代表会话未能通过二级认证校验
- NotSafeException(String, String, String) - Constructor for exception cn.dev33.satoken.exception.NotSafeException
-
一个异常:代表会话未能通过二级认证校验
- notTrue(boolean, String) - Static method in exception cn.dev33.satoken.exception.SaTokenException
-
断言 flag 不为 true,否则抛出 message 异常
- notTrue(boolean, String, int) - Static method in exception cn.dev33.satoken.exception.SaTokenException
-
断言 flag 不为 true,否则抛出 message 异常
- NotWebContextException - Exception in cn.dev33.satoken.exception
-
一个异常:代表当前不是 Web 上下文,无法调用某个 API
- NotWebContextException(String) - Constructor for exception cn.dev33.satoken.exception.NotWebContextException
-
一个异常:代表当前不是 Web 上下文,无法调用某个 API
O
- objectToBytes(Object) - Method in interface cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdk
- objectToBytes(Object) - Method in class cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJson
- objectToBytes(Object) - Method in interface cn.dev33.satoken.serializer.SaSerializerTemplate
-
序列化:对象 -> 字节数组
- objectToJson(Object) - Method in interface cn.dev33.satoken.json.SaJsonTemplate
-
序列化:对象 -> json 字符串
- objectToJson(Object) - Method in class cn.dev33.satoken.json.SaJsonTemplateDefaultImpl
- objectToString(Object) - Method in interface cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdk
- objectToString(Object) - Method in class cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJson
- objectToString(Object) - Method in interface cn.dev33.satoken.serializer.SaSerializerTemplate
-
序列化:对象 -> 字符串
- ok() - Static method in class cn.dev33.satoken.util.SaResult
- ok(String) - Static method in class cn.dev33.satoken.util.SaResult
- OLD_DEVICE - Enum constant in enum class cn.dev33.satoken.stp.parameter.enums.SaReplacedLoginExitMode
-
旧设备下线,新设备登录成功
- onAfterDestroy(Class<T>, SaTokenPluginHookFunction<T>) - Method in class cn.dev33.satoken.plugin.SaTokenPluginHolder
-
注册指定插件的 [ Destroy 后置钩子 ],同插件支持多次注册
- onAfterInstall(Class<T>, SaTokenPluginHookFunction<T>) - Method in class cn.dev33.satoken.plugin.SaTokenPluginHolder
-
注册指定插件的 [ Install 后置钩子 ],1、同插件支持多次注册。
- onBeforeDestroy(Class<T>, SaTokenPluginHookFunction<T>) - Method in class cn.dev33.satoken.plugin.SaTokenPluginHolder
-
注册指定插件的 [ Destroy 前置钩子 ],同插件支持多次注册
- onBeforeInstall(Class<T>, SaTokenPluginHookFunction<T>) - Method in class cn.dev33.satoken.plugin.SaTokenPluginHolder
-
注册指定插件的 [ Install 前置钩子 ],1、同插件支持多次注册。
- onDestroy(Class<T>, SaTokenPluginHookFunction<T>) - Method in class cn.dev33.satoken.plugin.SaTokenPluginHolder
-
注册指定插件的 [ Destroy 钩子 ],1、同插件支持多次注册。
- onInstall(Class<T>, SaTokenPluginHookFunction<T>) - Method in class cn.dev33.satoken.plugin.SaTokenPluginHolder
-
注册指定插件的 [ Install 钩子 ],1、同插件支持多次注册。
- opaque - Variable in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
opaque
- openSafe(long) - Method in class cn.dev33.satoken.stp.StpLogic
-
在当前会话 开启二级认证
- openSafe(long) - Static method in class cn.dev33.satoken.stp.StpUtil
-
在当前会话 开启二级认证
- openSafe(String, long) - Method in class cn.dev33.satoken.stp.StpLogic
-
在当前会话 开启二级认证
- openSafe(String, long) - Static method in class cn.dev33.satoken.stp.StpUtil
-
在当前会话 开启二级认证
- OPTIONS - Enum constant in enum class cn.dev33.satoken.router.SaHttpMethod
- OR - Enum constant in enum class cn.dev33.satoken.annotation.SaMode
-
只需具有其中一个元素
- orRole() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckPermission
-
在权限校验不通过时的次要选择,两者只要其一校验成功即可通过校验
P
- parameterMap - Variable in class cn.dev33.satoken.context.mock.SaRequestForMock
- parseToken(String) - Method in class cn.dev33.satoken.temp.SaTempTemplate
-
解析 Token 获取 value
- parseToken(String) - Static method in class cn.dev33.satoken.temp.SaTempUtil
-
解析 Token 获取 value
- parseToken(String, Class<T>) - Method in class cn.dev33.satoken.temp.SaTempTemplate
-
解析 Token 获取 value,并转换为指定类型
- parseToken(String, Class<T>) - Static method in class cn.dev33.satoken.temp.SaTempUtil
-
解析 Token 获取 value,并转换为指定类型
- parseToken(String, String, Class<T>) - Method in class cn.dev33.satoken.temp.SaTempTemplate
-
解析 token 获取 value,并裁剪指定前缀,然后转换为指定类型
- parseToken(String, String, Class<T>) - Static method in class cn.dev33.satoken.temp.SaTempUtil
-
解析 token 获取 value,并裁剪指定前缀,然后转换为指定类型
- password - Variable in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
密码
- password() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckHttpDigest
-
密码
- PATCH - Enum constant in enum class cn.dev33.satoken.router.SaHttpMethod
- permission() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckOr
-
设定 @SaCheckPermission,参考
SaCheckPermission - PERMISSION_LIST - Static variable in class cn.dev33.satoken.session.SaSession
-
在 SaSession 上存储权限列表时建议使用的 key
- POST - Enum constant in enum class cn.dev33.satoken.router.SaHttpMethod
- postByFormData(String, Map<String, Object>) - Method in interface cn.dev33.satoken.http.SaHttpTemplate
-
post 请求,form-data 格式参数
- postByFormData(String, Map<String, Object>) - Method in class cn.dev33.satoken.http.SaHttpTemplateDefaultImpl
-
post 请求,form-data 格式参数
- postByFormData(String, Map<String, Object>) - Static method in class cn.dev33.satoken.http.SaHttpUtil
-
post 请求,form-data 格式参数
- println(int, String, String, String, Object...) - Method in class cn.dev33.satoken.log.SaLogForConsole
-
打印日志到控制台
- printSaToken() - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
打印 Sa-Token 版本字符画
- put(String, V) - Method in interface cn.dev33.satoken.dao.timedcache.SaMapPackage
-
写
- put(String, V) - Method in class cn.dev33.satoken.dao.timedcache.SaMapPackageForConcurrentHashMap
- PUT - Enum constant in enum class cn.dev33.satoken.router.SaHttpMethod
- putStpLogic(StpLogic) - Static method in class cn.dev33.satoken.SaManager
-
向全局集合中 put 一个 StpLogic
Q
- qop - Variable in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
保护质量(auth=默认的,auth-int=增加报文完整性检测),可以为空,但不推荐
R
- randomTempToken(Object) - Method in class cn.dev33.satoken.temp.SaTempTemplate
-
随机一个 temp-token
- rawSessionDelegator - Variable in class cn.dev33.satoken.temp.SaTempTemplate
-
Raw Session 读写委托
- realm - Variable in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
领域
- realm() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckHttpBasic
-
领域
- realm() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckHttpDigest
-
领域
- redirect(String) - Method in class cn.dev33.satoken.context.mock.SaResponseForMock
-
重定向
- redirect(String) - Method in interface cn.dev33.satoken.context.model.SaResponse
-
重定向
- redirectTo - Variable in class cn.dev33.satoken.context.mock.SaResponseForMock
- refreshDataMap() - Method in class cn.dev33.satoken.dao.timedcache.SaTimedCache
-
清理所有已经过期的 key
- refreshDataMap(Map<String, Object>) - Method in class cn.dev33.satoken.session.SaSession
-
写入数据集合 (不改变底层对象引用,只将此 dataMap 所有数据进行替换)
- refreshFlag - Variable in class cn.dev33.satoken.dao.timedcache.SaTimedCache
-
是否继续执行数据清理的线程标记
- refreshThread - Variable in class cn.dev33.satoken.dao.timedcache.SaTimedCache
-
执行数据清理的线程引用
- refreshToken() - Method in class cn.dev33.satoken.same.SaSameTemplate
-
刷新一次 Same-Token (注意集群环境中不要多个服务重复调用)
- refreshToken() - Static method in class cn.dev33.satoken.same.SaSameUtil
-
刷新一次 Same-Token (注意集群环境中不要多个服务重复调用)
- registerAnnotationHandler(SaAnnotationHandlerInterface<?>) - Method in class cn.dev33.satoken.strategy.SaAnnotationStrategy
-
注册一个注解处理器
- registerAnnotationHandlerToFirst(SaAnnotationHandlerInterface<?>) - Method in class cn.dev33.satoken.strategy.SaAnnotationStrategy
-
注册一个注解处理器,到首位
- registerDefaultAnnotationHandler() - Method in class cn.dev33.satoken.strategy.SaAnnotationStrategy
-
注册所有默认的注解处理器
- registerHook(SaFirewallCheckHook) - Method in class cn.dev33.satoken.strategy.SaFirewallStrategy
-
注册一个防火墙校验 hook
- registerHookToFirst(SaFirewallCheckHook) - Method in class cn.dev33.satoken.strategy.SaFirewallStrategy
-
注册一个防火墙校验 hook 到第一位, 请注意将 hook 注册到第一位将会优先于白名单的判断,如果您依然希望白名单 hook 保持最高优先级,请调用 registerHookToSecond
- registerHookToSecond(SaFirewallCheckHook) - Method in class cn.dev33.satoken.strategy.SaFirewallStrategy
-
注册一个防火墙校验 hook 到第二位
- registerListener(SaTokenListener) - Static method in class cn.dev33.satoken.listener.SaTokenEventCenter
-
注册一个侦听器
- registerListenerList(List<SaTokenListener>) - Static method in class cn.dev33.satoken.listener.SaTokenEventCenter
-
注册一组侦听器
- remove(String) - Method in interface cn.dev33.satoken.dao.timedcache.SaMapPackage
-
删
- remove(String) - Method in class cn.dev33.satoken.dao.timedcache.SaMapPackageForConcurrentHashMap
- removeAnnotationHandler(Class<?>) - Method in class cn.dev33.satoken.strategy.SaAnnotationStrategy
-
移除一个注解处理器
- removeDefaultFields() - Method in class cn.dev33.satoken.util.SaResult
-
移除默认属性(code、msg、data), 连缀风格
- removeExtraAttr(String) - Method in class cn.dev33.satoken.config.SaCookieConfig
-
移除指定扩展属性
- removeExtraAttr(String) - Method in class cn.dev33.satoken.context.model.SaCookie
-
移除指定扩展属性
- removeHook(Class<? extends SaFirewallCheckHook>) - Method in class cn.dev33.satoken.strategy.SaFirewallStrategy
-
移除指定类型的防火墙校验 hook
- removeListener(SaTokenListener) - Static method in class cn.dev33.satoken.listener.SaTokenEventCenter
-
移除一个侦听器
- removeListener(Class<? extends SaTokenListener>) - Static method in class cn.dev33.satoken.listener.SaTokenEventCenter
-
移除指定类型的所有侦听器
- removeNonDefaultFields() - Method in class cn.dev33.satoken.util.SaResult
-
移除非默认属性(code、msg、data), 连缀风格
- removeStpLogic(String) - Static method in class cn.dev33.satoken.SaManager
-
在全局集合中 移除 一个 StpLogic
- removeTerminal(String) - Method in class cn.dev33.satoken.session.SaSession
-
移除一个终端信息
- removeTerminalByKickout(SaSession, SaTerminalInfo) - Method in class cn.dev33.satoken.stp.StpLogic
-
在 Account-Session 上移除 Terminal 信息 (踢人下线方式)
- removeTerminalByKickout(SaSession, SaTerminalInfo) - Static method in class cn.dev33.satoken.stp.StpUtil
-
在 Account-Session 上移除 Terminal 信息 (踢人下线方式)
- removeTerminalByLogout(SaSession, SaTerminalInfo) - Method in class cn.dev33.satoken.stp.StpLogic
-
在 Account-Session 上移除 Terminal 信息 (注销下线方式)
- removeTerminalByLogout(SaSession, SaTerminalInfo) - Static method in class cn.dev33.satoken.stp.StpUtil
-
在 Account-Session 上移除 Terminal 信息 (注销下线方式)
- removeTerminalByReplaced(SaSession, SaTerminalInfo) - Method in class cn.dev33.satoken.stp.StpLogic
-
在 Account-Session 上移除 Terminal 信息 (顶人下线方式)
- removeTerminalByReplaced(SaSession, SaTerminalInfo) - Static method in class cn.dev33.satoken.stp.StpUtil
-
在 Account-Session 上移除 Terminal 信息 (顶人下线方式)
- renewTimeout(long) - Method in class cn.dev33.satoken.stp.StpLogic
-
对当前 token 的 timeout 值进行续期
- renewTimeout(long) - Static method in class cn.dev33.satoken.stp.StpUtil
-
对当前 token 的 timeout 值进行续期
- renewTimeout(String, long) - Method in class cn.dev33.satoken.stp.StpLogic
-
对指定 token 的 timeout 值进行续期
- renewTimeout(String, long) - Static method in class cn.dev33.satoken.stp.StpUtil
-
对指定 token 的 timeout 值进行续期
- replaced(Object) - Method in class cn.dev33.satoken.stp.StpLogic
-
顶人下线,根据账号id
- replaced(Object) - Static method in class cn.dev33.satoken.stp.StpUtil
-
顶人下线,根据账号id
- replaced(Object, SaLogoutParameter) - Method in class cn.dev33.satoken.stp.StpLogic
-
顶人下线,根据账号id 和 注销参数
- replaced(Object, SaLogoutParameter) - Static method in class cn.dev33.satoken.stp.StpUtil
-
顶人下线,根据账号id 和 注销参数
- replaced(Object, String) - Method in class cn.dev33.satoken.stp.StpLogic
-
顶人下线,根据账号id 和 设备类型
- replaced(Object, String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
顶人下线,根据账号id 和 设备类型
- REPLACED - Enum constant in enum class cn.dev33.satoken.stp.parameter.enums.SaLogoutMode
-
顶人下线
- replacedByTokenValue(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
顶人下线,根据指定 token
- replacedByTokenValue(String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
顶人下线,根据指定 token
- replacedByTokenValue(String, SaLogoutParameter) - Method in class cn.dev33.satoken.stp.StpLogic
-
顶人下线,根据指定 token、注销参数
- replacedByTokenValue(String, SaLogoutParameter) - Static method in class cn.dev33.satoken.stp.StpUtil
-
顶人下线,根据指定 token、注销参数
- request - Variable in class cn.dev33.satoken.context.model.SaTokenContextModelBox
- requestPath - Variable in class cn.dev33.satoken.context.mock.SaRequestForMock
- RequestPathInvalidException - Exception in cn.dev33.satoken.exception
-
一个异常:代表请求 path 无效或非法
- RequestPathInvalidException(String, String) - Constructor for exception cn.dev33.satoken.exception.RequestPathInvalidException
- reset() - Method in class cn.dev33.satoken.router.SaRouterStaff
-
重置命中标记为 true
- resetConfig(boolean) - Method in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForPathBannedCharacter
-
重载配置
- resetConfig(boolean, String...) - Method in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHost
-
重载配置
- resetConfig(boolean, String...) - Method in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHttpMethod
-
配置
- resetConfig(String...) - Method in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForBlackPath
-
重载配置
- resetConfig(String...) - Method in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHeader
-
配置
- resetConfig(String...) - Method in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForParameter
-
配置
- resetConfig(String...) - Method in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForPathDangerCharacter
-
重载配置
- resetConfig(String...) - Method in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForWhitePath
-
重载配置
- response - Variable in class cn.dev33.satoken.context.model.SaTokenContextModelBox
- response - Variable in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
请求摘要,最终计算的摘要结果
- result - Variable in exception cn.dev33.satoken.exception.BackResultException
-
要输出的结果
- role() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckOr
-
设定 @SaCheckRole,参考
SaCheckRole - ROLE_LIST - Static variable in class cn.dev33.satoken.session.SaSession
-
在 SaSession 上存储角色列表时建议使用的 key
- routeMatcher - Variable in class cn.dev33.satoken.strategy.SaStrategy
-
路由匹配策略
- routePrefix - Static variable in class cn.dev33.satoken.application.ApplicationInfo
-
应用前缀
- RPC_CONTEXT_FILTER_ORDER - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
RPC 框架上下文过滤器的注册顺序
- RPC_PERMISSION_FILTER_ORDER - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
RPC 框架权限过滤器的注册顺序
- rsaDecryptByPrivate(String, String) - Static method in class cn.dev33.satoken.secure.SaSecureUtil
-
Deprecated.
- rsaDecryptByPublic(String, String) - Static method in class cn.dev33.satoken.secure.SaSecureUtil
-
Deprecated.
- rsaEncryptByPrivate(String, String) - Static method in class cn.dev33.satoken.secure.SaSecureUtil
-
Deprecated.
- rsaEncryptByPublic(String, String) - Static method in class cn.dev33.satoken.secure.SaSecureUtil
-
Deprecated.
- rsaGenerateKeyPair() - Static method in class cn.dev33.satoken.secure.SaSecureUtil
-
Deprecated.
- run() - Method in interface cn.dev33.satoken.fun.SaFunction
-
执行的方法
- run() - Method in interface cn.dev33.satoken.fun.SaRetFunction
-
执行的方法
- run() - Method in interface cn.dev33.satoken.fun.SaRetGenericFunction
-
执行的方法
- run(SaRequest, SaResponse, Object) - Method in interface cn.dev33.satoken.fun.SaRouteFunction
-
执行验证的方法
- run(FirewallCheckException, SaRequest, SaResponse, Object) - Method in interface cn.dev33.satoken.fun.strategy.SaFirewallCheckFailHandleFunction
-
执行函数
- run(Object) - Method in interface cn.dev33.satoken.filter.SaFilterAuthStrategy
-
执行方法
- run(Throwable) - Method in interface cn.dev33.satoken.filter.SaFilterErrorStrategy
-
执行方法
- run(T) - Method in interface cn.dev33.satoken.fun.SaParamFunction
-
执行的方法
- run(T) - Method in interface cn.dev33.satoken.fun.SaParamRetFunction
-
执行的方法
- run(T, T2) - Method in interface cn.dev33.satoken.fun.SaTwoParamFunction
-
执行的方法
S
- SA_TOKEN_CONTEXT_FILTER_ORDER - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
上下文过滤器的注册顺序
- SaAnnotationHandlerInterface<T extends Annotation> - Interface in cn.dev33.satoken.annotation.handler
-
所有注解处理器的父接口
- SaAnnotationStrategy - Class in cn.dev33.satoken.strategy
-
Sa-Token 注解鉴权相关策略
- SaApplication - Class in cn.dev33.satoken.application
-
Application Model,全局作用域的读取值对象。
- SaApplication() - Constructor for class cn.dev33.satoken.application.SaApplication
- SaAutoRenewFunction - Interface in cn.dev33.satoken.fun.strategy
-
函数式接口:自定义自动续期条件
- SaBase32Util - Class in cn.dev33.satoken.secure
-
Sa-Token Base32 工具类
- SaBase32Util() - Constructor for class cn.dev33.satoken.secure.SaBase32Util
- SaBase64Util - Class in cn.dev33.satoken.secure
-
Sa-Token Base64 工具类
- SaBase64Util() - Constructor for class cn.dev33.satoken.secure.SaBase64Util
- SaCheckDisable - Annotation Interface in cn.dev33.satoken.annotation
-
服务禁用校验:判断当前账号是否被禁用了指定服务,如果被禁用,会抛出异常,没有被禁用才能进入方法。
- SaCheckDisableHandler - Class in cn.dev33.satoken.annotation.handler
-
注解 SaCheckDisable 的处理器
- SaCheckDisableHandler() - Constructor for class cn.dev33.satoken.annotation.handler.SaCheckDisableHandler
- SaCheckElementAnnotationFunction - Interface in cn.dev33.satoken.fun.strategy
-
函数式接口:对一个 [元素] 对象进行注解校验 (注解鉴权内部实现)
- SaCheckELRootMapExtendFunction - Interface in cn.dev33.satoken.fun.strategy
-
函数式接口:SaCheckELRootMap 扩展函数
- SaCheckHttpBasic - Annotation Interface in cn.dev33.satoken.annotation
-
Http Basic 认证校验:只有通过 Http Basic 认证后才能进入该方法,否则抛出异常。
- SaCheckHttpBasicHandler - Class in cn.dev33.satoken.annotation.handler
-
注解 SaCheckHttpBasic 的处理器
- SaCheckHttpBasicHandler() - Constructor for class cn.dev33.satoken.annotation.handler.SaCheckHttpBasicHandler
- SaCheckHttpDigest - Annotation Interface in cn.dev33.satoken.annotation
-
Http Digest 认证校验:只有通过 Http Digest 认证后才能进入该方法,否则抛出异常。
- SaCheckHttpDigestHandler - Class in cn.dev33.satoken.annotation.handler
-
注解 SaCheckHttpDigest 的处理器
- SaCheckHttpDigestHandler() - Constructor for class cn.dev33.satoken.annotation.handler.SaCheckHttpDigestHandler
- SaCheckLogin - Annotation Interface in cn.dev33.satoken.annotation
-
登录认证校验:只有登录之后才能进入该方法。
- SaCheckLoginHandler - Class in cn.dev33.satoken.annotation.handler
-
注解 SaCheckLogin 的处理器
- SaCheckLoginHandler() - Constructor for class cn.dev33.satoken.annotation.handler.SaCheckLoginHandler
- SaCheckMethodAnnotationFunction - Interface in cn.dev33.satoken.fun.strategy
-
函数式接口:对一个 [Method] 对象进行注解校验 (注解鉴权内部实现)
- SaCheckOr - Annotation Interface in cn.dev33.satoken.annotation
-
批量注解鉴权:只要满足其中一个注解即可通过验证
- SaCheckOrAnnotationFunction - Interface in cn.dev33.satoken.fun.strategy
-
函数式接口:对一个 @SaCheckOr 进行注解校验
- SaCheckOrHandler - Class in cn.dev33.satoken.annotation.handler
-
注解 SaCheckOr 的处理器
- SaCheckOrHandler() - Constructor for class cn.dev33.satoken.annotation.handler.SaCheckOrHandler
- SaCheckPermission - Annotation Interface in cn.dev33.satoken.annotation
-
权限认证校验:必须具有指定权限才能进入该方法。
- SaCheckPermissionHandler - Class in cn.dev33.satoken.annotation.handler
-
注解 SaCheckPermission 的处理器
- SaCheckPermissionHandler() - Constructor for class cn.dev33.satoken.annotation.handler.SaCheckPermissionHandler
- SaCheckRole - Annotation Interface in cn.dev33.satoken.annotation
-
角色认证校验:必须具有指定角色标识才能进入该方法。
- SaCheckRoleHandler - Class in cn.dev33.satoken.annotation.handler
-
注解 SaCheckRole 的处理器
- SaCheckRoleHandler() - Constructor for class cn.dev33.satoken.annotation.handler.SaCheckRoleHandler
- SaCheckSafe - Annotation Interface in cn.dev33.satoken.annotation
-
二级认证校验:客户端必须完成二级认证之后,才能进入该方法,否则将被抛出异常。
- SaCheckSafeHandler - Class in cn.dev33.satoken.annotation.handler
-
注解 SaCheckSafe 的处理器
- SaCheckSafeHandler() - Constructor for class cn.dev33.satoken.annotation.handler.SaCheckSafeHandler
- SaCookie - Class in cn.dev33.satoken.context.model
-
Cookie Model,代表一个 Cookie 应该具有的所有参数
- SaCookie() - Constructor for class cn.dev33.satoken.context.model.SaCookie
-
构造一个
- SaCookie(String, String) - Constructor for class cn.dev33.satoken.context.model.SaCookie
-
构造一个
- SaCookieConfig - Class in cn.dev33.satoken.config
-
Sa-Token Cookie写入 相关配置
- SaCookieConfig() - Constructor for class cn.dev33.satoken.config.SaCookieConfig
- SaCorsHandleFunction - Interface in cn.dev33.satoken.fun.strategy
-
CORS 跨域策略处理函数
- SaCreateSessionFunction - Interface in cn.dev33.satoken.fun.strategy
-
函数式接口:创建 SaSession 的策略
- SaCreateStpLogicFunction - Interface in cn.dev33.satoken.fun.strategy
-
函数式接口:创建 StpLogic 的算法
- SaCreateTokenFunction - Interface in cn.dev33.satoken.fun.strategy
-
函数式接口:创建 token 的策略
- SaDisableWrapperInfo - Class in cn.dev33.satoken.model.wrapperInfo
-
返回值包装类:描述一个账号是否已被封禁等信息
- SaDisableWrapperInfo(boolean, long, int) - Constructor for class cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
-
构建对象
- SaErrorCode - Interface in cn.dev33.satoken.error
-
定义所有异常细分状态码
- safe() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckOr
-
设定 @SaCheckSafe,参考
SaCheckSafe - SAFE_AUTH_SAVE_KEY - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
Deprecated.
- SAFE_AUTH_SAVE_VALUE - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
常量 key 标记: 在进行 Token 二级认证时,写入的 value 值
- SaFilter - Interface in cn.dev33.satoken.filter
-
Sa-Token 过滤器接口,为不同版本的过滤器: 1、封装共同代码。
- SaFilterAuthStrategy - Interface in cn.dev33.satoken.filter
-
Sa-Token 全局过滤器 - 认证策略封装,方便 lambda 表达式风格调用
- SaFilterErrorStrategy - Interface in cn.dev33.satoken.filter
-
Sa-Token 全局过滤器 - 异常处理策略封装,方便 lambda 表达式风格调用
- SaFirewallCheckFailHandleFunction - Interface in cn.dev33.satoken.fun.strategy
-
函数式接口:当防火墙校验不通过时执行的函数
- SaFirewallCheckFunction - Interface in cn.dev33.satoken.fun.strategy
-
函数式接口:防火墙校验函数
- SaFirewallCheckHook - Interface in cn.dev33.satoken.strategy.hooks
-
防火墙策略校验钩子函数 - 接口
- SaFirewallCheckHookForBlackPath - Class in cn.dev33.satoken.strategy.hooks
-
防火墙策略校验钩子函数:请求 path 黑名单校验
- SaFirewallCheckHookForBlackPath() - Constructor for class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForBlackPath
- SaFirewallCheckHookForDirectoryTraversal - Class in cn.dev33.satoken.strategy.hooks
-
防火墙策略校验钩子函数:请求 path 目录遍历符检测
- SaFirewallCheckHookForDirectoryTraversal() - Constructor for class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForDirectoryTraversal
- SaFirewallCheckHookForHeader - Class in cn.dev33.satoken.strategy.hooks
-
防火墙策略校验钩子函数:请求头检测
- SaFirewallCheckHookForHeader() - Constructor for class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHeader
- SaFirewallCheckHookForHost - Class in cn.dev33.satoken.strategy.hooks
-
防火墙策略校验钩子函数:Host 检测
- SaFirewallCheckHookForHost() - Constructor for class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHost
- SaFirewallCheckHookForHttpMethod - Class in cn.dev33.satoken.strategy.hooks
-
防火墙策略校验钩子函数:请求 Method 检测
- SaFirewallCheckHookForHttpMethod() - Constructor for class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForHttpMethod
- SaFirewallCheckHookForParameter - Class in cn.dev33.satoken.strategy.hooks
-
防火墙策略校验钩子函数:请求参数检测
- SaFirewallCheckHookForParameter() - Constructor for class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForParameter
- SaFirewallCheckHookForPathBannedCharacter - Class in cn.dev33.satoken.strategy.hooks
-
防火墙策略校验钩子函数:请求 path 禁止字符校验
- SaFirewallCheckHookForPathBannedCharacter() - Constructor for class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForPathBannedCharacter
- SaFirewallCheckHookForPathDangerCharacter - Class in cn.dev33.satoken.strategy.hooks
-
防火墙策略校验钩子函数:请求 path 危险字符校验
- SaFirewallCheckHookForPathDangerCharacter() - Constructor for class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForPathDangerCharacter
- SaFirewallCheckHookForWhitePath - Class in cn.dev33.satoken.strategy.hooks
-
防火墙策略校验钩子函数:请求 path 白名单放行
- SaFirewallCheckHookForWhitePath() - Constructor for class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForWhitePath
- SaFirewallStrategy - Class in cn.dev33.satoken.strategy
-
Sa-Token 防火墙策略
- SaFoxUtil - Class in cn.dev33.satoken.util
-
Sa-Token 内部工具类
- SaFunction - Interface in cn.dev33.satoken.fun
-
无形参、无返回值的函数式接口,方便开发者进行 lambda 表达式风格调用
- SaGenerateUniqueTokenFunction - Interface in cn.dev33.satoken.fun.strategy
-
生成唯一式 token 的函数式接口,方便开发者进行 lambda 表达式风格调用
- SaGetAnnotationFunction - Interface in cn.dev33.satoken.fun.strategy
-
函数式接口:从元素上获取注解
- SaGetValueInterface - Interface in cn.dev33.satoken.application
-
对取值的一组方法封装
- SaHasElementFunction - Interface in cn.dev33.satoken.fun.strategy
-
函数式接口:判断集合中是否包含指定元素(模糊匹配)
- SaHexUtil - Class in cn.dev33.satoken.util
-
十六进制工具类
- SaHexUtil() - Constructor for class cn.dev33.satoken.util.SaHexUtil
- SaHolder - Class in cn.dev33.satoken.context
-
Sa-Token 上下文持有类,你可以通过此类快速获取当前环境下的 SaRequest、SaResponse、SaStorage、SaApplication 对象。
- SaHolder() - Constructor for class cn.dev33.satoken.context.SaHolder
- SaHttpBasicAccount - Class in cn.dev33.satoken.httpauth.basic
-
Sa-Token Http Basic 账号
- SaHttpBasicAccount(String) - Constructor for class cn.dev33.satoken.httpauth.basic.SaHttpBasicAccount
-
构造函数
- SaHttpBasicAccount(String, String) - Constructor for class cn.dev33.satoken.httpauth.basic.SaHttpBasicAccount
-
构造函数
- saHttpBasicTemplate - Static variable in class cn.dev33.satoken.httpauth.basic.SaHttpBasicUtil
-
底层使用的 SaBasicTemplate 对象
- SaHttpBasicTemplate - Class in cn.dev33.satoken.httpauth.basic
-
Sa-Token Http Basic 认证模块
- SaHttpBasicTemplate() - Constructor for class cn.dev33.satoken.httpauth.basic.SaHttpBasicTemplate
- SaHttpBasicUtil - Class in cn.dev33.satoken.httpauth.basic
-
Sa-Token Http Basic 认证模块,Util 工具类
- SaHttpDigestModel - Class in cn.dev33.satoken.httpauth.digest
-
Sa-Token Http Digest 认证 - 参数实体类
- SaHttpDigestModel() - Constructor for class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
- SaHttpDigestModel(String, String) - Constructor for class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
- SaHttpDigestModel(String, String, String) - Constructor for class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
- saHttpDigestTemplate - Static variable in class cn.dev33.satoken.httpauth.digest.SaHttpDigestUtil
-
底层使用的 SaHttpDigestTemplate 对象
- SaHttpDigestTemplate - Class in cn.dev33.satoken.httpauth.digest
-
Sa-Token Http Digest 认证模块 - 模板方法类
- SaHttpDigestTemplate() - Constructor for class cn.dev33.satoken.httpauth.digest.SaHttpDigestTemplate
- SaHttpDigestUtil - Class in cn.dev33.satoken.httpauth.digest
-
Sa-Token Http Digest 认证模块,Util 工具类
- SaHttpMethod - Enum Class in cn.dev33.satoken.router
-
Http 请求各种请求类型的枚举表示
- SaHttpTemplate - Interface in cn.dev33.satoken.http
-
Http 请求处理器
- SaHttpTemplateDefaultImpl - Class in cn.dev33.satoken.http
-
Http 请求处理器,默认实现类
- SaHttpTemplateDefaultImpl() - Constructor for class cn.dev33.satoken.http.SaHttpTemplateDefaultImpl
- SaHttpUtil - Class in cn.dev33.satoken.http
-
Http 请求处理器 工具类
- SaHttpUtil() - Constructor for class cn.dev33.satoken.http.SaHttpUtil
- SaIgnore - Annotation Interface in cn.dev33.satoken.annotation
-
忽略认证:表示被修饰的方法或类无需进行注解认证和路由拦截认证。
- SaIgnoreHandler - Class in cn.dev33.satoken.annotation.handler
-
注解 SaIgnore 的处理器
- SaIgnoreHandler() - Constructor for class cn.dev33.satoken.annotation.handler.SaIgnoreHandler
- SaIsAnnotationPresentFunction - Interface in cn.dev33.satoken.fun.strategy
-
函数式接口:判断一个 Method 或其所属 Class 是否包含指定注解
- SaJsonConvertException - Exception in cn.dev33.satoken.exception
-
一个异常:代表 JSON 转换失败
- SaJsonConvertException(Throwable) - Constructor for exception cn.dev33.satoken.exception.SaJsonConvertException
-
一个异常:代表 JSON 转换失败
- SaJsonTemplate - Interface in cn.dev33.satoken.json
-
JSON 转换器
- SaJsonTemplateDefaultImpl - Class in cn.dev33.satoken.json
-
JSON 转换器,默认实现类
- SaJsonTemplateDefaultImpl() - Constructor for class cn.dev33.satoken.json.SaJsonTemplateDefaultImpl
- SaLog - Interface in cn.dev33.satoken.log
-
Sa-Token 日志输出接口
- SaLogForConsole - Class in cn.dev33.satoken.log
-
Sa-Token 日志实现类 [ 控制台打印 ]
- SaLogForConsole() - Constructor for class cn.dev33.satoken.log.SaLogForConsole
- SaLoginConfig - Class in cn.dev33.satoken.stp
-
Deprecated.
- SaLoginModel - Class in cn.dev33.satoken.stp
-
Deprecated.
- SaLoginModel() - Constructor for class cn.dev33.satoken.stp.SaLoginModel
-
Deprecated.
- SaLoginParameter - Class in cn.dev33.satoken.stp.parameter
-
在调用 `StpUtil.login()` 时的 配置参数对象,决定登录的一些细节行为
- SaLoginParameter() - Constructor for class cn.dev33.satoken.stp.parameter.SaLoginParameter
- SaLoginParameter(SaTokenConfig) - Constructor for class cn.dev33.satoken.stp.parameter.SaLoginParameter
- SaLogoutMode - Enum Class in cn.dev33.satoken.stp.parameter.enums
-
SaLogoutMode: 注销模式
- SaLogoutParameter - Class in cn.dev33.satoken.stp.parameter
-
在会话注销时的 配置参数对象,决定注销时的一些细节行为
- SaLogoutParameter() - Constructor for class cn.dev33.satoken.stp.parameter.SaLogoutParameter
- SaLogoutParameter(SaTokenConfig) - Constructor for class cn.dev33.satoken.stp.parameter.SaLogoutParameter
- SaLogoutRange - Enum Class in cn.dev33.satoken.stp.parameter.enums
-
SaLogoutMode: 注销范围
- SaManager - Class in cn.dev33.satoken
-
管理 Sa-Token 所有全局组件,可通过此类快速获取、写入各种全局组件对象
- SaManager() - Constructor for class cn.dev33.satoken.SaManager
- SaMapPackage<V> - Interface in cn.dev33.satoken.dao.timedcache
-
Map 包装类
- SaMapPackageForConcurrentHashMap<V> - Class in cn.dev33.satoken.dao.timedcache
-
Map 包装类 (ConcurrentHashMap 版)
- SaMapPackageForConcurrentHashMap() - Constructor for class cn.dev33.satoken.dao.timedcache.SaMapPackageForConcurrentHashMap
- SAME_TOKEN - Static variable in class cn.dev33.satoken.same.SaSameTemplate
-
提交 Same-Token 时,建议使用的参数名称
- SAME_TOKEN - Static variable in class cn.dev33.satoken.same.SaSameUtil
-
提交 Same-Token 时,建议使用的参数名称
- SameTokenInvalidException - Exception in cn.dev33.satoken.exception
-
一个异常:代表 Same-Token 校验未通过
- SameTokenInvalidException(String) - Constructor for exception cn.dev33.satoken.exception.SameTokenInvalidException
-
一个异常:代表 Same-Token 校验未通过
- SaMode - Enum Class in cn.dev33.satoken.annotation
-
注解鉴权的验证模式
- SaParamFunction<T> - Interface in cn.dev33.satoken.fun
-
单形参、无返回值的函数式接口,方便开发者进行 lambda 表达式风格调用
- SaParamRetFunction<T,
R> - Interface in cn.dev33.satoken.fun -
单形参、有返回值的函数式接口,方便开发者进行 lambda 表达式风格调用
- SaRawSessionDelegator - Class in cn.dev33.satoken.session.raw
-
SaSession 读写工具类 委托
- SaRawSessionDelegator(String) - Constructor for class cn.dev33.satoken.session.raw.SaRawSessionDelegator
- SaRawSessionUtil - Class in cn.dev33.satoken.session.raw
-
SaSession 读写工具类
- SaReplacedLoginExitMode - Enum Class in cn.dev33.satoken.stp.parameter.enums
-
在 isConcurrent=false 时,决定新旧设备谁将放弃会话
- SaReplacedRange - Enum Class in cn.dev33.satoken.stp.parameter.enums
-
顶人下线的范围
- SaRequest - Interface in cn.dev33.satoken.context.model
-
Request 请求对象 包装类
- SaRequestForMock - Class in cn.dev33.satoken.context.mock
-
对 SaRequest 包装类的实现(Mock 版)
- SaRequestForMock() - Constructor for class cn.dev33.satoken.context.mock.SaRequestForMock
- SaResponse - Interface in cn.dev33.satoken.context.model
-
Response 响应对象 包装类
- SaResponseForMock - Class in cn.dev33.satoken.context.mock
-
对 SaResponse 包装类的实现(Mock 版)
- SaResponseForMock() - Constructor for class cn.dev33.satoken.context.mock.SaResponseForMock
- SaResult - Class in cn.dev33.satoken.util
-
对请求接口返回 Json 格式数据的简易封装。
- SaResult() - Constructor for class cn.dev33.satoken.util.SaResult
-
构建
- SaResult(int, String, Object) - Constructor for class cn.dev33.satoken.util.SaResult
-
构建
- SaResult(Map<String, ?>) - Constructor for class cn.dev33.satoken.util.SaResult
-
根据 Map 快速构建
- SaRetFunction - Interface in cn.dev33.satoken.fun
-
无形参、有返回值的函数式接口,方便开发者进行 lambda 表达式风格调用
- SaRetGenericFunction<T> - Interface in cn.dev33.satoken.fun
-
无形参、有返回值(泛型)的函数式接口,方便开发者进行 lambda 表达式风格调用
- SaRouteFunction - Interface in cn.dev33.satoken.fun
-
路由拦截器验证方法的函数式接口,方便开发者进行 lambda 表达式风格调用
- SaRouteMatchFunction - Interface in cn.dev33.satoken.fun.strategy
-
函数式接口:路由匹配策略
- SaRouter - Class in cn.dev33.satoken.router
-
路由匹配操作工具类
- SaRouterStaff - Class in cn.dev33.satoken.router
-
路由匹配操作对象
- SaRouterStaff() - Constructor for class cn.dev33.satoken.router.SaRouterStaff
- SaSameTemplate - Class in cn.dev33.satoken.same
-
Sa Same-Token 同源系统身份认证模块 - 模板方法类
- SaSameTemplate() - Constructor for class cn.dev33.satoken.same.SaSameTemplate
- SaSameUtil - Class in cn.dev33.satoken.same
-
Sa Same-Token 同源系统身份认证模块 - 工具类
- SaSecureUtil - Class in cn.dev33.satoken.secure
-
Sa-Token 常见加密算法工具类
- SaSerializerTemplate - Interface in cn.dev33.satoken.serializer
-
序列化器
- SaSerializerTemplateForJdk - Interface in cn.dev33.satoken.serializer.impl
-
序列化器次级实现: jdk序列化
- SaSerializerTemplateForJdkUseBase64 - Class in cn.dev33.satoken.serializer.impl
-
序列化器: jdk序列化、Base64 编码 (体积+33%)
- SaSerializerTemplateForJdkUseBase64() - Constructor for class cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdkUseBase64
- SaSerializerTemplateForJdkUseHex - Class in cn.dev33.satoken.serializer.impl
-
序列化器: jdk序列化、16 进制编码 (体积+100%)
- SaSerializerTemplateForJdkUseHex() - Constructor for class cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdkUseHex
- SaSerializerTemplateForJdkUseISO_8859_1 - Class in cn.dev33.satoken.serializer.impl
-
序列化器: jdk序列化、ISO-8859-1 编码 (体积无变化)
- SaSerializerTemplateForJdkUseISO_8859_1() - Constructor for class cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdkUseISO_8859_1
- SaSerializerTemplateForJson - Class in cn.dev33.satoken.serializer.impl
-
序列化器: 使用 json 转换器
- SaSerializerTemplateForJson() - Constructor for class cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJson
- SaSession - Class in cn.dev33.satoken.session
-
Session Model,会话作用域的读取值对象
- SaSession() - Constructor for class cn.dev33.satoken.session.SaSession
-
构建一个 Session 对象
- SaSession(String) - Constructor for class cn.dev33.satoken.session.SaSession
-
构建一个 Session 对象
- SaSessionCustomUtil - Class in cn.dev33.satoken.session
-
自定义 SaSession 工具类,快捷的读取、操作自定义 SaSession
- SaSetValueInterface - Interface in cn.dev33.satoken.application
-
对写值的一组方法封装
- SaStorage - Interface in cn.dev33.satoken.context.model
-
Storage Model,请求作用域的读取值对象。
- SaStorageForMock - Class in cn.dev33.satoken.context.mock
-
对 SaStorage 包装类的实现(Mock 版)
- SaStorageForMock() - Constructor for class cn.dev33.satoken.context.mock.SaStorageForMock
- SaStrategy - Class in cn.dev33.satoken.strategy
-
Sa-Token 策略对象
- SaSugar - Class in cn.dev33.satoken.util
-
代码语法糖封装
- SaSugar() - Constructor for class cn.dev33.satoken.util.SaSugar
- SaTempTemplate - Class in cn.dev33.satoken.temp
-
Sa-Token 临时 token 验证模块
- SaTempTemplate() - Constructor for class cn.dev33.satoken.temp.SaTempTemplate
- SaTempTemplate(String) - Constructor for class cn.dev33.satoken.temp.SaTempTemplate
-
实例化
- SaTempUtil - Class in cn.dev33.satoken.temp
-
Sa-Token 临时 token 验证模块 - 工具类
- SaTerminalInfo - Class in cn.dev33.satoken.session
-
登录设备终端信息 Model
- SaTerminalInfo() - Constructor for class cn.dev33.satoken.session.SaTerminalInfo
-
构建一个
- SaTerminalInfo(int, String, String, Map<String, Object>) - Constructor for class cn.dev33.satoken.session.SaTerminalInfo
-
构建一个
- SaTimedCache - Class in cn.dev33.satoken.dao.timedcache
-
一个定时缓存的简单实现,采用:惰性检查 + 异步循环扫描
- SaTimedCache(SaMapPackage<Object>, SaMapPackage<Long>) - Constructor for class cn.dev33.satoken.dao.timedcache.SaTimedCache
- SaTokenConfig - Class in cn.dev33.satoken.config
-
Sa-Token 配置类 Model
- SaTokenConfig() - Constructor for class cn.dev33.satoken.config.SaTokenConfig
- SaTokenConfigFactory - Class in cn.dev33.satoken.config
-
Sa-Token配置文件的构建工厂类
- SaTokenConsts - Class in cn.dev33.satoken.util
-
Sa-Token 常量类
- SaTokenContext - Interface in cn.dev33.satoken.context
-
Sa-Token 上下文处理器
- SaTokenContextDefaultImpl - Class in cn.dev33.satoken.context
-
Sa-Token 上下文处理器 [ 默认实现类 ]
- SaTokenContextDefaultImpl() - Constructor for class cn.dev33.satoken.context.SaTokenContextDefaultImpl
- SaTokenContextException - Exception in cn.dev33.satoken.exception
-
一个异常:代表框架未能获取有效的上下文
- SaTokenContextException(String) - Constructor for exception cn.dev33.satoken.exception.SaTokenContextException
-
一个异常:代表框架未能获取有效的上下文
- SaTokenContextForReadOnly - Interface in cn.dev33.satoken.context
-
Sa-Token 上下文处理器次级实现:只读上下文
- SaTokenContextForThreadLocal - Class in cn.dev33.satoken.context
-
Sa-Token 上下文处理器 [ ThreadLocal 版本 ]
- SaTokenContextForThreadLocal() - Constructor for class cn.dev33.satoken.context.SaTokenContextForThreadLocal
- SaTokenContextForThreadLocalStaff - Class in cn.dev33.satoken.context
-
Sa-Token 上下文处理器 [ThreadLocal 版本] ---- 对象存储器
- SaTokenContextForThreadLocalStaff() - Constructor for class cn.dev33.satoken.context.SaTokenContextForThreadLocalStaff
- SaTokenContextMockUtil - Class in cn.dev33.satoken.context.mock
-
Sa-Token Mock 上下文 操作工具类
- SaTokenContextMockUtil() - Constructor for class cn.dev33.satoken.context.mock.SaTokenContextMockUtil
- SaTokenContextModelBox - Class in cn.dev33.satoken.context.model
-
Box 盒子类,用于存储 [ SaRequest、SaResponse、SaStorage ] 三个包装对象
- SaTokenContextModelBox(SaRequest, SaResponse, SaStorage) - Constructor for class cn.dev33.satoken.context.model.SaTokenContextModelBox
- SaTokenDao - Interface in cn.dev33.satoken.dao
-
Sa-Token 持久层接口
- SaTokenDaoByObjectFollowString - Interface in cn.dev33.satoken.dao.auto
-
SaTokenDao 次级实现,Object 读写跟随 String 读写 (推荐中间件型缓存实现 implements 此接口)
- SaTokenDaoBySessionFollowObject - Interface in cn.dev33.satoken.dao.auto
-
SaTokenDao 次级实现:SaSession 读写跟随 Object 读写
- SaTokenDaoByStringFollowObject - Interface in cn.dev33.satoken.dao.auto
-
SaTokenDao 次级实现:String 读写跟随 Object 读写 (推荐内存型缓存实现 implements 此接口)
- SaTokenDaoDefaultImpl - Class in cn.dev33.satoken.dao
-
Sa-Token 持久层接口,默认实现类,基于 SaTimedCache - ConcurrentHashMap (内存缓存,系统重启后数据丢失)
- SaTokenDaoDefaultImpl() - Constructor for class cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
- SaTokenEventCenter - Class in cn.dev33.satoken.listener
-
Sa-Token 事件中心 事件发布器
- SaTokenEventCenter() - Constructor for class cn.dev33.satoken.listener.SaTokenEventCenter
- SaTokenException - Exception in cn.dev33.satoken.exception
-
Sa-Token 框架内部逻辑发生错误抛出的异常
- SaTokenException(int) - Constructor for exception cn.dev33.satoken.exception.SaTokenException
-
构建一个异常
- SaTokenException(int, String) - Constructor for exception cn.dev33.satoken.exception.SaTokenException
-
构建一个异常
- SaTokenException(String) - Constructor for exception cn.dev33.satoken.exception.SaTokenException
-
构建一个异常
- SaTokenException(String, Throwable) - Constructor for exception cn.dev33.satoken.exception.SaTokenException
-
构建一个异常
- SaTokenException(Throwable) - Constructor for exception cn.dev33.satoken.exception.SaTokenException
-
构建一个异常
- SaTokenInfo - Class in cn.dev33.satoken.stp
-
Token 信息 Model: 用来描述一个 Token 的常见参数。
- SaTokenInfo() - Constructor for class cn.dev33.satoken.stp.SaTokenInfo
- SaTokenListener - Interface in cn.dev33.satoken.listener
-
Sa-Token 侦听器
- SaTokenListenerForLog - Class in cn.dev33.satoken.listener
-
Sa-Token 侦听器的一个实现:Log 打印
- SaTokenListenerForLog() - Constructor for class cn.dev33.satoken.listener.SaTokenListenerForLog
- SaTokenListenerForSimple - Class in cn.dev33.satoken.listener
-
Sa-Token 侦听器,默认空实现
- SaTokenListenerForSimple() - Constructor for class cn.dev33.satoken.listener.SaTokenListenerForSimple
- SaTokenPlugin - Interface in cn.dev33.satoken.plugin
-
Sa-Token 插件总接口
- SaTokenPluginException - Exception in cn.dev33.satoken.exception
-
一个异常:代表插件安装过程中出现异常
- SaTokenPluginException(String) - Constructor for exception cn.dev33.satoken.exception.SaTokenPluginException
-
一个异常:代表插件安装过程中出现异常
- SaTokenPluginException(String, Throwable) - Constructor for exception cn.dev33.satoken.exception.SaTokenPluginException
-
一个异常:代表插件安装过程中出现异常
- SaTokenPluginException(Throwable) - Constructor for exception cn.dev33.satoken.exception.SaTokenPluginException
-
一个异常:代表插件安装过程中出现异常
- SaTokenPluginHolder - Class in cn.dev33.satoken.plugin
-
Sa-Token 插件管理器,管理所有插件的加载与卸载
- SaTokenPluginHolder() - Constructor for class cn.dev33.satoken.plugin.SaTokenPluginHolder
- SaTokenPluginHookFunction<T extends SaTokenPlugin> - Interface in cn.dev33.satoken.fun.hooks
-
SaTokenPlugin 钩子函数
- SaTokenPluginHookModel<T extends SaTokenPlugin> - Class in cn.dev33.satoken.plugin
-
Sa-Token 插件 Hook Model
- SaTokenPluginHookModel(Class<T>, SaTokenPluginHookFunction<T>) - Constructor for class cn.dev33.satoken.plugin.SaTokenPluginHookModel
-
构造函数
- SaTotpTemplate - Class in cn.dev33.satoken.secure.totp
-
TOTP 算法类,支持 生成/验证 动态一次性密码
- SaTotpTemplate() - Constructor for class cn.dev33.satoken.secure.totp.SaTotpTemplate
-
构造函数 (使用默认参数)
- SaTotpTemplate(int, int, String, int) - Constructor for class cn.dev33.satoken.secure.totp.SaTotpTemplate
-
构造函数 (使用自定义参数)
- SaTotpUtil - Class in cn.dev33.satoken.secure.totp
-
TOTP 工具类,支持 生成/验证 动态一次性密码
- SaTotpUtil() - Constructor for class cn.dev33.satoken.secure.totp.SaTotpUtil
- SaTtlMethods - Interface in cn.dev33.satoken.util
-
TTL 操作工具方法
- SaTwoParamFunction<T,
T2> - Interface in cn.dev33.satoken.fun -
双形参、无返回值的函数式接口,方便开发者进行 lambda 表达式风格调用
- SaValue2Box - Class in cn.dev33.satoken.util
-
封装两个值的容器,方便取值、写值等操作,value1 和 value2 用逗号隔开,形如:123,abc
- SaValue2Box(Object, Object) - Constructor for class cn.dev33.satoken.util.SaValue2Box
-
直接提供两个值构建
- SaValue2Box(String) - Constructor for class cn.dev33.satoken.util.SaValue2Box
-
根据字符串构建,字符串形如:123,abc
- savePastToken(String, long) - Method in class cn.dev33.satoken.same.SaSameTemplate
-
保存 Past-Same-Token
- saveToken(String) - Method in class cn.dev33.satoken.same.SaSameTemplate
-
保存 Same-Token
- saveToken(String, Object, long) - Method in class cn.dev33.satoken.temp.SaTempTemplate
-
保存 token
- saveToken(String, Object, long) - Static method in class cn.dev33.satoken.temp.SaTempUtil
-
保存 token
- saveTokenToIdMapping(String, Object, long) - Method in class cn.dev33.satoken.stp.StpLogic
-
存储 token - id 映射关系
- searchData(String, String, int, int, boolean) - Method in interface cn.dev33.satoken.dao.SaTokenDao
-
搜索数据
- searchData(String, String, int, int, boolean) - Method in class cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
- searchList(Collection<String>, String, String, int, int, boolean) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
从集合里查询数据
- searchList(List<String>, int, int, boolean) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
从集合里查询数据
- searchSessionId(String, int, int, boolean) - Method in class cn.dev33.satoken.stp.StpLogic
-
根据条件查询缓存中所有的 SessionId
- searchSessionId(String, int, int, boolean) - Static method in class cn.dev33.satoken.stp.StpUtil
-
根据条件查询缓存中所有的 SessionId
- searchTokenSessionId(String, int, int, boolean) - Method in class cn.dev33.satoken.stp.StpLogic
-
根据条件查询缓存中所有的 Token-Session-Id
- searchTokenSessionId(String, int, int, boolean) - Static method in class cn.dev33.satoken.stp.StpUtil
-
根据条件查询缓存中所有的 Token-Session-Id
- searchTokenValue(String, int, int, boolean) - Method in class cn.dev33.satoken.stp.StpLogic
-
根据条件查询缓存中所有的 token
- searchTokenValue(String, int, int, boolean) - Static method in class cn.dev33.satoken.stp.StpUtil
-
根据条件查询缓存中所有的 token
- secretKeyLength - Variable in class cn.dev33.satoken.secure.totp.SaTotpTemplate
-
密钥长度(字节,推荐16或32)
- SESSION_TYPE__ACCOUNT - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
SaSession 的类型: Account-Session
- SESSION_TYPE__ANON - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
SaSession 的类型: Anon-Token-Session
- SESSION_TYPE__CUSTOM - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
SaSession 的类型: Custom-Session
- SESSION_TYPE__TOKEN - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
SaSession 的类型: Token-Session
- sessionClassType - Variable in class cn.dev33.satoken.strategy.SaStrategy
-
反序列化 SaSession 时默认指定的类型
- sessionKey - Static variable in class cn.dev33.satoken.session.SaSessionCustomUtil
-
添加上指定前缀,防止恶意伪造数据
- sessionTimeout - Variable in class cn.dev33.satoken.stp.SaTokenInfo
-
Account-Session 剩余有效时间(单位: 秒)
- set(String, Object) - Method in class cn.dev33.satoken.application.SaApplication
-
写值
- set(String, Object) - Method in interface cn.dev33.satoken.application.SaSetValueInterface
-
写值
- set(String, Object) - Method in class cn.dev33.satoken.context.mock.SaStorageForMock
-
在 [Request作用域] 里写入一个值
- set(String, Object) - Method in interface cn.dev33.satoken.context.model.SaStorage
-
写值
- set(String, Object) - Method in class cn.dev33.satoken.session.SaSession
-
写值
- set(String, Object) - Method in class cn.dev33.satoken.util.SaResult
-
写入一个值 自定义key, 连缀风格
- set(String, Object, long) - Method in class cn.dev33.satoken.application.SaApplication
-
写值
- set(String, String, long) - Method in interface cn.dev33.satoken.dao.auto.SaTokenDaoByStringFollowObject
- set(String, String, long) - Method in interface cn.dev33.satoken.dao.SaTokenDao
-
写入 value,并设定存活时间(单位: 秒)
- setActiveTimeout(long) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setActiveTimeout(long) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- setActiveTimeout(long) - Static method in class cn.dev33.satoken.stp.SaLoginConfig
-
Deprecated.
- setActivityTimeout(long) - Method in class cn.dev33.satoken.config.SaTokenConfig
-
Deprecated.
- setAuth(SaFilterAuthStrategy) - Method in interface cn.dev33.satoken.filter.SaFilter
-
写入[ 认证函数 ]: 每次请求执行
- setAutoRenew(SaAutoRenewFunction) - Method in class cn.dev33.satoken.strategy.SaStrategy
-
是否自动续期
- setAutoRenew(Boolean) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setBasic(String) - Method in class cn.dev33.satoken.config.SaTokenConfig
-
Deprecated.
- setBeforeAuth(SaFilterAuthStrategy) - Method in interface cn.dev33.satoken.filter.SaFilter
-
写入[ 前置函数 ]:在每次[ 认证函数 ]之前执行。
- setByNull(String, Object) - Method in interface cn.dev33.satoken.application.SaSetValueInterface
-
写值 (只有在此 key 原本无值的情况下才会写入)
- setByNull(String, Object) - Method in class cn.dev33.satoken.session.SaSession
-
写值 (只有在此 key 原本无值的情况下才会写入)
- setCheckSameToken(Boolean) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setCnonce(String) - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
设置 客户端随机数,由客户端提供
- setCode(int) - Method in exception cn.dev33.satoken.exception.SaTokenException
-
写入异常细分状态码
- setCode(int) - Method in class cn.dev33.satoken.util.SaResult
-
给code赋值,连缀风格
- setConfig(SaTokenConfig) - Static method in class cn.dev33.satoken.SaManager
- setConfig(SaTokenConfig) - Method in class cn.dev33.satoken.stp.StpLogic
-
写入当前 StpLogic 单独使用的配置对象
- setContext(SaRequest, SaResponse, SaStorage) - Method in interface cn.dev33.satoken.context.SaTokenContext
-
初始化上下文
- setContext(SaRequest, SaResponse, SaStorage) - Method in class cn.dev33.satoken.context.SaTokenContextDefaultImpl
- setContext(SaRequest, SaResponse, SaStorage) - Method in interface cn.dev33.satoken.context.SaTokenContextForReadOnly
- setContext(SaRequest, SaResponse, SaStorage) - Method in class cn.dev33.satoken.context.SaTokenContextForThreadLocal
- setCookie(SaCookieConfig) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setCookie(SaCookieConfig) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- setCookieAutoFillPrefix(Boolean) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setCreateSession(SaCreateSessionFunction) - Method in class cn.dev33.satoken.strategy.SaStrategy
-
重写创建 Session 的策略
- setCreateStpLogic(SaCreateStpLogicFunction) - Method in class cn.dev33.satoken.strategy.SaStrategy
-
创建 StpLogic 的算法
- setCreateTime(long) - Method in class cn.dev33.satoken.session.SaSession
-
写入:此 SaSession 的创建时间(13位时间戳)
- setCreateTime(long) - Method in class cn.dev33.satoken.session.SaTerminalInfo
-
设置 创建时间
- setCreateToken(SaCreateTokenFunction) - Method in class cn.dev33.satoken.strategy.SaStrategy
-
重写创建 Token 的策略
- setCurrDomain(String) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setData(Object) - Method in class cn.dev33.satoken.util.SaResult
-
给data赋值,连缀风格
- setDataMap(Map<String, Object>) - Method in class cn.dev33.satoken.session.SaSession
-
设置数据挂载集合 (改变底层对象引用,将 dataMap 整个对象替换)
- setDataRefreshPeriod(int) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setDefaultValues(SaTokenConfig) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
根据 SaTokenConfig 对象初始化默认值
- setDefaultValues(SaTokenConfig) - Method in class cn.dev33.satoken.stp.parameter.SaLogoutParameter
-
根据 SaTokenConfig 对象初始化默认值
- setDevice(String) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
Deprecated.
- setDevice(String) - Static method in class cn.dev33.satoken.stp.SaLoginConfig
-
Deprecated.
- setDeviceId(String) - Method in class cn.dev33.satoken.session.SaTerminalInfo
-
设置 登录设备唯一标识,例如:kQwIOrYvnXmSDkwEiFngrKidMcdrgKorXmSDkwEiFngrKidM
- setDeviceId(String) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
设置 此次登录的客户端设备id
- setDeviceId(String) - Method in class cn.dev33.satoken.stp.parameter.SaLogoutParameter
-
需要注销的设备类型 (为 null 代表不限制,为具体值代表只注销此设备 ID 的会话)
(此参数只在调用 StpUtil.logout(id, parame) 时有效) - setDeviceType(String) - Method in class cn.dev33.satoken.session.SaTerminalInfo
-
写入所属设备类型
- setDeviceType(String) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- setDeviceType(String) - Method in class cn.dev33.satoken.stp.parameter.SaLogoutParameter
-
需要注销的设备类型 (为 null 代表不限制,为具体值代表只注销此设备类型的会话)
(此参数只在调用 StpUtil.logout(id, parame) 时有效) - setDisableLevel(int) - Method in class cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
- setDisableTime(long) - Method in class cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
- setDomain(String) - Method in class cn.dev33.satoken.config.SaCookieConfig
-
写入:Cookie 作用域
- setDomain(String) - Method in class cn.dev33.satoken.context.model.SaCookie
- setDynamicActiveTimeout(Boolean) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setError(SaFilterErrorStrategy) - Method in interface cn.dev33.satoken.filter.SaFilter
-
写入[ 异常处理函数 ]:每次[ 认证函数 ]发生异常时执行此函数
- setExcludeList(List<String>) - Method in interface cn.dev33.satoken.filter.SaFilter
-
写入 [ 放行路由 ] 集合
- setExtra(String, Object) - Method in class cn.dev33.satoken.session.SaTerminalInfo
-
此次登录的自定义扩展数据 (只允许在登录前设定,登录后不建议更改)
- setExtra(String, Object) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
写入扩展数据(只在jwt模式下生效)
- setExtra(String, Object) - Static method in class cn.dev33.satoken.stp.SaLoginConfig
-
Deprecated.写入扩展数据(只在jwt模式下生效)
- setExtraAttrs(Map<String, String>) - Method in class cn.dev33.satoken.config.SaCookieConfig
-
写入额外扩展属性
- setExtraAttrs(Map<String, String>) - Method in class cn.dev33.satoken.context.model.SaCookie
-
写入额外扩展属性
- setExtraData(Map<String, Object>) - Method in class cn.dev33.satoken.session.SaTerminalInfo
-
设置 此客户端登录的挂载数据
- setExtraData(Map<String, Object>) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- setExtraData(Map<String, Object>) - Static method in class cn.dev33.satoken.stp.SaLoginConfig
-
Deprecated.
- setGenerateUniqueToken(SaGenerateUniqueTokenFunction) - Method in class cn.dev33.satoken.strategy.SaStrategy
-
生成唯一式 token 的算法
- setHasElement(SaHasElementFunction) - Method in class cn.dev33.satoken.strategy.SaStrategy
-
判断:集合中是否包含指定元素(模糊匹配)
- setHeader(String, String) - Method in class cn.dev33.satoken.context.mock.SaResponseForMock
-
在响应头里写入一个值
- setHeader(String, String) - Method in interface cn.dev33.satoken.context.model.SaResponse
-
在响应头里写入一个值
- setHistoryTerminalCount(int) - Method in class cn.dev33.satoken.session.SaSession
-
设置 当前账号历史总计登录设备数量 (当此 SaSession 属于 Account-Session 时,此值有效)
- setHit(boolean) - Method in class cn.dev33.satoken.router.SaRouterStaff
- setHttpBasic(String) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setHttpDigest(String) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setHttpOnly(Boolean) - Method in class cn.dev33.satoken.config.SaCookieConfig
- setHttpOnly(Boolean) - Method in class cn.dev33.satoken.context.model.SaCookie
- setId(String) - Method in class cn.dev33.satoken.session.SaSession
-
写入:此 SaSession 的 id
- setIncludeList(List<String>) - Method in interface cn.dev33.satoken.filter.SaFilter
-
写入 [ 拦截路由 ] 集合
- setIndex(int) - Method in class cn.dev33.satoken.session.SaTerminalInfo
-
设置 登录会话索引值 (该账号第几个登录的设备)
- setIsColorLog(Boolean) - Method in class cn.dev33.satoken.config.SaTokenConfig
-
设置:是否打印彩色日志
- setIsConcurrent(Boolean) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setIsConcurrent(Boolean) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- setIsDisable(boolean) - Method in class cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
- setIsKeepFreezeOps(Boolean) - Method in class cn.dev33.satoken.stp.parameter.SaLogoutParameter
-
设置 如果 token 已被冻结,是否保留其操作权 (是否允许此 token 调用注销API)
(此参数只在调用 StpUtil. - setIsKeepTokenSession(Boolean) - Method in class cn.dev33.satoken.stp.parameter.SaLogoutParameter
- setIsLastingCookie(Boolean) - Method in class cn.dev33.satoken.config.SaTokenConfig
-
设置 是否为持久Cookie(临时Cookie在浏览器关闭时会自动删除,持久Cookie在重新打开后依然存在)
- setIsLastingCookie(Boolean) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- setIsLastingCookie(Boolean) - Static method in class cn.dev33.satoken.stp.SaLoginConfig
-
Deprecated.
- setIsLog(Boolean) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setIsLogin(Boolean) - Method in class cn.dev33.satoken.stp.SaTokenInfo
- setIsLogoutKeepFreezeOps(Boolean) - Method in class cn.dev33.satoken.config.SaTokenConfig
-
设置 如果 token 已被冻结,是否保留其操作权 (是否允许此 token 调用注销API)
(此参数只在调用 StpUtil. - setIsLogoutKeepTokenSession(Boolean) - Method in class cn.dev33.satoken.config.SaTokenConfig
-
设置 在注销 token 后,是否保留其对应的 Token-Session
- setIsPrint(Boolean) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setIsReadBody(Boolean) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setIsReadCookie(Boolean) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setIsReadHeader(Boolean) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setIsShare(Boolean) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setIsShare(Boolean) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- setIsWriteHeader(Boolean) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setIsWriteHeader(Boolean) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- setIsWriteHeader(Boolean) - Static method in class cn.dev33.satoken.stp.SaLoginConfig
-
Deprecated.
- setJsonString(String) - Method in class cn.dev33.satoken.util.SaResult
-
写入一个 json 字符串, 连缀风格
- setJwtSecretKey(String) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setLastActiveToNow(String, Long, Long) - Method in class cn.dev33.satoken.stp.StpLogic
-
写入指定 token 的 [ 最后活跃时间 ] 为当前时间戳 √√√
- setListenerList(List<SaTokenListener>) - Static method in class cn.dev33.satoken.listener.SaTokenEventCenter
-
重置侦听器集合
- setLog(SaLog) - Static method in class cn.dev33.satoken.SaManager
- setLoginDeviceType(String) - Method in class cn.dev33.satoken.stp.SaTokenInfo
- setLoginId(Object) - Method in class cn.dev33.satoken.session.SaSession
-
设置:所属 loginId (当此 SaSession 属于 Account-Session 时,此值有效)
- setLoginId(Object) - Method in class cn.dev33.satoken.stp.SaTokenInfo
- setLoginType(String) - Method in class cn.dev33.satoken.session.SaSession
-
设置:所属 loginType
- setLoginType(String) - Method in class cn.dev33.satoken.stp.SaTokenInfo
- setLoginType(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
安全的重置当前账号类型
- setLogLevel(String) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setLogLevelInt(int) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setLogoutRange(SaLogoutRange) - Method in class cn.dev33.satoken.config.SaTokenConfig
-
设置 注销范围 (TOKEN=只注销当前 token 的会话,ACCOUNT=注销当前 token 指向的 loginId 其所有客户端会话)
(此参数只在调用 StpUtil.logout() 时有效) - setMap(Map<String, ?>) - Method in class cn.dev33.satoken.util.SaResult
-
写入一个Map, 连缀风格
- setMaxAge(int) - Method in class cn.dev33.satoken.context.model.SaCookie
- setMaxLoginCount(int) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setMaxLoginCount(int) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- setMaxTryTimes(int) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setMaxTryTimes(int) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- setMethod(String) - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
设置 请求方法
- setMockContext() - Static method in class cn.dev33.satoken.context.mock.SaTokenContextMockUtil
-
写入 Mock 上下文
- setMockContext(SaFunction) - Static method in class cn.dev33.satoken.context.mock.SaTokenContextMockUtil
-
写入 Mock 上下文,并执行一段代码,执行完毕后清除上下文
- setMockContext(SaRetGenericFunction<T>) - Static method in class cn.dev33.satoken.context.mock.SaTokenContextMockUtil
-
写入 Mock 上下文,并执行一段代码,执行完毕后清除上下文
- setMode(SaLogoutMode) - Method in class cn.dev33.satoken.stp.parameter.SaLogoutParameter
-
注销类型 (LOGOUT=注销下线、KICKOUT=踢人下线,REPLACED=顶人下线)
- setModelBox(SaRequest, SaResponse, SaStorage) - Static method in class cn.dev33.satoken.context.SaTokenContextForThreadLocalStaff
-
初始化当前线程的 [ Box 存储器 ]
- setMsg(String) - Method in class cn.dev33.satoken.util.SaResult
-
给msg赋值,连缀风格
- setName(String) - Method in class cn.dev33.satoken.context.model.SaCookie
- setNc(String) - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
设置 nonce计数器,是一个16进制的数值,表示同一nonce下客户端发送出请求的数量
- setNonce(String) - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
设置 随机数
- setObject(String, Object, long) - Method in interface cn.dev33.satoken.dao.auto.SaTokenDaoByObjectFollowString
-
写入 Object,并设定存活时间 (单位: 秒)
- setObject(String, Object, long) - Method in interface cn.dev33.satoken.dao.SaTokenDao
-
写入 Object,并设定存活时间 (单位: 秒)
- setObject(String, Object, long) - Method in class cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
- setObject(String, Object, long) - Method in class cn.dev33.satoken.dao.timedcache.SaTimedCache
- setOpaque(String) - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
设置 opaque
- setOverflowLogoutMode(SaLogoutMode) - Method in class cn.dev33.satoken.config.SaTokenConfig
-
设置 溢出 maxLoginCount 的客户端,将以何种方式注销下线 (LOGOUT=注销下线, KICKOUT=踢人下线, REPLACED=顶人下线)
- setOverflowLogoutMode(SaLogoutMode) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
设置 溢出 maxLoginCount 的客户端,将以何种方式注销下线 (LOGOUT=注销下线, KICKOUT=踢人下线, REPLACED=顶人下线)
- setPassword(String) - Method in class cn.dev33.satoken.httpauth.basic.SaHttpBasicAccount
-
设置 密码
- setPassword(String) - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
设置 密码
- setPath(String) - Method in class cn.dev33.satoken.config.SaCookieConfig
- setPath(String) - Method in class cn.dev33.satoken.context.model.SaCookie
- setQop(String) - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
设置 保护质量(auth=默认的,auth-int=增加报文完整性检测),可以为空,但不推荐
- setRange(SaLogoutRange) - Method in class cn.dev33.satoken.stp.parameter.SaLogoutParameter
-
注销范围 (TOKEN=只注销当前 token 的会话,ACCOUNT=注销当前 token 指向的 loginId 其所有客户端会话)
(此参数只在调用 StpUtil.logout(param) 时有效) - setRealm(String) - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
设置 领域
- setReplacedLoginExitMode(SaReplacedLoginExitMode) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setReplacedLoginExitMode(SaReplacedLoginExitMode) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
设置:在 isConcurrent=false 时,决定新旧设备谁将放弃会话 (OLD_DEVICE=旧设备下线,新设备登录成功, NEW_DEVICE=新设备登录失败,旧设备维持在线)
- setReplacedRange(SaReplacedRange) - Method in class cn.dev33.satoken.config.SaTokenConfig
-
设置 当 isConcurrent=false 时,顶人下线的范围 (CURR_DEVICE_TYPE=当前指定的设备类型端 ALL_DEVICE_TYPE=所有设备类型端)
- setReplacedRange(SaReplacedRange) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
当 isConcurrent=false 时,顶人下线的范围 (CURR_DEVICE_TYPE=当前指定的设备类型端, ALL_DEVICE_TYPE=所有设备类型端)
- setRequest(SaRequest) - Method in class cn.dev33.satoken.context.model.SaTokenContextModelBox
- setResponse(SaResponse) - Method in class cn.dev33.satoken.context.model.SaTokenContextModelBox
- setResponse(String) - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
设置 请求摘要,最终计算的摘要结果
- setRightNowCreateTokenSession(Boolean) - Method in class cn.dev33.satoken.config.SaTokenConfig
-
设置 在登录时,是否立即创建对应的 Token-Session (true=在登录时立即创建,false=在第一次调用 getTokenSession() 时创建)
- setRightNowCreateTokenSession(Boolean) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
设置 在登录时,是否立即创建对应的 Token-Session (true=在登录时立即创建,false=在第一次调用 getTokenSession() 时创建)
- setSaHttpTemplate(SaHttpTemplate) - Static method in class cn.dev33.satoken.SaManager
- setSaJsonTemplate(SaJsonTemplate) - Static method in class cn.dev33.satoken.SaManager
- setSameSite(String) - Method in class cn.dev33.satoken.config.SaCookieConfig
- setSameSite(String) - Method in class cn.dev33.satoken.context.model.SaCookie
- setSameTokenTimeout(long) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setSaSameTemplate(SaSameTemplate) - Static method in class cn.dev33.satoken.SaManager
- setSaSerializerTemplate(SaSerializerTemplate) - Static method in class cn.dev33.satoken.SaManager
- setSaTempTemplate(SaTempTemplate) - Static method in class cn.dev33.satoken.SaManager
- setSaTokenContext(SaTokenContext) - Static method in class cn.dev33.satoken.SaManager
- setSaTokenDao(SaTokenDao) - Static method in class cn.dev33.satoken.SaManager
- setSaTotpTemplate(SaTotpTemplate) - Static method in class cn.dev33.satoken.SaManager
- setSecure(Boolean) - Method in class cn.dev33.satoken.config.SaCookieConfig
- setSecure(Boolean) - Method in class cn.dev33.satoken.context.model.SaCookie
- setServer(String) - Method in interface cn.dev33.satoken.context.model.SaResponse
-
在响应头写入 [Server] 服务器名称
- setSession(SaSession, long) - Method in interface cn.dev33.satoken.dao.auto.SaTokenDaoBySessionFollowObject
-
写入 SaSession,并设定存活时间(单位: 秒)
- setSession(SaSession, long) - Method in interface cn.dev33.satoken.dao.SaTokenDao
-
写入 SaSession,并设定存活时间(单位: 秒)
- setSessionTimeout(long) - Method in class cn.dev33.satoken.stp.SaTokenInfo
- setStatus(int) - Method in class cn.dev33.satoken.context.mock.SaResponseForMock
-
设置响应状态码
- setStatus(int) - Method in interface cn.dev33.satoken.context.model.SaResponse
-
设置响应状态码
- setStorage(SaStorage) - Method in class cn.dev33.satoken.context.model.SaTokenContextModelBox
- setStpInterface(StpInterface) - Static method in class cn.dev33.satoken.SaManager
- setStpLogic(StpLogic) - Static method in class cn.dev33.satoken.stp.StpUtil
-
安全的重置 StpLogic 对象
1、更改此账户的 StpLogic 对象
2、put 到全局 StpLogic 集合中
3、发送日志 - setTag(String) - Method in class cn.dev33.satoken.stp.SaTokenInfo
- setTerminalExtra(String, Object) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
写入本次登录挂载到 SaTerminalInfo 的自定义扩展数据
- setTerminalExtraData(Map<String, Object>) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
设置 本次登录挂载到 SaTerminalInfo 的自定义扩展数据
- setTerminalList(List<SaTerminalInfo>) - Method in class cn.dev33.satoken.session.SaSession
-
写入登录终端信息列表
- setTimeout(long) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setTimeout(long) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- setTimeout(long) - Static method in class cn.dev33.satoken.stp.SaLoginConfig
-
Deprecated.
- setToken(String) - Method in class cn.dev33.satoken.session.SaSession
-
设置:所属 Token (当此 SaSession 属于 Token-Session 时,此值有效)
- setToken(String) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- setToken(String) - Static method in class cn.dev33.satoken.stp.SaLoginConfig
-
Deprecated.
- setTokenActiveTimeout(long) - Method in class cn.dev33.satoken.stp.SaTokenInfo
- setTokenName(String) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setTokenName(String) - Method in class cn.dev33.satoken.stp.SaTokenInfo
- setTokenPrefix(String) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setTokenSessionCheckLogin(Boolean) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setTokenSessionTimeout(long) - Method in class cn.dev33.satoken.stp.SaTokenInfo
- setTokenSignTag(Map<String, Object>) - Static method in class cn.dev33.satoken.stp.SaLoginConfig
-
Deprecated.设置 本次登录挂载到 TokenSign 的数据
- setTokenStyle(String) - Method in class cn.dev33.satoken.config.SaTokenConfig
- setTokenTimeout(long) - Method in class cn.dev33.satoken.stp.SaTokenInfo
- setTokenValue(String) - Method in class cn.dev33.satoken.session.SaTerminalInfo
-
写入 Token 值
- setTokenValue(String) - Method in class cn.dev33.satoken.stp.SaTokenInfo
- setTokenValue(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
在当前会话写入指定 token 值
- setTokenValue(String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
在当前会话写入指定 token 值
- setTokenValue(String, int) - Method in class cn.dev33.satoken.stp.StpLogic
-
在当前会话写入指定 token 值
- setTokenValue(String, int) - Static method in class cn.dev33.satoken.stp.StpUtil
-
在当前会话写入指定 token 值
- setTokenValue(String, SaLoginParameter) - Method in class cn.dev33.satoken.stp.StpLogic
-
在当前会话写入指定 token 值
- setTokenValue(String, SaLoginParameter) - Static method in class cn.dev33.satoken.stp.StpUtil
-
在当前会话写入指定 token 值
- setTokenValueToCookie(String, int) - Method in class cn.dev33.satoken.stp.StpLogic
-
将 token 写入到当前会话的 Cookie 里
- setTokenValueToCookie(String, SaCookieConfig, int) - Method in class cn.dev33.satoken.stp.StpLogic
-
将 token 写入到当前会话的 Cookie 里
- setTokenValueToResponseHeader(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
将 token 写入到当前请求的响应头中
- setTokenValueToStorage(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
将 token 写入到当前请求的 Storage 存储器里
- setTokenValueToStorage(String) - Static method in class cn.dev33.satoken.stp.StpUtil
-
将 token 写入到当前请求的 Storage 存储器里
- setType(String) - Method in class cn.dev33.satoken.session.SaSession
-
设置:此 SaSession 的 类型
- setupCookieConfig(SaParamFunction<SaCookieConfig>) - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
-
设置 Cookie 配置项
- setUri(String) - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
设置 请求 uri
- setUsername(String) - Method in class cn.dev33.satoken.httpauth.basic.SaHttpBasicAccount
-
设置 账号
- setUsername(String) - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
设置 用户名
- setValue(String) - Method in class cn.dev33.satoken.context.model.SaCookie
- setValue1(Object) - Method in class cn.dev33.satoken.util.SaValue2Box
-
设置第一个值
- setValue2(Object) - Method in class cn.dev33.satoken.util.SaValue2Box
-
设置第二个值
- sha1(String) - Static method in class cn.dev33.satoken.secure.SaSecureUtil
-
sha1加密
- sha256(String) - Static method in class cn.dev33.satoken.secure.SaSecureUtil
-
sha256加密
- sha256BySalt(String, String) - Static method in class cn.dev33.satoken.secure.SaSecureUtil
-
Deprecated.
- sha384(String) - Static method in class cn.dev33.satoken.secure.SaSecureUtil
-
sha384加密
- sha512(String) - Static method in class cn.dev33.satoken.secure.SaSecureUtil
-
sha512加密
- spiDir - Variable in class cn.dev33.satoken.plugin.SaTokenPluginHolder
-
SPI 文件所在目录名称
- spliceTwoUrl(String, String) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
拼接两个url
- splicingDataKey(String) - Method in class cn.dev33.satoken.application.SaApplication
-
拼接key:当存入一个变量时,应该使用的 key
- splicingKeyDisable(Object, String) - Method in class cn.dev33.satoken.stp.StpLogic
-
拼接: 在保存服务封禁标记时,应该使用的 key
- splicingKeyJustCreatedSave() - Method in class cn.dev33.satoken.stp.StpLogic
-
如果 token 为本次请求新创建的,则以此字符串为 key 存储在当前 request 中
- splicingKeyLastActiveTime(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
拼接: 在保存 token 最后活跃时间时,应该使用的 key
- splicingKeySafe(String, String) - Method in class cn.dev33.satoken.stp.StpLogic
-
拼接: 在保存业务二级认证标记时,应该使用的 key
- splicingKeySession(Object) - Method in class cn.dev33.satoken.stp.StpLogic
-
拼接: 在保存 Account-Session 时,应该使用的 key
- splicingKeySwitch() - Method in class cn.dev33.satoken.stp.StpLogic
-
拼接:在进行临时身份切换时,应该使用的 key
- splicingKeyTokenName() - Method in class cn.dev33.satoken.stp.StpLogic
-
获取:客户端 tokenName
- splicingKeyTokenSession(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
拼接:在保存 Token-Session 时,应该使用的 key
- splicingKeyTokenValue(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
拼接: 在保存 token - id 映射关系时,应该使用的key
- splicingPastTokenSaveKey() - Method in class cn.dev33.satoken.same.SaSameTemplate
-
拼接key:次级 Same-Token 的存储 key
- splicingSessionKey(String) - Static method in class cn.dev33.satoken.session.SaSessionCustomUtil
-
拼接Key: 在存储自定义 SaSession 时应该使用的 key
- splicingSessionKey(String, Object) - Static method in class cn.dev33.satoken.session.raw.SaRawSessionUtil
-
拼接Key: 在存储 SaSession 时应该使用的 key
- splicingTempTokenSaveKey(String) - Method in class cn.dev33.satoken.temp.SaTempTemplate
-
获取:在存储临时 token 数据时,应该使用的 key
- splicingTokenSaveKey() - Method in class cn.dev33.satoken.same.SaSameTemplate
-
拼接key:Same-Token 的存储 key
- status - Variable in class cn.dev33.satoken.context.mock.SaResponseForMock
- stop() - Static method in class cn.dev33.satoken.router.SaRouter
-
停止匹配,跳出函数 (在多个匹配链中一次性跳出Auth函数)
- stop() - Method in class cn.dev33.satoken.router.SaRouterStaff
-
停止匹配,跳出函数 (在多个匹配链中一次性跳出Auth函数)
- StopMatchException - Exception in cn.dev33.satoken.exception
-
一个异常:代表停止路由匹配,进入 Controller (框架内部专属异常,一般情况下开发者无需关注)
- StopMatchException() - Constructor for exception cn.dev33.satoken.exception.StopMatchException
-
构造
- storage - Variable in class cn.dev33.satoken.context.model.SaTokenContextModelBox
- StpInterface - Interface in cn.dev33.satoken.stp
-
权限数据源加载接口
- StpInterfaceDefaultImpl - Class in cn.dev33.satoken.stp
-
对
StpInterface接口默认的实现类 - StpInterfaceDefaultImpl() - Constructor for class cn.dev33.satoken.stp.StpInterfaceDefaultImpl
- stpLogic - Static variable in class cn.dev33.satoken.stp.StpUtil
-
底层使用的 StpLogic 对象
- StpLogic - Class in cn.dev33.satoken.stp
-
Sa-Token 权限认证,逻辑实现类
- StpLogic(String) - Constructor for class cn.dev33.satoken.stp.StpLogic
-
初始化 StpLogic, 并指定账号类型
- stpLogicMap - Static variable in class cn.dev33.satoken.SaManager
-
StpLogic 集合, 记录框架所有成功初始化的 StpLogic
- StpUtil - Class in cn.dev33.satoken.stp
-
Sa-Token 权限认证工具类
- StrFormatter - Class in cn.dev33.satoken.util
-
字符串格式化工具,将字符串中的 {} 按序替换为参数
- StrFormatter() - Constructor for class cn.dev33.satoken.util.StrFormatter
- stringToBytes(String) - Method in interface cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdk
-
String 转换为 byte[]
- stringToBytes(String) - Method in class cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdkUseBase64
- stringToBytes(String) - Method in class cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdkUseHex
- stringToBytes(String) - Method in class cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdkUseISO_8859_1
- stringToObject(String) - Method in interface cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJdk
- stringToObject(String) - Method in class cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJson
- stringToObject(String) - Method in interface cn.dev33.satoken.serializer.SaSerializerTemplate
-
反序列化:字符串 → 对象
- stringToObject(String, Class<T>) - Method in class cn.dev33.satoken.serializer.impl.SaSerializerTemplateForJson
- stringToObject(String, Class<T>) - Method in interface cn.dev33.satoken.serializer.SaSerializerTemplate
-
反序列化:字符串 → 对象 (指定类型)
- SWITCH_TO_SAVE_KEY - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
常量 key 标记: 在进行临时身份切换时使用的 key
- switchTo(Object) - Method in class cn.dev33.satoken.stp.StpLogic
-
临时切换身份为指定账号id
- switchTo(Object) - Static method in class cn.dev33.satoken.stp.StpUtil
-
临时切换身份为指定账号id
- switchTo(Object, SaFunction) - Method in class cn.dev33.satoken.stp.StpLogic
-
在一个 lambda 代码段里,临时切换身份为指定账号id,lambda 结束后自动恢复
- switchTo(Object, SaFunction) - Static method in class cn.dev33.satoken.stp.StpUtil
-
在一个 lambda 代码段里,临时切换身份为指定账号id,lambda 结束后自动恢复
T
- tag - Variable in class cn.dev33.satoken.stp.SaTokenInfo
-
自定义数据(暂无意义,留作扩展)
- TEMP_TOKEN_MAP - Static variable in class cn.dev33.satoken.temp.SaTempTemplate
-
在 raw-session 中的保存索引列表使用的 key
- terminalListCopy() - Method in class cn.dev33.satoken.session.SaSession
-
获取 登录终端信息列表 (拷贝副本)
- throwNotBasicAuthException(String) - Method in class cn.dev33.satoken.httpauth.basic.SaHttpBasicTemplate
-
在校验失败时,设置响应头,并抛出异常
- throwNotHttpDigestAuthException(SaHttpDigestModel) - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestTemplate
-
在校验失败时,设置响应头,并抛出异常
- timedCache - Variable in class cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
- timeout() - Method in class cn.dev33.satoken.session.SaSession
-
获取此Session的剩余存活时间 (单位: 秒)
- timeStep - Variable in class cn.dev33.satoken.secure.totp.SaTotpTemplate
-
时间窗口步长(秒)
- toArray(List<String>) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
String 集合转数组
- toEnum(String) - Static method in enum class cn.dev33.satoken.router.SaHttpMethod
-
String 转 enum
- toEnumArray(String...) - Static method in enum class cn.dev33.satoken.router.SaHttpMethod
-
String[] 转 enum[]
- toHeaderValue() - Method in class cn.dev33.satoken.context.model.SaCookie
-
转换为响应头 Set-Cookie 参数需要的值
- TOKEN - Enum constant in enum class cn.dev33.satoken.stp.parameter.enums.SaLogoutRange
-
token 范围:只注销提供的 token 指向的会话
- TOKEN_ACTIVE_TIMEOUT_CHECKED_KEY - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
常量 key 标记: 如果本次请求已经验证过 activeTimeout, 则以此 key 在 storage 中做一个标记
- TOKEN_ACTIVITY_TIMEOUT_CHECKED_KEY - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
Deprecated.
- TOKEN_CONNECTOR_CHAT - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
连接 Token 前缀和 Token 值的字符
- TOKEN_FREEZE - Static variable in exception cn.dev33.satoken.exception.NotLoginException
-
表示 token 已被冻结
- TOKEN_FREEZE_MESSAGE - Static variable in exception cn.dev33.satoken.exception.NotLoginException
- TOKEN_STYLE_RANDOM_128 - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
Token风格: 128位随机字符串
- TOKEN_STYLE_RANDOM_32 - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
Token风格: 32位随机字符串
- TOKEN_STYLE_RANDOM_64 - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
Token风格: 64位随机字符串
- TOKEN_STYLE_SIMPLE_UUID - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
Token风格: 简单uuid (不带下划线)
- TOKEN_STYLE_TIK - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
Token风格: tik风格 (2_14_16)
- TOKEN_STYLE_UUID - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
Token风格: uuid
- TOKEN_TIMEOUT - Static variable in exception cn.dev33.satoken.exception.NotLoginException
-
表示 token 已过期
- TOKEN_TIMEOUT_MESSAGE - Static variable in exception cn.dev33.satoken.exception.NotLoginException
- tokenActiveTimeout - Variable in class cn.dev33.satoken.stp.SaTokenInfo
-
token 距离被冻结还剩多少时间(单位: 秒)
- tokenName - Variable in class cn.dev33.satoken.stp.SaTokenInfo
-
token 名称
- tokenSessionTimeout - Variable in class cn.dev33.satoken.stp.SaTokenInfo
-
Token-Session 剩余有效时间(单位: 秒)
- tokenTimeout - Variable in class cn.dev33.satoken.stp.SaTokenInfo
-
token 剩余有效期(单位: 秒)
- tokenValue - Variable in class cn.dev33.satoken.stp.SaTokenInfo
-
token 值
- toList(String...) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
String数组转集合
- toString() - Method in class cn.dev33.satoken.config.SaCookieConfig
- toString() - Method in class cn.dev33.satoken.config.SaTokenConfig
- toString() - Method in class cn.dev33.satoken.context.model.SaCookie
- toString() - Method in class cn.dev33.satoken.context.model.SaTokenContextModelBox
- toString() - Method in class cn.dev33.satoken.httpauth.basic.SaHttpBasicAccount
- toString() - Method in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
- toString() - Method in class cn.dev33.satoken.model.wrapperInfo.SaDisableWrapperInfo
- toString() - Method in class cn.dev33.satoken.session.SaTerminalInfo
- toString() - Method in class cn.dev33.satoken.stp.parameter.SaLoginParameter
- toString() - Method in class cn.dev33.satoken.stp.parameter.SaLogoutParameter
- toString() - Method in class cn.dev33.satoken.stp.SaTokenInfo
-
toString
- toString() - Method in class cn.dev33.satoken.util.SaResult
- toString() - Method in class cn.dev33.satoken.util.SaValue2Box
-
获取两个值的字符串形式,形如:123,abc
- TotpAuthException - Exception in cn.dev33.satoken.exception
-
一个异常:代表 TOTP 校验未通过
- TotpAuthException() - Constructor for exception cn.dev33.satoken.exception.TotpAuthException
-
一个异常:代表会话未通过 Totp 校验
- trace - Static variable in class cn.dev33.satoken.log.SaLogForConsole
-
日志等级
- trace(String, Object...) - Method in interface cn.dev33.satoken.log.SaLog
-
输出 trace 日志
- trace(String, Object...) - Method in class cn.dev33.satoken.log.SaLogForConsole
- TRACE - Enum constant in enum class cn.dev33.satoken.router.SaHttpMethod
- TRACE_COLOR - Static variable in class cn.dev33.satoken.log.SaLogForConsole
-
日志输出的颜色
- TRACE_PREFIX - Static variable in class cn.dev33.satoken.log.SaLogForConsole
- trans(long) - Method in class cn.dev33.satoken.session.SaSession
-
value为 -1 时返回 Long.MAX_VALUE,否则原样返回
- translateLogLevelToInt(String) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
将日志等级从 String 格式转化为 int 格式
- translateLogLevelToString(int) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
将日志等级从 String 格式转化为 int 格式
- ttlToExpireTime(long) - Method in interface cn.dev33.satoken.util.SaTtlMethods
-
ttl (秒) 转 过期时间 (13位时间戳)
- type - Variable in class cn.dev33.satoken.session.raw.SaRawSessionDelegator
-
raw session 类型
- type() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckDisable
-
多账号体系下所属的账号体系标识,非多账号体系无需关注此值
- type() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckLogin
-
多账号体系下所属的账号体系标识,非多账号体系无需关注此值
- type() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckPermission
-
多账号体系下所属的账号体系标识,非多账号体系无需关注此值
- type() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckRole
-
多账号体系下所属的账号体系标识,非多账号体系无需关注此值
- type() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckSafe
-
多账号体系下所属的账号体系标识,非多账号体系无需关注此值
- TYPE - Static variable in class cn.dev33.satoken.stp.StpUtil
-
多账号体系下的类型标识
U
- untieDisable(Object) - Method in class cn.dev33.satoken.stp.StpLogic
-
解封:指定账号
- untieDisable(Object) - Static method in class cn.dev33.satoken.stp.StpUtil
-
解封:指定账号
- untieDisable(Object, String...) - Method in class cn.dev33.satoken.stp.StpLogic
-
解封:指定账号、指定服务
- untieDisable(Object, String...) - Static method in class cn.dev33.satoken.stp.StpUtil
-
解封:指定账号、指定服务
- update() - Method in class cn.dev33.satoken.session.SaSession
-
更新Session(从持久库更新刷新一下)
- update(String, String) - Method in interface cn.dev33.satoken.dao.auto.SaTokenDaoByStringFollowObject
- update(String, String) - Method in interface cn.dev33.satoken.dao.SaTokenDao
-
更新 value (过期时间不变)
- updateLastActiveToNow() - Method in class cn.dev33.satoken.stp.StpLogic
-
续签当前 token:(将 [最后操作时间] 更新为当前时间戳)
- updateLastActiveToNow() - Static method in class cn.dev33.satoken.stp.StpUtil
-
续签当前 token:(将 [最后操作时间] 更新为当前时间戳)
- updateLastActiveToNow(String) - Method in class cn.dev33.satoken.stp.StpLogic
-
续签指定 token:将这个 token 的 [ 最后活跃时间 ] 更新为当前时间戳
- updateMaxTimeout(long) - Method in class cn.dev33.satoken.session.SaSession
-
修改此Session的最大剩余存活时间 (只有在 Session 的过期时间高于指定的 maxTimeout 时才会进行修改)
- updateMinTimeout(long) - Method in class cn.dev33.satoken.session.SaSession
-
修改此Session的最小剩余存活时间 (只有在 Session 的过期时间低于指定的 minTimeout 时才会进行修改)
- updateObject(String, Object) - Method in interface cn.dev33.satoken.dao.auto.SaTokenDaoByObjectFollowString
-
更新 Object (过期时间不变)
- updateObject(String, Object) - Method in interface cn.dev33.satoken.dao.SaTokenDao
-
更新 Object (过期时间不变)
- updateObject(String, Object) - Method in class cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
- updateObject(String, Object) - Method in class cn.dev33.satoken.dao.timedcache.SaTimedCache
- updateObjectTimeout(String, long) - Method in interface cn.dev33.satoken.dao.auto.SaTokenDaoByObjectFollowString
-
修改 Object 的剩余存活时间(单位: 秒)
- updateObjectTimeout(String, long) - Method in interface cn.dev33.satoken.dao.SaTokenDao
-
修改 Object 的剩余存活时间(单位: 秒)
- updateObjectTimeout(String, long) - Method in class cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
- updateObjectTimeout(String, long) - Method in class cn.dev33.satoken.dao.timedcache.SaTimedCache
- updateSession(SaSession) - Method in interface cn.dev33.satoken.dao.auto.SaTokenDaoBySessionFollowObject
-
更新 SaSession
- updateSession(SaSession) - Method in interface cn.dev33.satoken.dao.SaTokenDao
-
更新 SaSession
- updateSessionTimeout(String, long) - Method in interface cn.dev33.satoken.dao.auto.SaTokenDaoBySessionFollowObject
-
修改 SaSession 剩余存活时间(单位: 秒)
- updateSessionTimeout(String, long) - Method in interface cn.dev33.satoken.dao.SaTokenDao
-
修改 SaSession 剩余存活时间(单位: 秒)
- updateTimeout(long) - Method in class cn.dev33.satoken.session.SaSession
-
修改此Session的剩余存活时间
- updateTimeout(String, long) - Method in interface cn.dev33.satoken.dao.auto.SaTokenDaoByStringFollowObject
- updateTimeout(String, long) - Method in interface cn.dev33.satoken.dao.SaTokenDao
-
修改 value 的剩余存活时间(单位: 秒)
- updateTokenToIdMapping(String, Object) - Method in class cn.dev33.satoken.stp.StpLogic
-
更改 token - id 映射关系
- uri - Variable in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
请求 uri
- url - Variable in class cn.dev33.satoken.context.mock.SaRequestForMock
- URL_REGEX - Static variable in class cn.dev33.satoken.util.SaFoxUtil
-
验证URL的正则表达式
- USER - Static variable in class cn.dev33.satoken.session.SaSession
-
在 SaSession 上存储用户对象时建议使用的 key
- username - Variable in class cn.dev33.satoken.httpauth.digest.SaHttpDigestModel
-
用户名
- username() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckHttpDigest
-
用户名
V
- vagueMatch(String, String) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
字符串模糊匹配
- validateTOTP(String, String, int) - Method in class cn.dev33.satoken.secure.totp.SaTotpTemplate
-
判断用户输入的 TOTP 是否有效
- validateTOTP(String, String, int) - Static method in class cn.dev33.satoken.secure.totp.SaTotpUtil
-
判断用户输入的TOTP是否有效
- value() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckDisable
-
服务标识 (具体你要校验是否禁用的服务名称)
- value() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckHttpDigest
-
需要校验的用户名和密码,格式形如 sa:123456
- value() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckPermission
-
需要校验的权限码 [ 数组 ]
- value() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckRole
-
需要校验的角色标识 [ 数组 ]
- value() - Element in annotation interface cn.dev33.satoken.annotation.SaCheckSafe
-
要校验的服务
- value1IsEmpty() - Method in class cn.dev33.satoken.util.SaValue2Box
-
判断第一个值是否为 null 或者空字符串
- value2IsEmpty() - Method in class cn.dev33.satoken.util.SaValue2Box
-
判断第二个值是否为 null 或者空字符串
- valueIsNull(Object) - Method in interface cn.dev33.satoken.application.SaGetValueInterface
-
判断一个值是否为null
- valueOf(String) - Static method in enum class cn.dev33.satoken.annotation.SaMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cn.dev33.satoken.router.SaHttpMethod
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cn.dev33.satoken.stp.parameter.enums.SaLogoutMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cn.dev33.satoken.stp.parameter.enums.SaLogoutRange
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cn.dev33.satoken.stp.parameter.enums.SaReplacedLoginExitMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cn.dev33.satoken.stp.parameter.enums.SaReplacedRange
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class cn.dev33.satoken.annotation.SaMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cn.dev33.satoken.router.SaHttpMethod
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in 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() - Static method in 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() - Static method in enum class cn.dev33.satoken.stp.parameter.enums.SaReplacedLoginExitMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in 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.
- valueToString(Object) - Static method in class cn.dev33.satoken.util.SaFoxUtil
-
将 value 转化为 String,如果 value 为 null,则返回空字符串
- VERSION_NO - Static variable in class cn.dev33.satoken.util.SaTokenConsts
-
Sa-Token 当前版本号
W
- warn - Static variable in class cn.dev33.satoken.log.SaLogForConsole
- warn(String, Object...) - Method in interface cn.dev33.satoken.log.SaLog
-
输出 warn 日志
- warn(String, Object...) - Method in class cn.dev33.satoken.log.SaLogForConsole
- WARN_COLOR - Static variable in class cn.dev33.satoken.log.SaLogForConsole
- WARN_PREFIX - Static variable in class cn.dev33.satoken.log.SaLogForConsole
- whitePaths - Variable in class cn.dev33.satoken.strategy.hooks.SaFirewallCheckHookForWhitePath
-
请求 path 白名单
_
- _checkMethod() - Static method in class cn.dev33.satoken.annotation.handler.SaIgnoreHandler
- _checkMethod(SaCheckLogin[], SaCheckRole[], SaCheckPermission[], SaCheckSafe[], SaCheckHttpBasic[], SaCheckHttpDigest[], SaCheckDisable[], Class<? extends Annotation>[], AnnotatedElement) - Static method in class cn.dev33.satoken.annotation.handler.SaCheckOrHandler
- _checkMethod(String) - Static method in class cn.dev33.satoken.annotation.handler.SaCheckLoginHandler
- _checkMethod(String, String) - Static method in class cn.dev33.satoken.annotation.handler.SaCheckHttpBasicHandler
- _checkMethod(String, String) - Static method in class cn.dev33.satoken.annotation.handler.SaCheckSafeHandler
- _checkMethod(String, String[], int) - Static method in class cn.dev33.satoken.annotation.handler.SaCheckDisableHandler
- _checkMethod(String, String[], SaMode) - Static method in class cn.dev33.satoken.annotation.handler.SaCheckRoleHandler
- _checkMethod(String, String[], SaMode, String[]) - Static method in class cn.dev33.satoken.annotation.handler.SaCheckPermissionHandler
- _checkMethod(String, String, String, String) - Static method in class cn.dev33.satoken.annotation.handler.SaCheckHttpDigestHandler
- _consumeHooks(List<SaTokenPluginHookModel<? extends SaTokenPlugin>>, Class<T>) - Method in class cn.dev33.satoken.plugin.SaTokenPluginHolder
-
消费指定集合的钩子函数,返回消费的数量
- _deleteToken(String) - Method in class cn.dev33.satoken.temp.SaTempTemplate
- _generateTOTP(String) - Method in class cn.dev33.satoken.secure.totp.SaTotpTemplate
-
生成当前时间的 TOTP 验证码
- _generateTOTP(String, long) - Method in class cn.dev33.satoken.secure.totp.SaTotpTemplate
- _getTimeout(String) - Method in class cn.dev33.satoken.temp.SaTempTemplate
- _getValue(String) - Method in class cn.dev33.satoken.temp.SaTempTemplate
- _loaderPluginsBySpi(Class<T>, String) - Method in class cn.dev33.satoken.plugin.SaTokenPluginHolder
-
自定义 SPI 读取策略 (无状态函数)
- _logout(Object, SaLogoutParameter) - Method in class cn.dev33.satoken.stp.StpLogic
-
[work] 会话注销,根据账号id 和 注销参数
- _logoutByTokenValue(String, SaLogoutParameter) - Method in class cn.dev33.satoken.stp.StpLogic
-
[work] 注销下线,根据指定 token 、注销参数
- _removeTerminal(SaSession, SaTerminalInfo, SaLogoutParameter) - Method in class cn.dev33.satoken.stp.StpLogic
-
在 Account-Session 上移除 Terminal 信息 (内部方法,仅为减少重复代码,外部调用意义不大)
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
BACKSLASH_CHAR替代