/* * (non-Javadoc) * * @see org.apache.struts.actions.DispatchAction#unspecified(org.apache.struts.action.ActionMapping, * org.apache.struts.action.ActionForm, * javax.servlet.http.HttpServletRequest, * javax.servlet.http.HttpServletResponse) */ public ActionForward unspecified( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { CoreUtil.addRequiredFieldMessage(this, request); return super.unspecified(mapping, form, request, response); }
/* * (non-Javadoc) * * @see com.sslexplorer.wizard.actions.AbstractWizardAction#createWizardSequence(org.apache.struts.action.ActionMapping, * org.apache.struts.action.ActionForm, * javax.servlet.http.HttpServletRequest, * javax.servlet.http.HttpServletResponse) */ 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, "security", "authwizard", CoreUtil.getReferer(request), "authwizard", session); seq.putAttribute(ATTR_USER, LogonControllerFactory.getInstance().getUser(request)); seq.addStep(new WizardStep("/athenticationSchemeDetails.do", true)); seq.addStep(new WizardStep("/athenticationSchemeSelection.do")); seq.addStep(new WizardStep("/athenticationSchemePolicySelection.do")); seq.addStep(new WizardStep("/athenticationSchemeSummary.do")); return seq; }