- SAFE_AUTH_SAVE_KEY - 类 中的静态变量cn.safekeeper.common.constant.SafeKeeperConstant
-
常量key标记: 在进行Token二级验证时使用的key
- SAFE_KEEPER_VERSION - 类 中的静态变量cn.safekeeper.common.configuration.SafeKeeperConfiguration
-
SafeKeeper版本号
- SafeKeeperAuthorizationCallBack - cn.safekeeper.common.model中的接口
-
业务权限认证回调接口
每个业务的权限和角色都是有定制化的,所以需要业务自身来实现
框架只是回调你实现的的角色和权限来判断是否正确即可
- SafeKeeperChain - cn.safekeeper.common.filter中的类
-
过滤器链路处理
- SafeKeeperChain(List<SafeKeeperFilter>) - 类 的构造器cn.safekeeper.common.filter.SafeKeeperChain
-
- SafeKeeperCodeMsgConfiguration - cn.safekeeper.common.configuration中的类
-
全局异常体系code,消息制定,也可以通过外部使用者自己的架构体系code和msg来指定,框架不强求
分为三种异常板块
1,权限板块 permission
2,角色板块 role
3,认证板块 authentication
4,锁定板块 lock
5,框架本身 safe
- SafeKeeperCodeMsgConfiguration() - 类 的构造器cn.safekeeper.common.configuration.SafeKeeperCodeMsgConfiguration
-
- SafeKeeperCondition - cn.safekeeper.common.annotations中的枚举
-
条件表达式
- SafeKeeperConfiguration - cn.safekeeper.common.configuration中的类
-
SafeKeeper安全配置中心
- SafeKeeperConfiguration() - 类 的构造器cn.safekeeper.common.configuration.SafeKeeperConfiguration
-
- SafeKeeperConstant - cn.safekeeper.common.constant中的类
-
全局常量
- SafeKeeperConstant() - 类 的构造器cn.safekeeper.common.constant.SafeKeeperConstant
-
- SafeKeeperContext - cn.safekeeper.common.model中的接口
-
上下文环境
- SafeKeeperErrorFunction - cn.safekeeper.common.function中的接口
-
异常方法执行抽象
- SafeKeeperException - cn.safekeeper.common.exception中的异常错误
-
自定义异常类
- SafeKeeperException() - 异常错误 的构造器cn.safekeeper.common.exception.SafeKeeperException
-
- SafeKeeperException(String) - 异常错误 的构造器cn.safekeeper.common.exception.SafeKeeperException
-
- SafeKeeperException(Throwable) - 异常错误 的构造器cn.safekeeper.common.exception.SafeKeeperException
-
- SafeKeeperException(String, Throwable) - 异常错误 的构造器cn.safekeeper.common.exception.SafeKeeperException
-
- SafeKeeperFilter - cn.safekeeper.common.filter中的接口
-
过滤器
- SafeKeeperFilterFunction - cn.safekeeper.common.function中的接口
-
过滤器函数
- SafeKeeperFunction - cn.safekeeper.common.function中的接口
-
方法执行抽象
- SafeKeeperHasLogin - cn.safekeeper.common.annotations中的注释类型
-
校验是否已经登录
- SafeKeeperHasPermission - cn.safekeeper.common.annotations中的注释类型
-
通过方法上的注解就可以验证是否具备权限访问
- SafeKeeperHasRole - cn.safekeeper.common.annotations中的注释类型
-
校验是否具备当前的角色
- SafeKeeperLockedException - cn.safekeeper.common.exception中的异常错误
-
自定义登录异常类型
- SafeKeeperLockedException(int, String, String) - 异常错误 的构造器cn.safekeeper.common.exception.SafeKeeperLockedException
-
- SafeKeeperLoginException - cn.safekeeper.common.exception中的异常错误
-
自定义登录异常类型
- SafeKeeperLoginException(int, String, String) - 异常错误 的构造器cn.safekeeper.common.exception.SafeKeeperLoginException
-
- SafeKeeperLoginException.Builder - cn.safekeeper.common.exception中的类
-
静态构造类
- SafeKeeperNamedThreadFactory - cn.safekeeper.common.thread中的类
-
线程工厂类
- SafeKeeperNamedThreadFactory(String) - 类 的构造器cn.safekeeper.common.thread.SafeKeeperNamedThreadFactory
-
- SafeKeeperNamedThreadFactory(String, boolean) - 类 的构造器cn.safekeeper.common.thread.SafeKeeperNamedThreadFactory
-
- SafeKeeperPermissionException - cn.safekeeper.common.exception中的异常错误
-
自定义权限异常类型
- SafeKeeperPermissionException(int, String, String) - 异常错误 的构造器cn.safekeeper.common.exception.SafeKeeperPermissionException
-
- SafeKeeperPermissionException.Builder - cn.safekeeper.common.exception中的类
-
静态构造类
- SafeKeeperRequest - cn.safekeeper.common.model中的接口
-
请求对象
- SafeKeeperResponse - cn.safekeeper.common.model中的接口
-
响应对象
- SafeKeeperRoleException - cn.safekeeper.common.exception中的异常错误
-
自定义角色异常类型
- SafeKeeperRoleException(int, String, String) - 异常错误 的构造器cn.safekeeper.common.exception.SafeKeeperRoleException
-
- SafeKeeperRoleException.Builder - cn.safekeeper.common.exception中的类
-
静态构造类
- SafeKeeperStorage - cn.safekeeper.common.model中的接口
-
存储器包装类
在 Request作用域里: 存值、取值
- SafeKeeperThreadPoolFactory - cn.safekeeper.common.thread中的类
-
创建线程池工厂类
- SafeKeeperThreadPoolFactory() - 类 的构造器cn.safekeeper.common.thread.SafeKeeperThreadPoolFactory
-
- SafeKeeperTokenInfo - cn.safekeeper.common.model中的类
-
SafeKeeper实体
- SafeKeeperTokenInfo() - 类 的构造器cn.safekeeper.common.model.SafeKeeperTokenInfo
-
- SafeKeeperUtils - cn.safekeeper.common.utils中的类
-
统一工具类
- SafeKeeperUtils() - 类 的构造器cn.safekeeper.common.utils.SafeKeeperUtils
-
- SafeKeeperValueObject - cn.safekeeper.common.model中的类
-
调用登录模型
- SafeKeeperValueObject() - 类 的构造器cn.safekeeper.common.model.SafeKeeperValueObject
-
- searchList(Collection<String>, String, String, int, int) - 类 中的静态方法cn.safekeeper.common.utils.SafeKeeperUtils
-
从集合里查询数据
- searchList(List<String>, int, int) - 类 中的静态方法cn.safekeeper.common.utils.SafeKeeperUtils
-
从集合里查询数据
- set(String, Object) - 接口 中的方法cn.safekeeper.common.model.SafeKeeperStorage
-
在 [Request作用域] 里写入一个值
- setCode(int) - 类 中的方法cn.safekeeper.common.exception.SafeKeeperLoginException.Builder
-
- setCode(int) - 类 中的方法cn.safekeeper.common.exception.SafeKeeperPermissionException.Builder
-
- setCode(int) - 类 中的方法cn.safekeeper.common.exception.SafeKeeperRoleException.Builder
-
- setDevice(String) - 类 中的方法cn.safekeeper.common.model.SafeKeeperValueObject
-
- setHeader(String, String) - 接口 中的方法cn.safekeeper.common.model.SafeKeeperResponse
-
在响应头里写入一个值
- setIsPersistent(Boolean) - 类 中的方法cn.safekeeper.common.model.SafeKeeperValueObject
-
- setLoginType(String) - 类 中的方法cn.safekeeper.common.exception.SafeKeeperLoginException.Builder
-
- setLoginType(String) - 类 中的方法cn.safekeeper.common.exception.SafeKeeperPermissionException.Builder
-
- setLoginType(String) - 类 中的方法cn.safekeeper.common.exception.SafeKeeperRoleException.Builder
-
- setMessage(String) - 类 中的方法cn.safekeeper.common.exception.SafeKeeperLoginException.Builder
-
- setPermission(String) - 类 中的方法cn.safekeeper.common.exception.SafeKeeperPermissionException.Builder
-
- setRole(String) - 类 中的方法cn.safekeeper.common.exception.SafeKeeperRoleException.Builder
-
- setServer(String) - 接口 中的方法cn.safekeeper.common.model.SafeKeeperResponse
-
在响应头写入 [Server] 服务器名称
- setTimeout(long) - 类 中的方法cn.safekeeper.common.model.SafeKeeperValueObject
-
- sha1(String) - 类 中的静态方法cn.safekeeper.common.utils.SafeKeeperUtils
-
sha1加密
- sha256(String) - 类 中的静态方法cn.safekeeper.common.utils.SafeKeeperUtils
-
sha256加密
- SWITCH_TO_SAVE_KEY - 类 中的静态变量cn.safekeeper.common.constant.SafeKeeperConstant
-
常量key标记: 在进行临时身份切换时使用的key