Logging successful Login?

I need to log the last successful login for my user. Ís there an posibility to listen for an “Successful Login Event”?
I’m using the class from the Vaadin example “public class LoginView extends LoginOverlay implements BeforeEnterObserver{…}”.

Logging successful Login?

Not sure if there’s something specific on Vaadin side, but if you’re using it with Spring Security, you might want to handle it through its authentication events.
https://docs.spring.io/spring-security/reference/servlet/authentication/events.html
(I’m signing off now, so won’t be able to assist forther, but someone else might).

Thanks, it is working fine.