Class UserListener

java.lang.Object
org.deltava.servlet.lifecycle.UserListener
All Implemented Interfaces:
jakarta.servlet.http.HttpSessionListener, EventListener

public class UserListener extends Object implements jakarta.servlet.http.HttpSessionListener
A servlet lifecycle event listener to handle user logins and logouts.
Since:
1.0
Version:
11.3
Author:
Luke
  • 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:
      sessionCreated in interface jakarta.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:
      sessionDestroyed in interface jakarta.servlet.http.HttpSessionListener
      Parameters:
      e - the lifecycle event