跳过导航链接
A C D G H I J L N P R S T U V 

A

addCookie(HttpServletResponse, String, String, String, int) - 类 中的静态方法cn.dev33.satoken.util.SaCookieUtil
添加cookie

C

checkLogin() - 类 中的方法cn.dev33.satoken.stp.StpLogic
检验当前会话是否已经登录,如未登录,则抛出异常
checkLogin() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
检验当前会话是否已经登录,如未登录,则抛出异常
checkPermission(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
当前账号是否含有指定权限 , 没有就抛出异常
checkPermission(Object) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
当前账号是否含有指定权限 , 没有就抛出异常
checkPermissionAnd(Object...) - 类 中的方法cn.dev33.satoken.stp.StpLogic
当前账号是否含有指定权限 , 【指定多个,必须全都有】
checkPermissionAnd(Object...) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
当前账号是否含有指定权限 , 【指定多个,必须全都有】
checkPermissionOr(Object...) - 类 中的方法cn.dev33.satoken.stp.StpLogic
当前账号是否含有指定权限 , 【指定多个,有一个就可以了】
checkPermissionOr(Object...) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
当前账号是否含有指定权限 , 【指定多个,有一个就可以了】
clearAttribute() - 类 中的方法cn.dev33.satoken.session.SaSession
清空所有值
cn.dev33.satoken - 程序包 cn.dev33.satoken
 
cn.dev33.satoken.annotation - 程序包 cn.dev33.satoken.annotation
 
cn.dev33.satoken.config - 程序包 cn.dev33.satoken.config
 
cn.dev33.satoken.dao - 程序包 cn.dev33.satoken.dao
 
cn.dev33.satoken.exception - 程序包 cn.dev33.satoken.exception
 
cn.dev33.satoken.session - 程序包 cn.dev33.satoken.session
 
cn.dev33.satoken.spring - 程序包 cn.dev33.satoken.spring
 
cn.dev33.satoken.stp - 程序包 cn.dev33.satoken.stp
 
cn.dev33.satoken.util - 程序包 cn.dev33.satoken.util
 
configPath - 类 中的静态变量cn.dev33.satoken.config.SaTokenConfigFactory
 
containsAttribute(String) - 类 中的方法cn.dev33.satoken.session.SaSession
是否含有指定key
createConfig() - 类 中的静态方法cn.dev33.satoken.config.SaTokenConfigFactory
根据指定路径获取配置信息

D

dao - 类 中的静态变量cn.dev33.satoken.SaTokenManager
 
delCookie(HttpServletRequest, HttpServletResponse, String) - 类 中的静态方法cn.dev33.satoken.util.SaCookieUtil
删除cookie
delKey(String) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
删除一个指定的key
delKey(String) - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefault
 
delSaSession(String) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
删除一个指定的session
delSaSession(String) - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefault
 
delSessionById(String) - 类 中的静态方法cn.dev33.satoken.session.SaSessionCustomUtil
删除指定key的session

G

getAttribute(String) - 类 中的方法cn.dev33.satoken.session.SaSession
取出一个值
getAttribute(String, Object) - 类 中的方法cn.dev33.satoken.session.SaSession
取值,并指定取不到值时的默认值
getAttributeKeys() - 类 中的方法cn.dev33.satoken.session.SaSession
返回当前session会话所有key
getCode() - 异常错误 中的方法cn.dev33.satoken.exception.NotPermissionException
 
getConfig() - 类 中的静态方法cn.dev33.satoken.SaTokenManager
 
getCookie(HttpServletRequest, String) - 类 中的静态方法cn.dev33.satoken.util.SaCookieUtil
获取指定cookie
getCreateTime() - 类 中的方法cn.dev33.satoken.session.SaSession
返回当前会话创建时间
getDao() - 类 中的静态方法cn.dev33.satoken.SaTokenManager
 
getDataMap() - 类 中的方法cn.dev33.satoken.session.SaSession
获取数据集合(如果更新map里的值,请调用session.update()方法避免数据过时 )
getId() - 类 中的方法cn.dev33.satoken.session.SaSession
获取会话id
getIsReadBody() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getIsReadHead() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getIsShare() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getIsV() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getKey_LoginId(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取key: id 持久化
getKey_session(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取key: session 持久化
getKey_tokenName() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取key:客户端 tokenName
getKey_TokenValue(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取key: tokenValue 持久化
getLoginId() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前会话登录id, 如果未登录,则抛出异常
getLoginId(T) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前会话登录id, 如果未登录,则返回默认值
getLoginId() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前会话登录id, 如果未登录,则抛出异常
getLoginId(T) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前会话登录id, 如果未登录,则返回默认值
getLoginId_asInt() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前会话登录id, 并转换为int
getLoginId_asInt() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前会话登录id, 并转换为int
getLoginId_asLong() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前会话登录id, 并转换为long
getLoginId_asLong() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前会话登录id, 并转换为long
getLoginId_asString() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前会话登录id, 并转换为String
getLoginId_asString() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前会话登录id, 并转换为String
getLoginId_defaultNull() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前会话登录id, 如果未登录,则返回null
getLoginId_defaultNull() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前会话登录id, 如果未登录,则返回null
getLoginIdByToken(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取指定token对应的登录id,如果未登录,则返回 null
getLoginIdByToken(String) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取指定token对应的登录id,如果未登录,则返回 null
getLoginKey() - 异常错误 中的方法cn.dev33.satoken.exception.NotLoginException
获得login_key
getLoginKey() - 异常错误 中的方法cn.dev33.satoken.exception.NotPermissionException
获得login_key
getPermissionCodeList(Object, String) - 接口 中的方法cn.dev33.satoken.stp.StpInterface
返回指定login_id所拥有的权限码集合
getPermissionCodeList(Object, String) - 类 中的方法cn.dev33.satoken.stp.StpInterfaceDefaultImpl
 
getRequest() - 类 中的静态方法cn.dev33.satoken.util.SpringMVCUtil
获取当前会话的 request
getResponse() - 类 中的静态方法cn.dev33.satoken.util.SpringMVCUtil
获取当前会话的 response
getSaSession(String) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
根据指定key的session,如果没有,则返回空
getSaSession(String) - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefault
 
getSaTokenConfig() - 类 中的方法cn.dev33.satoken.spring.SpringSaToken
 
getSession() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前会话的session
getSession() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前会话的session
getSessionById(String, boolean) - 类 中的静态方法cn.dev33.satoken.session.SaSessionCustomUtil
获取指定key的session
getSessionById(String) - 类 中的静态方法cn.dev33.satoken.session.SaSessionCustomUtil
获取指定key的session, 如果没有则新建并返回
getSessionByLoginId(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取指定login_id的session
getSessionByLoginId(Object) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取指定login_id的session
getSessionBySessionId(String, boolean) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取指定key的session, 如果没有,is_create=是否新建并返回
getSessionKey(String) - 类 中的静态方法cn.dev33.satoken.session.SaSessionCustomUtil
 
getStp() - 类 中的静态方法cn.dev33.satoken.SaTokenManager
 
getTimeout() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getTokenInfo() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前会话的token信息:tokenName与tokenValue
getTokenInfo() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前会话的token信息:tokenName与tokenValue
getTokenName() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getTokenValue() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前tokenValue
getTokenValue() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前tokenValue
getTokenValueByLoginId(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取指定id的tokenValue
getTokenValueByLoginId(Object) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取指定id的tokenValue
getValue(String) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
根据key获取value ,如果没有,则返回空
getValue(String) - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefault
 
github_url - 类 中的静态变量cn.dev33.satoken.SaTokenUtil
 

H

hasPermission(Object, Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
指定login_id是否含有指定权限
hasPermission(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
当前会话是否含有指定权限
hasPermission(Object, Object) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
指定login_id是否含有指定权限
hasPermission(Object) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
当前会话是否含有指定权限

I

initConfig() - 类 中的静态方法cn.dev33.satoken.SaTokenManager
 
initDao() - 类 中的静态方法cn.dev33.satoken.SaTokenManager
 
initStp() - 类 中的静态方法cn.dev33.satoken.SaTokenManager
 
isExists(String) - 类 中的方法cn.dev33.satoken.session.SaSessionCustomUtil
指定key的session是否存在
isLogin() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前会话是否已经登录
isLogin() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前会话是否已经登录

J

JUST_CREATED_SAVE_KEY - 类 中的静态变量cn.dev33.satoken.SaTokenUtil
 

L

login_key - 类 中的变量cn.dev33.satoken.stp.StpLogic
 
logout() - 类 中的方法cn.dev33.satoken.stp.StpLogic
当前会话注销登录
logout() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
当前会话注销登录
logoutByLoginId(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
指定login_id的会话注销登录(踢人下线)
logoutByLoginId(Object) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
指定login_id的会话注销登录(踢人下线)

N

NotLoginException - cn.dev33.satoken.exception中的异常错误
没有登陆抛出的异常
NotLoginException() - 异常错误 的构造器cn.dev33.satoken.exception.NotLoginException
创建一个
NotLoginException(String) - 异常错误 的构造器cn.dev33.satoken.exception.NotLoginException
创建一个
NotPermissionException - cn.dev33.satoken.exception中的异常错误
没有指定权限码,抛出的异常
NotPermissionException(Object) - 异常错误 的构造器cn.dev33.satoken.exception.NotPermissionException
 
NotPermissionException(Object, String) - 异常错误 的构造器cn.dev33.satoken.exception.NotPermissionException
 

P

preHandle(HttpServletRequest, HttpServletResponse, Object) - 类 中的方法cn.dev33.satoken.annotation.SaCheckInterceptor
 
printSaToken() - 类 中的静态方法cn.dev33.satoken.SaTokenUtil
 

R

randomTokenValue() - 类 中的方法cn.dev33.satoken.stp.StpLogic
随机生成一个tokenValue
removeAttribute(String) - 类 中的方法cn.dev33.satoken.session.SaSession
移除一个值

S

SaCheckInterceptor - cn.dev33.satoken.annotation中的类
注解式鉴权 - 拦截器
SaCheckInterceptor() - 类 的构造器cn.dev33.satoken.annotation.SaCheckInterceptor
创建,并指定一个默认的 StpLogic
SaCheckInterceptor(StpLogic) - 类 的构造器cn.dev33.satoken.annotation.SaCheckInterceptor
创建,并指定一个的 StpLogic
SaCheckLogin - cn.dev33.satoken.annotation中的注释类型
标注一个路由方法,当前会话必须已登录才能通过
SaCheckPermission - cn.dev33.satoken.annotation中的注释类型
标注一个路由方法,当前会话必须具有指定权限才可以通过
SaCookieUtil - cn.dev33.satoken.util中的类
cookie工具类
SaCookieUtil() - 类 的构造器cn.dev33.satoken.util.SaCookieUtil
 
SaSession - cn.dev33.satoken.session中的类
session会话
SaSession(String) - 类 的构造器cn.dev33.satoken.session.SaSession
构建一个 session对象
SaSessionCustomUtil - cn.dev33.satoken.session中的类
自定义sa-session工具类
SaSessionCustomUtil() - 类 的构造器cn.dev33.satoken.session.SaSessionCustomUtil
 
SaTokenConfig - cn.dev33.satoken.config中的类
sa-token 总配置类
SaTokenConfig() - 类 的构造器cn.dev33.satoken.config.SaTokenConfig
 
SaTokenConfigFactory - cn.dev33.satoken.config中的类
创建一个配置文件
SaTokenConfigFactory() - 类 的构造器cn.dev33.satoken.config.SaTokenConfigFactory
 
SaTokenDao - cn.dev33.satoken.dao中的接口
sa-token持久层的接口
SaTokenDaoDefault - cn.dev33.satoken.dao中的类
sa-token持久层默认的实现类 , 基于内存Map
SaTokenDaoDefault() - 类 的构造器cn.dev33.satoken.dao.SaTokenDaoDefault
 
SaTokenManager - cn.dev33.satoken中的类
管理sa-token所有对象
SaTokenManager() - 类 的构造器cn.dev33.satoken.SaTokenManager
 
SaTokenSetup - cn.dev33.satoken.spring中的注释类型
将此注解加到springboot启动类上,即可完成sa-token与springboot的集成
SaTokenUtil - cn.dev33.satoken中的类
sa-token 工具类
SaTokenUtil() - 类 的构造器cn.dev33.satoken.SaTokenUtil
 
saveSaSession(SaSession, long) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
将指定session持久化
saveSaSession(SaSession, long) - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefault
 
session_key - 类 中的静态变量cn.dev33.satoken.session.SaSessionCustomUtil
 
setAttribute(String, Object) - 类 中的方法cn.dev33.satoken.session.SaSession
写入一个值
setConfig(SaTokenConfig) - 类 中的静态方法cn.dev33.satoken.SaTokenManager
 
setConfig(SaTokenConfig) - 类 中的方法cn.dev33.satoken.spring.SpringSaToken
 
setDao(SaTokenDao) - 类 中的静态方法cn.dev33.satoken.SaTokenManager
 
setDao(SaTokenDao) - 类 中的方法cn.dev33.satoken.spring.SpringSaToken
 
setIsReadBody(Boolean) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setIsReadHead(Boolean) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setIsShare(Boolean) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setIsV(Boolean) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setLoginId(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
在当前会话上登录id
setLoginId(Object) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
在当前会话上登录id
setStp(StpInterface) - 类 中的静态方法cn.dev33.satoken.SaTokenManager
 
setStp(StpInterface) - 类 中的方法cn.dev33.satoken.spring.SpringSaToken
 
setTimeout(long) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setTokenName(String) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setValue(String, String, long) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
写入指定key-value键值对,并设定过期时间 (单位:秒)
setValue(String, String, long) - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefault
 
SpringMVCUtil - cn.dev33.satoken.util中的类
SpringMVC相关操作
SpringMVCUtil() - 类 的构造器cn.dev33.satoken.util.SpringMVCUtil
 
SpringSaToken - cn.dev33.satoken.spring中的类
与SpringBoot集成, 保证此类被扫描,即可完成sa-token与SpringBoot的集成
SpringSaToken() - 类 的构造器cn.dev33.satoken.spring.SpringSaToken
 
stp - 类 中的静态变量cn.dev33.satoken.SaTokenManager
 
StpInterface - cn.dev33.satoken.stp中的接口
开放权限验证接口,方便重写
StpInterfaceDefaultImpl - cn.dev33.satoken.stp中的类
权限验证接口 ,默认实现
StpInterfaceDefaultImpl() - 类 的构造器cn.dev33.satoken.stp.StpInterfaceDefaultImpl
 
stpLogic - 类 中的变量cn.dev33.satoken.annotation.SaCheckInterceptor
 
StpLogic - cn.dev33.satoken.stp中的类
sa-token 权限验证,逻辑 实现类 (stp = sa-token-permission 的缩写 )
StpLogic(String) - 类 的构造器cn.dev33.satoken.stp.StpLogic
 
stpLogic - 类 中的静态变量cn.dev33.satoken.stp.StpUtil
 
StpUtil - cn.dev33.satoken.stp中的类
一个默认的实现
StpUtil() - 类 的构造器cn.dev33.satoken.stp.StpUtil
 

T

toString() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 

U

update() - 类 中的方法cn.dev33.satoken.session.SaSession
将这个session从持久库更新一下
updateCookie(HttpServletRequest, HttpServletResponse, String, String) - 类 中的静态方法cn.dev33.satoken.util.SaCookieUtil
修改cookie的value值
updateSaSession(SaSession) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
更新指定session
updateSaSession(SaSession) - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefault
 

V

version - 类 中的静态变量cn.dev33.satoken.SaTokenUtil
 
A C D G H I J L N P R S T U V 
跳过导航链接

Copyright © 2020. All Rights Reserved.