且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

WSO2 - 限制同时与同一用户同时登录

更新时间:2023-12-05 09:44:04

使用 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.