-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shiro并发登录问题 #3
Labels
enhancement
New feature or request
Comments
个人觉得这个框架挺不错的,有没有交流群啊??? |
这个简单, 不是什么复杂的需求 下个版本你这个功能我给你更新上去 |
Q群 724850675 |
太给力了 |
这个问题还得综合考虑一下, 业务是否需要限制用户, 有的业务巴不得用户多登录 多留在系统内 到时候回考虑多端登录限制, 也可以无限制 |
是的,我目前就是这样数量-1代表不限制,也可以用个flag标记是否启用限制,主要我卡在的地方是,存储在redis的session不知道从何去删,定义了一个sessionListner处理,也没用 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
期望:
限制同一账号登录人数
例如:
system账号,限制三处登录,如果还有第四处登录,可踢出前者,或不允许后者登录
问题:
个人实现了KickoutFilter(网上找的),实现方式就是将登陆的sessionID存储起来,用于判断。但是有个问题就是退出登录的人sessionId还是存储在redis里,这造成人不在线,但是系统还认为他在线
开发团队有没有打算完善这部分代码,个人觉得还是挺实用的,就是能力比较弱,搞了几天没解决
The text was updated successfully, but these errors were encountered: