* @see com.adito.wizard.actions.AbstractWizardAction#next(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
*/
public ActionForward next(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
throws Exception {
super.next(mapping, form, request, response);
SelectCertificateSourceForm wizardForm = (SelectCertificateSourceForm)form;
if(SelectCertificateSourceForm.CREATE_NEW_CERTIFICATE.equals(wizardForm.getCertificateSource())) {
return mapping.findForward("setKeyStorePassword");
}
else if(SelectCertificateSourceForm.IMPORT_EXISTING_CERTIFICATE.equals(wizardForm.getCertificateSource())) {
getWizardSequence(request).removeAttribute(SetKeyStorePasswordForm.ATTR_KEY_STORE_PASSWORD);
return mapping.findForward("importExistingCertificate");
}
else if(SelectCertificateSourceForm.USE_CURRENT_CERTIFICATE.equals(wizardForm.getCertificateSource())) {
getWizardSequence(request).removeAttribute(SetKeyStorePasswordForm.ATTR_KEY_STORE_PASSWORD);
return mapping.findForward("useCurrentCertificate");
}
return unspecified(mapping, form, request, response);
}