Change session timeout interval to 1 hour for self-editors and 8 hours for higher users.

This commit is contained in:
j2blake 2011-06-16 20:58:12 +00:00
parent ad60dc6908
commit cc6558d3f5

View file

@ -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.