org.kuali.rice.kim.sesn.timeouthandlers
Class GlobalTimeoutHandler
java.lang.Object
org.kuali.rice.kim.sesn.timeouthandlers.AbstractTimeoutHandler
org.kuali.rice.kim.sesn.timeouthandlers.GlobalTimeoutHandler
- All Implemented Interfaces:
- TimeoutHandler
public class GlobalTimeoutHandler
- extends AbstractTimeoutHandler
This class uses the same timeout for all authentication methods and applications
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlobalTimeoutHandler
public GlobalTimeoutHandler()
getTimeoutPeriod
public int getTimeoutPeriod()
- Returns:
- the timeoutPeriod
setTimeoutPeriod
public void setTimeoutPeriod(int timeoutPeriod)
- Parameters:
timeoutPeriod
- the timeoutPeriod to set
getTimeout
public int getTimeout(Map args)
- Determines the timeout based on the context and initiator
- Parameters:
args
- the args in this implementation aren't used
- Returns:
- the timeout in seconds
hasTimedOut
public boolean hasTimedOut(Map args)
- Examines results from session to determine if timeout has expired
- Parameters:
args
- the args passed depends on the requirements of the TimeoutHandler Implementation
- Returns:
- true if the session has timed out.
- See Also:
org.kuali.rice.kim.client.timeouthandlers.TimeoutHandler#hasTimedOut(java.lang.Object[])
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.