I am doing an PoC of Spring Session to implement the complete Lifecycle management of (HTTP) Session. While doing so, i want to write a listener which can get notified when the Spring Session gets Auto expired.
In this listener, i want to do some clean-up activities.
How can i write a listener or does one already exists for Spring Session which can get invoked during it's Auto expiry ?