001 package org.kuali.student.common.ui.client.security;
002
003 /**
004 * Implement this interface to provide a timeout handler for session timeout.
005 *
006 * @author Kuali Student Team
007 *
008 */
009 public interface SessionTimeoutHandler {
010
011 /**
012 * Detects if session has timed out
013 */
014 public boolean isSessionTimeout(Throwable error);
015
016 /**
017 * Performs operations needed to handle a session timeout.
018 */
019 public void handleSessionTimeout();
020 }