OpenSSOConfigurator.java revision 6b03e7e543749a4c21d754a29e46f682ce4684d7
2215N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 0N/A * Copyright (c) 2008 Sun Microsystems, Inc. All Rights Reserved. 0N/A * The contents of this file are subject to the terms 0N/A * of the Common Development and Distribution License 0N/A * (the License). You may not use this file except in 0N/A * compliance with the License. 0N/A * You can obtain a copy of the License at 0N/A * See the License for the specific language governing 0N/A * permission and limitations under the License. 0N/A * When distributing Covered Code, include this CDDL 0N/A * Header Notice in each file and include the License file 1472N/A * If applicable, add the following below the CDDL Header, 1472N/A * with the fields enclosed by brackets [] replaced by 0N/A * your own identifying information: 0N/A * "Portions Copyrighted [year] [name of copyright owner]" 1879N/A * Portions Copyrighted 2011-2015 ForgeRock AS. 1879N/A * Portions Copyrighted 2012 Open Source Solution Technology Corporation 1064N/A * Application which accepts a config file, displays licenses to the user 0N/A * and triggers OpenAM's configurator system. Once begun, uses a second thread 1365N/A * to connect to the installation progress page and print out its status. * @param args Program arguments // User must have accepted all license terms now, so ensure parameter is added to request * Sets up the Configurator with the appropriate values read from the supplied file, * may also set the acceptLicense instance variable. * @param config the properties file to configure from * @return the OpenAM URL to post data to * Talks to the OpenAM server * @param readProgress Thread that prints out the current progress of the installation * @param openAmURL URL of the OpenAM instance to update * @return true if installation succeeds, false otherwise // wait 5 seconds if ReadProgress thread does not finished.