org.kuali.rice.kns.web.struts.action
Class BackdoorAction
java.lang.Object
   org.apache.struts.action.Action
org.apache.struts.action.Action
       org.apache.struts.actions.BaseAction
org.apache.struts.actions.BaseAction
           org.apache.struts.actions.DispatchAction
org.apache.struts.actions.DispatchAction
               org.kuali.rice.kns.web.struts.action.KualiAction
org.kuali.rice.kns.web.struts.action.KualiAction
                   org.kuali.rice.kns.web.struts.action.BackdoorAction
org.kuali.rice.kns.web.struts.action.BackdoorAction
- public class BackdoorAction 
- extends KualiAction
A Struts Action which permits a user to execute a backdoor login to masquerade
 as another user.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
 
 
| Fields inherited from class org.apache.struts.actions.DispatchAction | 
| clazz, log, methods, types | 
 
| Fields inherited from class org.apache.struts.actions.BaseAction | 
| messages | 
 
| Fields inherited from class org.apache.struts.action.Action | 
| servlet | 
 
 
| Method Summary | 
|  org.apache.struts.action.ActionForward | administration(org.apache.struts.action.ActionMapping mapping,
                             org.apache.struts.action.ActionForm form,
                             javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response)
 | 
|  org.apache.struts.action.ActionForward | execute(org.apache.struts.action.ActionMapping mapping,
               org.apache.struts.action.ActionForm form,
               javax.servlet.http.HttpServletRequest request,
               javax.servlet.http.HttpServletResponse response)Entry point to all actions.
 | 
| static UserSession | getUserSession(javax.servlet.http.HttpServletRequest request)
 | 
|  void | initForm(javax.servlet.http.HttpServletRequest request,
                 org.apache.struts.action.ActionForm form)
 | 
|  boolean | isBackdoorAuthorized(UserSession uSession,
                                         javax.servlet.http.HttpServletRequest request)
 | 
|  org.apache.struts.action.ActionForward | login(org.apache.struts.action.ActionMapping mapping,
           org.apache.struts.action.ActionForm form,
           javax.servlet.http.HttpServletRequest request,
           javax.servlet.http.HttpServletResponse response)
 | 
|  org.apache.struts.action.ActionForward | logout(org.apache.struts.action.ActionMapping mapping,
             org.apache.struts.action.ActionForm form,
             javax.servlet.http.HttpServletRequest request,
             javax.servlet.http.HttpServletResponse response)
 | 
|  org.apache.struts.action.ActionForward | menu(org.apache.struts.action.ActionMapping mapping,
         org.apache.struts.action.ActionForm form,
         javax.servlet.http.HttpServletRequest request,
         javax.servlet.http.HttpServletResponse response)
 | 
|  org.apache.struts.action.ActionForward | portal(org.apache.struts.action.ActionMapping mapping,
             org.apache.struts.action.ActionForm form,
             javax.servlet.http.HttpServletRequest request,
             javax.servlet.http.HttpServletResponse response)
 | 
|  org.apache.struts.action.ActionForward | refresh(org.apache.struts.action.ActionMapping mapping,
               org.apache.struts.action.ActionForm form,
               javax.servlet.http.HttpServletRequest request,
               javax.servlet.http.HttpServletResponse response)Default refresh method.
 | 
|  org.apache.struts.action.ActionForward | start(org.apache.struts.action.ActionMapping mapping,
           org.apache.struts.action.ActionForm form,
           javax.servlet.http.HttpServletRequest request,
           javax.servlet.http.HttpServletResponse response)
 | 
 
| Methods inherited from class org.kuali.rice.kns.web.struts.action.KualiAction | 
| addMethodToCallToUncheckedList, checkAuthorization, defaultDispatch, dispatchMethod, doProcessingAfterPost, findMethodToCall, getApplicationBaseUrl, getBusinessObjectAuthorizationService, getEncryptionService, getHeaderTabDispatch, getHeaderTabNavigateTo, getImageContext, getKualiModuleService, getLineToDelete, getLineToEdit, getReturnLocation, getRoleQualification, getSelectedLine, getTabToToggle, headerTab, hideAllTabs, isModuleLocked, performInquiry, performLookup, performQuestionWithInput, performQuestionWithInputAgainBecauseOfErrors, performQuestionWithoutInput, performWorkgroupLookup, postTextAreaToParent, retrieveLookupParameterValue, showAllTabs, toggleTab, updateTextArea, validateLookupInquiryFullParameter | 
 
