protected AbstractWizardSequence createWizardSequence(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
ActionForward fwd = mapping.findForward("finish");
SessionInfo session = LogonControllerFactory.getInstance().getSessionInfo(request);
DefaultWizardSequence seq = new DefaultWizardSequence(fwd, "webForwards", "webForwardWizard", CoreUtil.getReferer(request), "webForwardWizard", session);
seq.putAttribute(ATTR_USER, LogonControllerFactory.getInstance().getUser(request));
seq.addStep(new WizardStep("/webForwardTypeSelection.do", true));
seq.addStep(new WizardStep("/webForwardResourceDetails.do"));
seq.addStep(new WizardStep("/webForwardSpecificDetails.do"));
seq.addStep(new WizardStep("/webForwardAuthenticationDetails.do"));
boolean isUserConsole = getSessionInfo(request).isUserConsoleContext();
seq.addStep(new WizardStep( isUserConsole ? "/webForwardPersonalPolicy.do" : "/webForwardPolicySelection.do"));
seq.addStep(new WizardStep("/webForwardSummary.do"));
return seq;
}