title: How to restrict multiple login for one user Id?
body: <p>I have created a REST application. In this user can register and login. I have a problem like If A user login with a desktop-1 with there credential and same user login with same credential with desktop-2. I have to restrict the user to access account. Means if user login with desktop-2 the I have to logout desktop-1 account.</p>
  
  <p>How can I achieve this using spring security?
  Can I make this with JWT Filter configuration or Session management with spring security?</p>
  
  <p>Is there any other way to handle my scenario?</p>