Class SecurePluginContextListener

Object
com.liferay.portal.kernel.servlet.PluginContextListener
com.liferay.portal.kernel.servlet.SecurePluginContextListener
All Implemented Interfaces:
jakarta.servlet.http.HttpSessionActivationListener, jakarta.servlet.http.HttpSessionAttributeListener, jakarta.servlet.http.HttpSessionBindingListener, jakarta.servlet.http.HttpSessionListener, jakarta.servlet.ServletContextAttributeListener, jakarta.servlet.ServletContextListener, jakarta.servlet.ServletRequestAttributeListener, jakarta.servlet.ServletRequestListener, EventListener

public class SecurePluginContextListener extends PluginContextListener implements jakarta.servlet.http.HttpSessionActivationListener, jakarta.servlet.http.HttpSessionAttributeListener, jakarta.servlet.http.HttpSessionBindingListener, jakarta.servlet.http.HttpSessionListener, jakarta.servlet.ServletRequestAttributeListener, jakarta.servlet.ServletRequestListener
Author:
Brian Wing Shun Chan
  • Constructor Details

    • SecurePluginContextListener

      public SecurePluginContextListener()
  • Method Details

    • attributeAdded

      public void attributeAdded(jakarta.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
      Specified by:
      attributeAdded in interface jakarta.servlet.http.HttpSessionAttributeListener
    • attributeAdded

      public void attributeAdded(jakarta.servlet.ServletRequestAttributeEvent servletRequestAttributeEvent)
      Specified by:
      attributeAdded in interface jakarta.servlet.ServletRequestAttributeListener
    • attributeRemoved

      public void attributeRemoved(jakarta.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
      Specified by:
      attributeRemoved in interface jakarta.servlet.http.HttpSessionAttributeListener
    • attributeRemoved

      public void attributeRemoved(jakarta.servlet.ServletRequestAttributeEvent servletRequestAttributeEvent)
      Specified by:
      attributeRemoved in interface jakarta.servlet.ServletRequestAttributeListener
    • attributeReplaced

      public void attributeReplaced(jakarta.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
      Specified by:
      attributeReplaced in interface jakarta.servlet.http.HttpSessionAttributeListener
    • attributeReplaced

      public void attributeReplaced(jakarta.servlet.ServletRequestAttributeEvent servletRequestAttributeEvent)
      Specified by:
      attributeReplaced in interface jakarta.servlet.ServletRequestAttributeListener
    • contextInitialized

      public void contextInitialized(jakarta.servlet.ServletContextEvent servletContextEvent)
      Specified by:
      contextInitialized in interface jakarta.servlet.ServletContextListener
      Overrides:
      contextInitialized in class PluginContextListener
    • instantiatingListeners

      public void instantiatingListeners() throws Exception
      Throws:
      Exception
    • requestDestroyed

      public void requestDestroyed(jakarta.servlet.ServletRequestEvent servletRequestEvent)
      Specified by:
      requestDestroyed in interface jakarta.servlet.ServletRequestListener
    • requestInitialized

      public void requestInitialized(jakarta.servlet.ServletRequestEvent servletRequestEvent)
      Specified by:
      requestInitialized in interface jakarta.servlet.ServletRequestListener
    • sessionCreated

      public void sessionCreated(jakarta.servlet.http.HttpSessionEvent httpSessionEvent)
      Specified by:
      sessionCreated in interface jakarta.servlet.http.HttpSessionListener
    • sessionDestroyed

      public void sessionDestroyed(jakarta.servlet.http.HttpSessionEvent httpSessionEvent)
      Specified by:
      sessionDestroyed in interface jakarta.servlet.http.HttpSessionListener
    • sessionDidActivate

      public void sessionDidActivate(jakarta.servlet.http.HttpSessionEvent httpSessionEvent)
      Specified by:
      sessionDidActivate in interface jakarta.servlet.http.HttpSessionActivationListener
    • sessionWillPassivate

      public void sessionWillPassivate(jakarta.servlet.http.HttpSessionEvent httpSessionEvent)
      Specified by:
      sessionWillPassivate in interface jakarta.servlet.http.HttpSessionActivationListener
    • valueBound

      public void valueBound(jakarta.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
      Specified by:
      valueBound in interface jakarta.servlet.http.HttpSessionBindingListener
    • valueUnbound

      public void valueUnbound(jakarta.servlet.http.HttpSessionBindingEvent httpSessionBindingEvent)
      Specified by:
      valueUnbound in interface jakarta.servlet.http.HttpSessionBindingListener
    • fireUndeployEvent

      protected void fireUndeployEvent()
      Overrides:
      fireUndeployEvent in class PluginContextListener
    • instantiatingListener

      protected void instantiatingListener(String listenerClassName) throws Exception
      Throws:
      Exception