WSO2 - Restrict concurrent login with same user simultaneously(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 - 限制同时与同一用户同时登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:WSO2 - 限制同时与同一用户同时登录
基础教程推荐
- 如何在 Spring @Value 注解中正确指定默认值? 2022-01-01
- 在 Java 中创建日期的正确方法是什么? 2022-01-01
- 大摇大摆的枚举 2022-01-01
- 如何在 JFrame 中覆盖 windowsClosing 事件 2022-01-01
- 从 python 访问 JVM 2022-01-01
- 不推荐使用 Api 注释的描述 2022-01-01
- Java Swing计时器未清除 2022-01-01
- 多个组件的复杂布局 2022-01-01
- 验证是否调用了所有 getter 方法 2022-01-01
- Java 实例变量在两个语句中声明和初始化 2022-01-01
