WSO2 - 限制同时与同一用户同时登录 [英] WSO2 - Restrict concurrent login with same user simultaneously

查看:45
本文介绍了WSO2 - 限制同时与同一用户同时登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经将基于 Java jar 的应用程序与 WSO2 身份服务器集成在一起,该应用程序具有登录门户,而同一用户可以通过不同的系统和浏览器同时登录.有什么方法可以限制 WSO2 服务器端的同时或并发登录.如果有任何方法可以防止同一用户同时登录,请告诉我.谢谢

I've integrated Java jar based application with WSO2 identity server, this application has login portal whereas it is possible to login with same user simultaneously through different systems and browser. Is there any way to restrict Simultaneous or concurrent login at WSO2 server end. if there is any way to prevent concurrent logins with same user then please let me know. thanks

推荐答案

使用 IS 5.3.0,您可以找到给定用户的所有登录会话.要完成此操作,您需要为登录流程编写一个拦截器并检查该用户是否已经有登录会话 - 如果有,则验证失败.

With IS 5.3.0 you can find all the login sessions of a given user. To get this done you need to write an interceptor for the login flow and check whether that user has a login session already - and if so fail the authentication.

这篇关于WSO2 - 限制同时与同一用户同时登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