org.kuali.rice.kim.sesn.timeouthandlers
Interface TimeoutHandler

All Known Implementing Classes:
AbstractTimeoutHandler, DisabledTimeoutHandler, GlobalTimeoutHandler

public interface TimeoutHandler

This interface allows different methods for handling timeouts for Authentication

Author:
Kuali Rice Team (rice.collab@kuali.org)

Method Summary
 int getTimeout(Map<String,Object> args)
          Determines the timeout based on the context and initiator
 boolean hasTimedOut(Map<String,Object> args)
          Determines if the timeout has expired
 

Method Detail

getTimeout

int getTimeout(Map<String,Object> args)
Determines the timeout based on the context and initiator

Parameters:
args - the args passed depends on the requirements of the TimeoutHandler Implementation
Returns:
the timeout in seconds. Returns 0 to disable timeouts.

hasTimedOut

boolean hasTimedOut(Map<String,Object> args)
Determines if the timeout has expired

Parameters:
args - the args passed depends on the requirements of the TimeoutHandler Implementation
Returns:
true if the session has timed out.


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.