ssoadm revision 4fe4e4f798a84a46e567f64ceadd3648eb0582d4
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#!/bin/sh
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Copyright (c) 2008 Sun Microsystems Inc. All Rights Reserved
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# The contents of this file are subject to the terms
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# of the Common Development and Distribution License
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# (the License). You may not use this file except in
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# compliance with the License.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# You can obtain a copy of the License at
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync# https://opensso.dev.java.net/public/CDDLv1.0.html or
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync# opensso/legal/CDDLv1.0.txt
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync# See the License for the specific language governing
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync# permission and limitations under the License.
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync#
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync# When distributing Covered Code, include this CDDL
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync# Header Notice in each file and include the License file
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync# at opensso/legal/CDDLv1.0.txt.
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync# If applicable, add the following below the CDDL Header,
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync# with the fields enclosed by brackets [] replaced by
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync# your own identifying information:
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync# "Portions Copyrighted [year] [name of copyright owner]"
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync#
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync# $Id: ssoadm,v 1.20 2010/01/28 00:49:05 bigfatrat Exp $
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync#
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync# Portions Copyrighted 2010-2011 ForgeRock AS
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsyncif [ -z "${JAVA_HOME}" ] ; then
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync JAVA_HOME="@JAVA_HOME@"
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsyncfi
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsyncTOOLS_HOME="@TOOLS_HOME@"
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsyncEXT_CLASSPATH=${CLASSPATH}
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCLASSPATH="@CONFIG_DIR@:${TOOLS_HOME}/classes:${TOOLS_HOME}/resources:${TOOLS_HOME}/lib/amadm_setup.jar:${TOOLS_HOME}/lib/OpenDJ.jar:${TOOLS_HOME}/classes:${TOOLS_HOME}/lib/mail.jar:${TOOLS_HOME}/lib/j2ee.jar:${TOOLS_HOME}/lib/webservices-api.jar:${TOOLS_HOME}/lib/webservices-rt.jar:${TOOLS_HOME}/lib/webservices-tools.jar:${TOOLS_HOME}/lib/xsdlib.jar:${TOOLS_HOME}/lib/amserver.jar:${TOOLS_HOME}/lib/opensso-sharedlib.jar:${TOOLS_HOME}/lib/opensso.jar:${TOOLS_HOME}/lib/openfedlib.jar:${TOOLS_HOME}/lib/json.jar"
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsyncif [ -n "${EXT_CLASSPATH}" ] ; then
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync CLASSPATH=${EXT_CLASSPATH}:${CLASSPATH}
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsyncfi
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync${JAVA_HOME}/bin/java -Xms256m -Xmx512m -cp "${CLASSPATH}" -D"sun.net.client.defaultConnectTimeout=3000" -D"openam.naming.sitemonitor.disabled=true" -D"com.iplanet.am.serverMode=false" -D"com.sun.identity.sm.notification.enabled=false" -D"bootstrap.dir=@CONFIG_DIR@" -D"com.iplanet.services.debug.directory=@DEBUG_DIR@" -D"com.sun.identity.log.dir=@LOG_DIR@" -D"definitionFiles=com.sun.identity.cli.AccessManager,com.sun.identity.federation.cli.FederationManager" -D"commandName=ssoadm" -D"amconfig=AMConfig" -D"java.version.current=java.vm.version" -D"java.version.expected=1.4+" -D"am.version.current=com.iplanet.am.version" -D"am.version.expected=@AM_VERSION@" -D"com.iplanet.am.sdk.package=com.iplanet.am.sdk.remote" -D"com.sun.identity.idm.remote.notification.enabled=false" com.sun.identity.cli.CommandManager "$@"
a0d1e40cc56a54314af0a1a4b5e13905ffd78393vboxsync