com.quadrique.jbuildingblocks.core.struts.controller.actions
Class JbbActionAccessControl

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by com.quadrique.jbuildingblocks.core.struts.controller.actions.JbbAction
          extended by com.quadrique.jbuildingblocks.core.struts.controller.actions.JbbActionAccessControl

public abstract class JbbActionAccessControl
extends JbbAction

The base action for all the actions of the framework It provides support for access control + ... not loggged in ... log in ... goes to the page initially requested ...


Field Summary
 
Fields inherited from class com.quadrique.jbuildingblocks.core.struts.controller.actions.JbbAction
maxNbOfBreadcrumbs
 
Constructor Summary
JbbActionAccessControl()
           
 
Method Summary
 org.apache.struts.action.ActionForward getRequestedActionFromSessionAndRemoveIt(javax.servlet.http.HttpServletRequest request)
           
 boolean isPerformAccessControl()
           
 void saveRequestedActionInSession(javax.servlet.http.HttpServletRequest request, org.apache.struts.action.ActionMapping mapping)
           
 void setPerformAccessControl(boolean performAccessControl)
           
 
Methods inherited from class com.quadrique.jbuildingblocks.core.struts.controller.actions.JbbAction
execute, getBreadcrumbPresentationName, getMaxNbOfBreadcrumbs, getSession, getSession, getValueFromSessionAsInt, getValueFromSessionAsObject, getValueFromSessionAsString, isBreadcrumb, removeFormFromSession, removeValueFromSession, setBreadcrumb, setMaxNbOfBreadcrumbs, setValueInSession, setValueInSession, setValueInSession
 
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

JbbActionAccessControl

public JbbActionAccessControl()
Method Detail

saveRequestedActionInSession

public void saveRequestedActionInSession(javax.servlet.http.HttpServletRequest request,
                                         org.apache.struts.action.ActionMapping mapping)
                                  throws Exception
Parameters:
request -
mapping -
Throws:
Exception

getRequestedActionFromSessionAndRemoveIt

public org.apache.struts.action.ActionForward getRequestedActionFromSessionAndRemoveIt(javax.servlet.http.HttpServletRequest request)
                                                                                throws Exception
Parameters:
request -
Returns:
the previously requested action (if any) that was stored in the session before the user logged in
Throws:
Exception

isPerformAccessControl

public boolean isPerformAccessControl()

setPerformAccessControl

public void setPerformAccessControl(boolean performAccessControl)


Copyright © 2001-2008 Quadrique Corporation. All Rights Reserved.