@@ -0,0 +1,923 @@
+package org.jivesoftware.admin;%0A%0Aimport org.jivesoftware.util.JiveGlobals;%0A%0Aimport javax.servlet.http.HttpSessionEvent;%0Aimport javax.servlet.http.HttpSessionListener;%0Aimport javax.servlet.annotation.WebListener;%0A%0A/**%0A * A http session listener that implements a configurable session timeout.%3Cp%3E%0A *%0A * The session timeout is taken from the property %7B@code adminConsole.sessionTimeout%7D, the default is 30min.%0A *%0A * @author Guido Jaekel, guido.jaekel@gmx.de%0A * @author Guus der Kinderen, guus.der.kinderen@gmail.com%0A */%0A%0A@WebListener%0Apublic class SessionListener implements HttpSessionListener %7B%0A%0A     private static final int sessionTimeout = JiveGlobals.getIntProperty( %22adminConsole.sessionTimeout%22, 30*60 ); // secs%0A%0A%0A     public void sessionCreated(HttpSessionEvent event)%7B%0A         event.getSession().setMaxInactiveInterval(sessionTimeout);%0A     %7D%0A%0A%0A     public void sessionDestroyed(HttpSessionEvent event) %7B%0A     %7D%0A%0A%7D%0A

Make Admin Console session timeout configurable