A B F G H I L P R S T U
A
- addInterceptors(InterceptorRegistry) - Method in class tech.hdis.framework.security.config.InterceptorConfig
-
B
- bindingSession(String) - Method in class tech.hdis.framework.security.session.imp.RedisSessionServiceImpl
-
绑定当前线程session
- bindingSession(String) - Method in interface tech.hdis.framework.security.session.interfaces.SessionService
-
绑定当前线程session
F
- flush() - Method in class tech.hdis.framework.security.session.imp.RedisSessionServiceImpl
-
刷新session
1:判断当前session是否失效
2:处理单端单用户登录(一个‘用户账号’的‘手机端’只能有一个在线)
- flush() - Method in interface tech.hdis.framework.security.session.interfaces.SessionService
-
重刷session
1:判断当前session是否失效
2:处理单端单用户登录(一个‘用户账号’的‘手机端’只能有一个在线)
G
- getInstance(String, String) - Static method in class tech.hdis.framework.security.response.SecurityResponse
-
返回码组装
- getSession() - Static method in class tech.hdis.framework.security.manager.SessionManager
-
得到session
- getSession() - Method in class tech.hdis.framework.security.session.imp.RedisSessionServiceImpl
-
获取当前Session
- getSession() - Method in interface tech.hdis.framework.security.session.interfaces.SessionService
-
获取当前线程Session
- getUserId() - Static method in class tech.hdis.framework.security.manager.SessionManager
-
得到用户ID
H
- hasPermissions(String[]) - Method in class tech.hdis.framework.security.session.imp.RedisSessionServiceImpl
-
是否具有权限
- hasPermissions(String[]) - Method in interface tech.hdis.framework.security.session.interfaces.SessionService
-
是否具有权限
- hasRoles(String[]) - Method in class tech.hdis.framework.security.session.imp.RedisSessionServiceImpl
-
是否具有角色
- hasRoles(String[]) - Method in interface tech.hdis.framework.security.session.interfaces.SessionService
-
是否具有角色
I
- InterceptorConfig - Class in tech.hdis.framework.security.config
-
权限拦截器配置
- InterceptorConfig() - Constructor for class tech.hdis.framework.security.config.InterceptorConfig
-
- isExpired() - Method in class tech.hdis.framework.security.session.imp.RedisSessionServiceImpl
-
session是否失效
- isExpired() - Method in interface tech.hdis.framework.security.session.interfaces.SessionService
-
session是否失效
L
- logout() - Static method in class tech.hdis.framework.security.manager.SessionManager
-
登出,删除session
- logout() - Method in class tech.hdis.framework.security.session.imp.RedisSessionServiceImpl
-
登出,需要已登录状态
- logout() - Method in interface tech.hdis.framework.security.session.interfaces.SessionService
-
登出,需要已登录状态
P
- preHandle(HttpServletRequest, HttpServletResponse, Object) - Method in class tech.hdis.framework.security.interceptor.SessionInterceptor
-
R
- RedisSessionClient - Class in tech.hdis.framework.security.session.imp
-
缓存工具包
- RedisSessionClient() - Constructor for class tech.hdis.framework.security.session.imp.RedisSessionClient
-
- redisSessionClient - Variable in class tech.hdis.framework.security.session.imp.RedisSessionServiceImpl
-
- RedisSessionServiceImpl - Class in tech.hdis.framework.security.session.imp
-
基于redis实现的session管理
- RedisSessionServiceImpl() - Constructor for class tech.hdis.framework.security.session.imp.RedisSessionServiceImpl
-
- refresh() - Method in class tech.hdis.framework.security.session.imp.RedisSessionServiceImpl
-
刷新session,将最后访问时间与当前时间同步;
- refresh() - Method in interface tech.hdis.framework.security.session.interfaces.SessionService
-
刷新session,将最后访问时间与当前时间同步;
S
- saveOrUpdateSession(String, String) - Static method in class tech.hdis.framework.security.manager.SessionManager
-
新增或修改当前线程的session
- saveOrUpdateSession(String, Set<String>, Set<String>) - Static method in class tech.hdis.framework.security.manager.SessionManager
-
新增或修改当前线程的session
- saveOrUpdateSession(Session) - Method in class tech.hdis.framework.security.session.imp.RedisSessionServiceImpl
-
新增或修改session;
- saveOrUpdateSession(Session) - Method in interface tech.hdis.framework.security.session.interfaces.SessionService
-
新增或修改session
- SecurityResponse - Class in tech.hdis.framework.security.response
-
返回值
- SecurityResponse() - Constructor for class tech.hdis.framework.security.response.SecurityResponse
-
- SecurityResponseProperties - Class in tech.hdis.framework.security.properties
-
认证与授权配置
- SecurityResponseProperties() - Constructor for class tech.hdis.framework.security.properties.SecurityResponseProperties
-
- SecuritySessionProperties - Class in tech.hdis.framework.security.properties
-
安全配置
- SecuritySessionProperties() - Constructor for class tech.hdis.framework.security.properties.SecuritySessionProperties
-
- securitySessionProperties - Variable in class tech.hdis.framework.security.session.imp.RedisSessionServiceImpl
-
- Session - Class in tech.hdis.framework.security.session.entity
-
Session
- Session() - Constructor for class tech.hdis.framework.security.session.entity.Session
-
- SessionInterceptor - Class in tech.hdis.framework.security.interceptor
-
自定义权限拦截器
作用于被@Session标记的方法
用于处理登录,单点登录,权限的控制
- SessionInterceptor() - Constructor for class tech.hdis.framework.security.interceptor.SessionInterceptor
-
- SessionManager - Class in tech.hdis.framework.security.manager
-
Session管理,用于开发者调用。
- SessionManager() - Constructor for class tech.hdis.framework.security.manager.SessionManager
-
- SessionMark - Annotation Type in tech.hdis.framework.security.annotation
-
登录标记
被此方法标记了的方法需要已登录
- SessionService - Interface in tech.hdis.framework.security.session.interfaces
-
基础Session管理
- setSessionService(SessionService) - Method in class tech.hdis.framework.security.manager.SessionManager
-
T
- tech.hdis.framework.security.annotation - package tech.hdis.framework.security.annotation
-
- tech.hdis.framework.security.config - package tech.hdis.framework.security.config
-
- tech.hdis.framework.security.interceptor - package tech.hdis.framework.security.interceptor
-
- tech.hdis.framework.security.manager - package tech.hdis.framework.security.manager
-
- tech.hdis.framework.security.properties - package tech.hdis.framework.security.properties
-
- tech.hdis.framework.security.response - package tech.hdis.framework.security.response
-
- tech.hdis.framework.security.session.entity - package tech.hdis.framework.security.session.entity
-
- tech.hdis.framework.security.session.imp - package tech.hdis.framework.security.session.imp
-
- tech.hdis.framework.security.session.interfaces - package tech.hdis.framework.security.session.interfaces
-
- timeout - Variable in class tech.hdis.framework.security.properties.SecuritySessionProperties
-
session过期时间(秒)
- TIMEOUT_KEY - Static variable in class tech.hdis.framework.security.properties.SecuritySessionProperties
-
session过期时间(秒)的key
U
- unauthenticated - Variable in class tech.hdis.framework.security.properties.SecurityResponseProperties
-
默认未认证提示信息
- UNAUTHENTICATED_KEY - Static variable in class tech.hdis.framework.security.properties.SecurityResponseProperties
-
默认未认证提示信息key
- unauthorized - Variable in class tech.hdis.framework.security.properties.SecurityResponseProperties
-
默认未授权提示信息
- UNAUTHORIZED_KEY - Static variable in class tech.hdis.framework.security.properties.SecurityResponseProperties
-
默认未授权提示信息key
A B F G H I L P R S T U
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.