Package com.adito.install.forms

Examples of com.adito.install.forms.SelectCertificateSourceForm


     * @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);
    }
View Full Code Here

TOP

Related Classes of com.adito.install.forms.SelectCertificateSourceForm

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.