Wizard.java revision b3ccab776ea1230611ef6a611ccfdb7963192b82
/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2007 Sun Microsystems Inc. All Rights Reserved
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at opensso/legal/CDDLv1.0.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* $Id: Wizard.java,v 1.27 2009/01/17 02:05:35 kevinserwin Exp $
*
*/
/*
* Portions Copyrighted 2010-2012 ForgeRock AS
*/
public int startingTab = 1;
public ActionLink createConfigLink =
public ActionLink testUrlLink =
public ActionLink pushConfigLink =
/**
* This is the 'execute' operation for the entire wizard. This method
* aggregates all data submitted across the wizard pages here in one lump
* and hands it off to the back-end for processing.
*/
public boolean createConfig() {
/*
* Get the admin password. use the same value for password and confirm
* value because they were validated in the input screen
*/
/*
* Get the agent password. same value used for password and confirm
* because they were validated in the input screen.
*/
/*
* Set the data store information
*/
boolean isEmbedded = false;
/*
* set the embedded replication information for local host port
* and remote host port
*/
if (isEmbedded) {
tmp);
}
}
if (!isEmbedded) {
}
// user store repository
}
// site configuration is passed as a map of the site information
if (loadBalancerHost != null) {
}
// server properties
int serverPort;
serverHost = getHostName();
} else {
}
}
}
cookie = getCookieDomain();
}
}
}
try {
writeToResponse("true");
} else {
}
} catch (ConfiguratorException cfe) {
}
return false;
}
}