Pregunta de entrevista de Uneecops Technologies

How using spring security can we terminate all active sessions of user when user is marked inactive.