From cc6558d3f53c4ca139d73541e547ae28d66687f6 Mon Sep 17 00:00:00 2001 From: j2blake Date: Thu, 16 Jun 2011 20:58:12 +0000 Subject: [PATCH] Change session timeout interval to 1 hour for self-editors and 8 hours for higher users. --- .../vitro/webapp/controller/authenticate/Authenticator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/authenticate/Authenticator.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/authenticate/Authenticator.java index db7036c6e..dce2bf46a 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/authenticate/Authenticator.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/authenticate/Authenticator.java @@ -51,10 +51,10 @@ public abstract class Authenticator { // ---------------------------------------------------------------------- /** Maximum inactive interval for a ordinary logged-in session, in seconds. */ - public static final int LOGGED_IN_TIMEOUT_INTERVAL = 300; + public static final int LOGGED_IN_TIMEOUT_INTERVAL = 60 * 60; /** Maximum inactive interval for a editor (or better) session, in seconds. */ - public static final int PRIVILEGED_TIMEOUT_INTERVAL = 32000; + public static final int PRIVILEGED_TIMEOUT_INTERVAL = 60 * 60 * 8; /** * Get the UserAccount for this external ID, or null if there is none.