ssoadm revision cad9afe394afce79886319efffe393ff8b74492a
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#!/bin/sh
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# Copyright (c) 2008 Sun Microsystems Inc. All Rights Reserved
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# The contents of this file are subject to the terms
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# of the Common Development and Distribution License
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# (the License). You may not use this file except in
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# compliance with the License.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# You can obtain a copy of the License at
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# https://opensso.dev.java.net/public/CDDLv1.0.html or
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# opensso/legal/CDDLv1.0.txt
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# See the License for the specific language governing
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# permission and limitations under the License.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# When distributing Covered Code, include this CDDL
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# Header Notice in each file and include the License file
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# at opensso/legal/CDDLv1.0.txt.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# If applicable, add the following below the CDDL Header,
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# with the fields enclosed by brackets [] replaced by
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# your own identifying information:
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# "Portions Copyrighted [year] [name of copyright owner]"
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# $Id: ssoadm,v 1.20 2010/01/28 00:49:05 bigfatrat Exp $
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# Portions Copyrighted 2010-2011 ForgeRock AS
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipeif [ -z "${JAVA_HOME}" ] ; then
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe JAVA_HOME="@JAVA_HOME@"
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipefi
266c5071a91fda6a5159b08ea8d45261228d03d5neil_a_wilson
266c5071a91fda6a5159b08ea8d45261228d03d5neil_a_wilsonTOOLS_HOME="@TOOLS_HOME@"
266c5071a91fda6a5159b08ea8d45261228d03d5neil_a_wilsonEXT_CLASSPATH=${CLASSPATH}
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipeCLASSPATH="@CONFIG_DIR@"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/classes:${TOOLS_HOME}/resources"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-distribution-amadmsetup-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/OpenDJ-2012-20-02.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/mail-1.4.5.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/j2ee-2007-18-10.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/webservices-api-2009-14-01.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/webservices-rt-2009-29-07.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/wwebservices-tools-2.1-b16.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/json-20090211.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/webservices-extra-2008-03-12.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/webservices-extra-api-2003-09-04.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/xalan-2.7.1.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/xercesImpl-2.10.0.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/xml-apis-1.4.01.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/xmlsec-1.3.0.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-core-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-shared-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-ad-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-adaptive-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-anonymous-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-application-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-cert-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-datastore-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-hotp-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-httpbasic-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-jdbc-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-ldap-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-membership-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-msisdn-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-nt-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-oath-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-oauth2-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-radius-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-safeword-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-securid-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-windowsdesktopsso-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-coretoken-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-dtd-schema-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-entitlements-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-federation-library-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-idsvcs-schema-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-jaxrpc-schema-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-liberty-schema-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-mib-schema-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-oauth-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-oauth2-core-token-service-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-oauth2-main-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-oauth2-openam-extension-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-oauth2-restlet-extension-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-rest-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-saml2-schema-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-session-ha-core-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-session-ha-locale-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-wsfederation-schema-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-xacml3-schema-10.1.0-SNAPSHOT.jar"
CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/OpenFM-10.1.0-SNAPSHOT.jar"
if [ -n "${EXT_CLASSPATH}" ] ; then
CLASSPATH=${EXT_CLASSPATH}:${CLASSPATH}
fi
${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 "$@"