c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna/*
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna* The contents of this file are subject to the terms of the Common Development and
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna* Distribution License (the License). You may not use this file except in compliance with the
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna* License.
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna*
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna* You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna* specific language governing permission and limitations under the License.
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna*
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna* When distributing Covered Software, include this CDDL Header Notice in each file and include
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna* the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna* Header, with the fields enclosed by brackets [] replaced by your own identifying
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna* information: "Portions copyright [year] [name of copyright owner]".
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna*
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna* Copyright 2014 ForgeRock AS.
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna*/
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Lunapackage com.sun.identity.setup;
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Lunaimport org.forgerock.guice.core.InjectorHolder;
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna/**
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna * Entry-point for the CLI Configurator
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna */
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Lunapublic class Main {
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna /**
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna * Starting point.
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna *
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna * @param args command-line arguments
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna */
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna public static void main(String[] args) {
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna OpenSSOConfigurator configurator = InjectorHolder.getInstance(OpenSSOConfigurator.class);
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna configurator.execute(args);
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna }
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna
c375ffd945a63cb2de20fda03e2ef0cdf96e64d9David Luna}