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.
相关文章