summaryrefslogtreecommitdiffstats
path: root/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx.sh')
-rw-r--r--packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx.sh b/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx.sh
index a845ae3f..9e32d500 100644
--- a/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx.sh
+++ b/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx.sh
@@ -48,6 +48,10 @@ if [ -z "$PROP_FILE" ]
PROP_FILE="$POLICY_PDPX_HOME/etc/topic.properties"
fi
+if [[ -f ${POLICY_HOME}/etc/mounted/xacml.properties ]]; then
+ cp -f "${POLICY_HOME}"/etc/mounted/xacml.properties "${POLICY_HOME}"/apps/guard/
+fi
+
echo "Policy Xacml PDP config file: $CONFIG_FILE"
echo "Policy Xacml PDP topic properties file: $PROP_FILE"