edu.internet2.middleware.grouper.ui.actions
Class LogoutAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by edu.internet2.middleware.grouper.ui.actions.LowLevelGrouperCapableAction
          extended by edu.internet2.middleware.grouper.ui.actions.GrouperCapableAction
              extended by edu.internet2.middleware.grouper.ui.actions.LogoutAction

public class LogoutAction
extends GrouperCapableAction

Top level Strut's action which invalidates HttpSession and sets cookie to alllow challenge from whatever is managing authenticated access.

Request Parameter Direction Description
     
Request Attribute Direction Description
message OUT Message instance: text derived from auth.message.logout-success key in nav ResourceBundle
loggedOut=true OUT Indicates to GrouperCapableAction.execute that user has logged out and invalidated the HttpSession
Session Attribute Direction Description
authUser IN Used as argument to message
Strut's Action Parameter Direction Description
     
Cookie Direction Description
_grouper_loggedOut=true Out Indicates to authentication mechanism that user logged out of application and should re-authenticate

Version:
$Id: LogoutAction.java,v 1.4 2009-08-12 04:52:14 mchyzer Exp $
Author:
Gary Brown.

Field Summary
 
Fields inherited from class edu.internet2.middleware.grouper.ui.actions.GrouperCapableAction
HIER_DELIM
 
Constructor Summary
LogoutAction()
           
 
Method Summary
 ActionForward grouperExecute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, HttpSession session, GrouperSession grouperSession)
          Action specific - must be implemented by all subclasses
 
Methods inherited from class edu.internet2.middleware.grouper.ui.actions.GrouperCapableAction
clearCallerPageHistory, execute, getCallerPageData, getPageSize, grouperTransactionExecute, restoreDynaFormBean, saveAsCallerPage, saveAsCallerPage, saveDynaFormBean, setAdvancedSearchMode
 
Methods inherited from class edu.internet2.middleware.grouper.ui.actions.LowLevelGrouperCapableAction
findAttribute, getAdvancedSearchMode, getBrowseMode, getBrowseNode, getCookie, getCurrentGroupOrStem, getDefaultRootStemName, getExceptionHelper, getLinkBrowseMode, getTilesAttributes, isEmpty, readDebugPrefs, saveDebugPrefs, setBrowseMode, setBrowseNode, sort
 
Methods inherited from class org.apache.struts.action.Action
execute, getServlet, setServlet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogoutAction

public LogoutAction()
Method Detail

grouperExecute

public ActionForward grouperExecute(ActionMapping mapping,
                                    ActionForm form,
                                    HttpServletRequest request,
                                    HttpServletResponse response,
                                    HttpSession session,
                                    GrouperSession grouperSession)
                             throws Exception
Description copied from class: GrouperCapableAction
Action specific - must be implemented by all subclasses

Specified by:
grouperExecute in class GrouperCapableAction
Throws:
Exception