#!/bin/sh

# /*
# Licensed Materials - Property of IBM
# 5900-A2A
# © Copyright IBM Corporation 2020. All Rights Reserved.
# This sample program is provided AS IS and may be used, executed, copied and modified without royalty payment by customer
# (a) for its own instruction and study, (b) in order to develop applications designed to run with an IBM product,
# either for customer's own internal use or for redistribution by customer, as part of such an application, in customer's
# own products.
# */

# If JAVA_HOME is not setup, uncomment below two lines and set the path to Java
# export JAVA_HOME=
# export PATH=$PATH:$JAVA_HOME/bin

#config.properties, ldifsample file, accessmgmt.jar file and lib folder should be in PATH_TO_JAR
PATH_TO_JAR=

export CLASSPATH=$CLASSPATH:$PATH_TO_JAR/accessmgmt-1.0-SNAPSHOT.jar:$PATH_TO_JAR/lib/*

echo $CLASSPATH

java -DPROP_FILE=$PATH_TO_JAR/config.properties accessmanagement.AccessManagement