Class UserListener
java.lang.Object
org.deltava.servlet.lifecycle.UserListener
- All Implemented Interfaces:
EventListener
,HttpSessionListener
A servlet lifecycle event listener to handle user logins and logouts.
- Since:
- 1.0
- Version:
- 11.3
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Called on the creation of a new HTTP session.void
Called on the termination of an HTTP session.
-
Constructor Details
-
UserListener
public UserListener()
-
-
Method Details
-
sessionCreated
Called on the creation of a new HTTP session.- Specified by:
sessionCreated
in interfaceHttpSessionListener
- Parameters:
e
- the lifecycle event
-
sessionDestroyed
Called on the termination of an HTTP session.- Specified by:
sessionDestroyed
in interfaceHttpSessionListener
- Parameters:
e
- the lifecycle event
-