ssoadm revision baaed411ab408955d7c976883c7ab76392b85ace
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# Copyright (c) 2008 Sun Microsystems Inc. All Rights Reserved
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# The contents of this file are subject to the terms
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# of the Common Development and Distribution License
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# (the License). You may not use this file except in
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# compliance with the License.
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# You can obtain a copy of the License at
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# https://opensso.dev.java.net/public/CDDLv1.0.html or
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# See the License for the specific language governing
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# permission and limitations under the License.
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# When distributing Covered Code, include this CDDL
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# Header Notice in each file and include the License file
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# If applicable, add the following below the CDDL Header,
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# with the fields enclosed by brackets [] replaced by
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# your own identifying information:
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# "Portions Copyrighted [year] [name of copyright owner]"
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# $Id: ssoadm,v 1.20 2010/01/28 00:49:05 bigfatrat Exp $
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Foster# Portions Copyrighted 2010-2011 ForgeRock AS
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Fosterif [ -z "${JAVA_HOME}" ] ; then
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/classes:${TOOLS_HOME}/resources"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenk#CLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/amadm_setup.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/OpenDJ-2012-20-02.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/mail-1.4.5.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/j2ee-2007-18-10.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/webservices-api-2009-14-01.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/webservices-rt-2009-29-07.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/wwebservices-tools-2.1-b16.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/json-20090211.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/webservices-extra-2008-03-12.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/webservices-extra-api-2003-09-04.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/xalan-2.7.1.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/xercesImpl-2.10.0.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/xml-apis-1.4.01.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/xmlsec-1.3.0.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-core-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-shared-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-ad-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-adaptive-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-anonymous-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-application-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-cert-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-datastore-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-hotp-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-httpbasic-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-jdbc-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-ldap-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-membership-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-msisdn-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-nt-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-oath-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-oauth2-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-radius-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-safeword-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-securid-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-auth-windowsdesktopsso-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-coretoken-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-dtd-schema-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-entitlements-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-federation-library-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-idsvcs-schema-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-jaxrpc-schema-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-liberty-schema-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-mib-schema-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-oauth-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-oauth2-core-token-service-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-oauth2-main-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-oauth2-openam-extension-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-oauth2-restlet-extension-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-rest-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-saml2-schema-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-session-ha-core-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-session-ha-locale-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-wsfederation-schema-10.1.0-SNAPSHOT.jar"
baaed411ab408955d7c976883c7ab76392b85acejeff.schenkCLASSPATH="${CLASSPATH}:${TOOLS_HOME}/lib/openam-xacml3-schema-10.1.0-SNAPSHOT.jar"
4fe4e4f798a84a46e567f64ceadd3648eb0582d4Allan Fosterif [ -n "${EXT_CLASSPATH}" ] ; then
baaed411ab408955d7c976883c7ab76392b85acejeff.schenk${JAVA_HOME}/bin/java -Xms256m -Xmx512m -cp "${CLASSPATH}" \
baaed411ab408955d7c976883c7ab76392b85acejeff.schenk -D"com.sun.identity.sm.notification.enabled=false" \
baaed411ab408955d7c976883c7ab76392b85acejeff.schenk -D"bootstrap.dir=@CONFIG_DIR@" \
baaed411ab408955d7c976883c7ab76392b85acejeff.schenk -D"com.iplanet.services.debug.directory=@DEBUG_DIR@" \
baaed411ab408955d7c976883c7ab76392b85acejeff.schenk -D"definitionFiles=com.sun.identity.cli.AccessManager,com.sun.identity.federation.cli.FederationManager" \
baaed411ab408955d7c976883c7ab76392b85acejeff.schenk -D"commandName=ssoadm" \
baaed411ab408955d7c976883c7ab76392b85acejeff.schenk -D"amconfig=AMConfig" \
baaed411ab408955d7c976883c7ab76392b85acejeff.schenk -D"am.version.expected=@AM_VERSION@" \
baaed411ab408955d7c976883c7ab76392b85acejeff.schenk -D"com.iplanet.am.sdk.package=com.iplanet.am.sdk.remote" \