org.kuali.rice.kim.sesn.timeouthandlers
Class GlobalTimeoutHandler

java.lang.Object
  extended by org.kuali.rice.kim.sesn.timeouthandlers.AbstractTimeoutHandler
      extended by 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)

Constructor Summary
GlobalTimeoutHandler()
           
 
Method Summary
 int getTimeout(java.util.Map args)
          Determines the timeout based on the context and initiator
 int getTimeoutPeriod()
           
 boolean hasTimedOut(java.util.Map args)
          Examines results from session to determine if timeout has expired
 void setTimeoutPeriod(int timeoutPeriod)
           
 
Methods inherited from class org.kuali.rice.kim.sesn.timeouthandlers.AbstractTimeoutHandler
getTimeoutField, setTimeoutField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalTimeoutHandler

public GlobalTimeoutHandler()
Method Detail

getTimeoutPeriod

public int getTimeoutPeriod()
Returns:
the timeoutPeriod

setTimeoutPeriod

public void setTimeoutPeriod(int timeoutPeriod)
Parameters:
timeoutPeriod - the timeoutPeriod to set

getTimeout

public int getTimeout(java.util.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(java.util.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 © 2004-2011 The Kuali Foundation. All Rights Reserved.