# MOA SL configuration properties file
MOA_SL_CFG_HOME=$CATALINA_BASE/conf/moa-sl
PARAM_SLCONFIG=-Dat.gv.egovernment.moa.spss.slinterface.PropertiesLocation=$MOA_SL_CFG_HOME/moa-sl.properties

# MOA SL log4j configuration file
MOA_SL_LOG4J_HOME=$CATALINA_BASE/conf/log4j
PARAM_LOGGING=-Dlog4j.configuration=file:$MOA_SL_LOG4J_HOME/log4j.properties

# SSL options, if Tomcat should be used for checking client authenticity
# PARAM_TRUST_STORE=-Djavax.net.ssl.trustStore=truststore.jks
# PARAM_TRUST_STORE_PASS=-Djavax.net.ssl.trustStorePassword=changeit
# PARAM_TRUST_STORE_TYPE=-Djavax.net.ssl.trustStoreType=jks

export CATALINA_OPTS="$PARAM_SLCONFIG $PARAM_LOGGING $ $PARAM_TRUST_STORE $PARAM_TRUST_STORE_PASS $PARAM_TRUST_STORE_TYPE"

echo CATALINA_OPTS=$CATALINA_OPTS