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

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.PopulateGroupMemberAction

public class PopulateGroupMemberAction
extends GrouperCapableAction

Top level Strut's action which retrieves privileges for subject, with respect to a group or stem. This page does not differentiate privileges assigned directly from those derived from group memberships - may give unexpected behaviour.

Request Parameter Direction Description

asMemberOf

IN/OUT Context for the Subject - the group are we dealing with. If not set, set based on findForNode

subjectId

IN Identifies the member / privilegee we are dealing with

subjectType

IN Required to ensure no conflicts in subjectIds between Subject types

privileges

OUT The privileges the user currently has

displayExtension

IN Used in subtitleArgs to give UI context

contextGroupId

IN Used when we are on a diversion and the group we are modifying is not the browseParent

listField

IN Custom list field we should display 'members' for
Request Attribute Direction Description
browseParent OUT Map for stem of current stem
subject OUT Subject obtained from id and type wrapped as a Map
authUserPriv OUT Map of privileges the authenticated user has for this group or stem
subjectPriv OUT Map of direct privileges the Subject identified by request parameters has for this group or stem
possiblePrivs OUT All privileges (Naming or Access) which can be assigned
possibleEffectivePrivs OUT All privileges (Naming or Access) which can be assigned + MEMBER as psuedo Access priv
subtitleArgs OUT Provides context for UI
thisPageId OUT USed in links and forms so this page can be returned to
extendedSubjectPriv OUT Effective privileges and how they are derived

listField

OUT Maintain correct list field

groupPrivilegeResolver

OUT Instance of UIGroupPrivilegeResolver
Session Attribute Direction Description
findForPriv OUT Set to privilege request parameter
subtitle=stems.action.edit-member or groups.action.edit-member OUT Key resolved in nav ResourceBundle
findForNode IN Use if asMemberOf not set
Strut's Action Parameter Direction Description
stems IN Indicates we are dealing with a stem

Version:
$Id: PopulateGroupMemberAction.java,v 1.14 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
PopulateGroupMemberAction()
           
 
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

PopulateGroupMemberAction

public PopulateGroupMemberAction()
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