title: How to prevent multiple logins using the same username and password in Spring security
body: <p>I have implemented spring security with a restful API using spring boot and everything work perfectly.
  I wan't to prevent multiple login with the same username and password from the same client. how can I do that ?</p>