Class SessionListener

  • All Implemented Interfaces:
    EventListener, javax.servlet.http.HttpSessionListener

    @WebListener
    public class SessionListener
    extends Object
    implements javax.servlet.http.HttpSessionListener
    A http session listener that implements a configurable session timeout.

    The session timeout is taken from the property adminConsole.sessionTimeout, the default is 30min.

    Author:
    Guido Jaekel, guido.jaekel@gmx.de
    • Constructor Detail

      • SessionListener

        public SessionListener()
    • Method Detail

      • sessionCreated

        public void sessionCreated​(javax.servlet.http.HttpSessionEvent event)
        Specified by:
        sessionCreated in interface javax.servlet.http.HttpSessionListener
      • sessionDestroyed

        public void sessionDestroyed​(javax.servlet.http.HttpSessionEvent event)
        Specified by:
        sessionDestroyed in interface javax.servlet.http.HttpSessionListener