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