Using this template you can design a new HttpSessionAttributeListener class.

You should implement the HttpSessionAttributeListener interface
if you are interested in observing the http session attributes lifecycle.