summaryrefslogtreecommitdiffstats
path: root/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx-pg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx-pg.sh')
-rw-r--r--packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx-pg.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx-pg.sh b/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx-pg.sh
index 838cfa5f..b715c97d 100644
--- a/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx-pg.sh
+++ b/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx-pg.sh
@@ -67,6 +67,11 @@ if [ -f "${POLICY_HOME}/etc/mounted/db-pg.sql" ]; then
cp -f "${POLICY_HOME}"/etc/mounted/db-pg.sql "${POLICY_HOME}"/postgress/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}"/postgres/bin/create-guard-table-pg.sh