Class UserListener
java.lang.Object
org.deltava.servlet.lifecycle.UserListener
- All Implemented Interfaces:
jakarta.servlet.http.HttpSessionListener, EventListener
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 TypeMethodDescriptionvoidsessionCreated(jakarta.servlet.http.HttpSessionEvent e) Called on the creation of a new HTTP session.voidsessionDestroyed(jakarta.servlet.http.HttpSessionEvent e) Called on the termination of an HTTP session.
-
Constructor Details
-
UserListener
public UserListener()
-
-
Method Details
-
sessionCreated
public void sessionCreated(jakarta.servlet.http.HttpSessionEvent e) Called on the creation of a new HTTP session.- Specified by:
sessionCreatedin interfacejakarta.servlet.http.HttpSessionListener- Parameters:
e- the lifecycle event
-
sessionDestroyed
public void sessionDestroyed(jakarta.servlet.http.HttpSessionEvent e) Called on the termination of an HTTP session.- Specified by:
sessionDestroyedin interfacejakarta.servlet.http.HttpSessionListener- Parameters:
e- the lifecycle event
-