public void sessionCreated(HttpSessionEvent event){
         event.getSession().setMaxInactiveInterval((int) SESSION_TIMEOUT.getValue().toSeconds());
     }
A http session listener that implements a configurable session timeout.<p>

The session timeout is taken from the property {@code adminConsole.sessionTimeout}, the default is 30min.

@author Guido Jaekel, guido.jaekel@gmx.de
xmppserver/src/main/java/org/jivesoftware/admin/SessionListener.java