Package com.adito.wizard

Examples of com.adito.wizard.DefaultWizardSequence


     * @see com.adito.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, "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;
    }
View Full Code Here


    /* (non-Javadoc)
     * @see com.adito.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");
        DefaultWizardSequence seq = new DefaultWizardSequence(fwd, "install", "installation", "/shutdown.do?actionTarget=installShutdown", "installWizard", this.getSessionInfo(request));
        seq.addStep(new WizardStep("/selectCertificateSource.do", true));
        seq.addStep(new WizardStep("/selectUserDatabase.do"));
        seq.addStep(new WizardStep("/configureSuperUser.do"));
        seq.addStep(new WizardStep("/webServer.do"));
        seq.addStep(new WizardStep("/configureProxies.do"));
        seq.addStep(new WizardStep("/installationSummary.do"));
        return seq;
    }
View Full Code Here

     *      javax.servlet.http.HttpServletResponse)
     */
    protected AbstractWizardSequence createWizardSequence(ActionMapping mapping, ActionForm form, HttpServletRequest request,
                    HttpServletResponse response) throws Exception {
        ActionForward fwd = mapping.findForward("finish");
        DefaultWizardSequence seq = new DefaultWizardSequence(fwd, "policyframework", "policyWizard", CoreUtil.getReferer(request),
                        "policyWizard", this.getSessionInfo(request));
        seq.addStep(new WizardStep("/policyDetails.do", true));
        seq.addStep(new WizardStep("/policyPrincipalSelection.do"));
        seq.addStep(new WizardStep("/policySummary.do"));
        return seq;
    }
View Full Code Here

     */
    protected AbstractWizardSequence createWizardSequence(ActionMapping mapping, ActionForm form, HttpServletRequest request,
                    HttpServletResponse response) throws Exception {
        ActionForward fwd = mapping.findForward("finish");
        String permClass = request.getParameter("class");
        DefaultWizardSequence seq = new DefaultWizardSequence(fwd, "policyframework", "accessRightsWizard", CoreUtil
            .getReferer(request), "accessRightsWizard", this.getSessionInfo(request));
        seq.putAttribute(AccessRightsDetailsForm.ATTR_RESOURCE_PERMISSION_CLASS, permClass);
        seq.addStep(new WizardStep("/accessRightsDetails.do", true));
        seq.addStep(new WizardStep("/accessRightsPermissions.do", false));
        seq.addStep(new WizardStep("/accessRightsPolicySelection.do", false));
        seq.addStep(new WizardStep("/accessRightsSummary.do", false));
        return seq;
    }
View Full Code Here

     */
    protected AbstractWizardSequence createWizardSequence(ActionMapping mapping, ActionForm form, HttpServletRequest request,
                    HttpServletResponse response) throws Exception {
        ActionForward fwd = mapping.findForward("finish");
        SessionInfo session = CoreServlet.getServlet().getLogonController().getSessionInfo(request);
        DefaultWizardSequence seq = new DefaultWizardSequence(fwd, "sample", "samplewizard", CoreUtil.getReferer(request),
                        "samplewizard", session);
        seq.putAttribute(ATTR_USER, CoreServlet.getServlet().getLogonController().getUser(request));
        seq.addStep(new WizardStep("/sampleDefaultDetails.do", true));
        seq.addStep(new WizardStep("/sampleDetails.do"));
        seq.addStep(new WizardStep("/samplePolicySelection.do"));
        seq.addStep(new WizardStep("/sampleSummary.do"));
        return seq;
    }
View Full Code Here

    /* (non-Javadoc)
     * @see com.adito.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");
        DefaultWizardSequence seq = new DefaultWizardSequence(fwd, "keystore", "keyStoreImportWizard", CoreUtil.getReferer(request), "keyStoreImportWizard", this.getSessionInfo(request));
        seq.addStep(new WizardStep("/keyStoreImportType.do", true));
        seq.addStep(new WizardStep("/keyStoreImportFile.do"));
        seq.addStep(new WizardStep("/keyStoreImportSummary.do"));
        return seq;
    }
View Full Code Here

     *      javax.servlet.http.HttpServletResponse)
     */
    protected AbstractWizardSequence createWizardSequence(ActionMapping mapping, ActionForm form, HttpServletRequest request,
                    HttpServletResponse response) throws Exception {
        ActionForward fwd = mapping.findForward("finish");
        DefaultWizardSequence seq = new DefaultWizardSequence(fwd, NetworkPlacePlugin.MESSAGE_RESOURCES_KEY, "networkPlaceWizard",
            CoreUtil.getReferer(request), "networkPlaceWizard", this.getSessionInfo(request));
        seq.addStep(new WizardStep("/defaultNetworkPlaceDetails.do", true));
        seq.addStep(new WizardStep("/networkPlaceDetails.do"));
        boolean isUserConsole = getSessionInfo(request).isUserConsoleContext();
        seq.addStep(new WizardStep( isUserConsole ? "/networkPlacePersonalPolicy.do" : "/networkPlacePolicySelection.do"));
        seq.addStep(new WizardStep("/networkPlaceSummary.do"));
        return seq;
    }
View Full Code Here

     *      javax.servlet.http.HttpServletResponse)
     */
    protected AbstractWizardSequence createWizardSequence(ActionMapping mapping, ActionForm form, HttpServletRequest request,
                    HttpServletResponse response) throws Exception {
        ActionForward fwd = mapping.findForward("finish");
        DefaultWizardSequence seq = new DefaultWizardSequence(fwd, "properties", "profileWizard", CoreUtil.getReferer(request),
                        "profileWizard", this.getSessionInfo(request));
        seq.putAttribute(ATTR_PROFILE_SCOPE, request.getParameter("profileScope"));
        seq.addStep(new WizardStep("/profileDetails.do", true));
        seq.addStep(new WizardStep("/profilePolicySelection.do"));
        seq.addStep(new WizardStep("/profileSummary.do"));
        return seq;
    }
View Full Code Here

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

     */
    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, "properties", "attributeDefinitionWizard", CoreUtil.getReferer(request),
                        "attributeDefinitionWizard", session);
        seq.putAttribute(ATTR_CLASS, UserAttributes.NAME);
        seq.addStep(new WizardStep("/attributeDefinitionDetails.do", true));
        seq.addStep(new WizardStep("/attributeDefinitionOptions.do"));
        seq.addStep(new WizardStep("/attributeDefinitionSummary.do"));
        return seq;
    }
View Full Code Here

TOP

Related Classes of com.adito.wizard.DefaultWizardSequence

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.