Hi people,
I have an observer for SessionInvalidatedEvent, then my expectations about it is:
1) When user logouts with #{identity.logout}, event fires!!
2) When session timeout occurs, event fires!!!
My Observer:
public void onSessionInvalidate(@Observes SessionInvalidatedEvent evt) {
securityService.removerUsuarioLogadoPorSessionId(evt.getSession().getId());
}
Simply does not works!!
Some help!?