| Methods inherited from class org.apache.struts.actions.DispatchAction | 
| cancelled, getMethod, getMethodName, getParameter, unspecified | 
 
| Methods inherited from class org.apache.struts.action.Action | 
| addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
BackdoorAction
public BackdoorAction()
execute
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws Exception
- Description copied from class: KualiAction
- Entry point to all actions.
 NOTE: No need to hook into execute for handling framework setup anymore. Just implement the methodToCall for the framework
 setup, Constants.METHOD_REQUEST_PARAMETER will contain the full parameter, which can be sub stringed for getting framework
 parameters.
 
- 
- Overrides:
- executein class- KualiAction
 
- 
- Throws:
- Exception
- See Also:
- Action.execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm,
      javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
 
menu
public org.apache.struts.action.ActionForward menu(org.apache.struts.action.ActionMapping mapping,
                                                   org.apache.struts.action.ActionForm form,
                                                   javax.servlet.http.HttpServletRequest request,
                                                   javax.servlet.http.HttpServletResponse response)
                                            throws Exception
- 
- Throws:
- Exception
 
refresh
public org.apache.struts.action.ActionForward refresh(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws Exception
- Description copied from class: KualiAction
- Default refresh method. Called from returning frameworks.
 
- 
- Overrides:
- refreshin class- KualiAction
 
- 
- Returns:
- 
- Throws:
- Exception
 
start
public org.apache.struts.action.ActionForward start(org.apache.struts.action.ActionMapping mapping,
                                                    org.apache.struts.action.ActionForm form,
                                                    javax.servlet.http.HttpServletRequest request,
                                                    javax.servlet.http.HttpServletResponse response)
                                             throws Exception
- 
- Throws:
- Exception
 
portal
public org.apache.struts.action.ActionForward portal(org.apache.struts.action.ActionMapping mapping,
                                                     org.apache.struts.action.ActionForm form,
                                                     javax.servlet.http.HttpServletRequest request,
                                                     javax.servlet.http.HttpServletResponse response)
                                              throws Exception
- 
- Throws:
- Exception
 
administration
public org.apache.struts.action.ActionForward administration(org.apache.struts.action.ActionMapping mapping,
                                                             org.apache.struts.action.ActionForm form,
                                                             javax.servlet.http.HttpServletRequest request,
                                                             javax.servlet.http.HttpServletResponse response)
                                                      throws Exception
- 
- Throws:
- Exception
 
logout
public org.apache.struts.action.ActionForward logout(org.apache.struts.action.ActionMapping mapping,
                                                     org.apache.struts.action.ActionForm form,
                                                     javax.servlet.http.HttpServletRequest request,
                                                     javax.servlet.http.HttpServletResponse response)
                                              throws Exception
- 
- Throws:
- Exception
 
login
public org.apache.struts.action.ActionForward login(org.apache.struts.action.ActionMapping mapping,
                                                    org.apache.struts.action.ActionForm form,
                                                    javax.servlet.http.HttpServletRequest request,
                                                    javax.servlet.http.HttpServletResponse response)
                                             throws Exception
- 
- Throws:
- Exception
 
initForm
public void initForm(javax.servlet.http.HttpServletRequest request,
                     org.apache.struts.action.ActionForm form)
              throws Exception
- 
- Throws:
- Exception
 
getUserSession
public static UserSession getUserSession(javax.servlet.http.HttpServletRequest request)
- 
 
isBackdoorAuthorized
public boolean isBackdoorAuthorized(UserSession uSession,
                                    javax.servlet.http.HttpServletRequest request)
- 
 
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.