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.sh5
1 files changed, 5 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 0c7b98b4..537f2341 100644
--- a/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx.sh
+++ b/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx.sh
@@ -67,6 +67,11 @@ if [ -f "${POLICY_HOME}/etc/mounted/db.sql" ]; then
cp -f "${POLICY_HOME}"/etc/mounted/db.sql "${POLICY_HOME}"/mysql/sql/
fi
+if [ -f "${POLICY_HOME}/etc/mounted/guard.xacml.properties" ]; then
+ echo "overriding guard application xacml.properties"
+ cp -f "${POLICY_HOME}"/etc/mounted/guard.xacml.properties "${POLICY_HOME}"/apps/guard/xacml.properties
+fi
+
# Create operationshistory table
"${POLICY_HOME}"/mysql/bin/create-guard-table.sh