com.quadrique.jbuildingblocks.core.struts.controller.actions
Class JbbActionAccessControl
java.lang.Object
org.apache.struts.action.Action
com.quadrique.jbuildingblocks.core.struts.controller.actions.JbbAction
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 ...
| 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 |
JbbActionAccessControl
public JbbActionAccessControl()
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.