3
# Copyright 2006-2010 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the
4
# Amazon Software License (the "License"). You may not use this file except in compliance with the License. A copy of the
5
# License is located at http://aws.amazon.com/asl or in the "license" file accompanying this file. This file is distributed on an "AS
6
# IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
7
# language governing permissions and limitations under the License.
10
if [ -n "${JAVA_HOME:+x}" ]; then
11
JAVA_COMMAND=${JAVA_HOME}/bin/java
13
echo JAVA_HOME is not set
17
if [ -n "${AWS_IAM_HOME:+x}" ]; then
18
SERVICE_HOME=${AWS_IAM_HOME}
20
echo AWS_IAM_HOME is not set
24
${JAVA_COMMAND} ${AWS_IAM_JVM_OPTS} -cp ${SERVICE_HOME}/lib/apache-log4j-1.2.15/*\
25
:${SERVICE_HOME}/lib/args4j-2.0.10/*\
26
:${SERVICE_HOME}/lib/commons-codec-1.3/*\
27
:${SERVICE_HOME}/lib/commons-httpclient-3.0.1/*\
28
:${SERVICE_HOME}/lib/saxonhe-9.0.2j/*\
29
:${SERVICE_HOME}/lib/commons-logging-1.1.1/*\
30
:${SERVICE_HOME}/lib/aws-iam-cli/* \
31
com.amazonaws.services.auth.identity.cli.view.UserDeactivateMFADeviceView ${1+"$@"}