aboutsummaryrefslogtreecommitdiffstats
path: root/packages/docker
diff options
context:
space:
mode:
Diffstat (limited to 'packages/docker')
-rw-r--r--packages/docker/src/main/docker/do-start.sh20
1 files changed, 19 insertions, 1 deletions
diff --git a/packages/docker/src/main/docker/do-start.sh b/packages/docker/src/main/docker/do-start.sh
index 9e4659df..af7b3d9c 100644
--- a/packages/docker/src/main/docker/do-start.sh
+++ b/packages/docker/src/main/docker/do-start.sh
@@ -56,7 +56,7 @@ else
. /opt/app/policy/etc/profile.d/env.sh
- # override the policy keystore and truststore if present
+ # allow user to override the key or/and the trust stores
if [[ -f config/policy-keystore ]]; then
cp -f config/policy-keystore ${POLICY_HOME}/etc/ssl
@@ -66,6 +66,24 @@ else
cp -f config/policy-truststore ${POLICY_HOME}/etc/ssl
fi
+ # allow user to override all or some aaf configuration
+
+ if [[ -f config/aaf.properties ]]; then
+ cp -f config/aaf.properties ${POLICY_HOME}/config/aaf.properties
+ fi
+
+ if [[ -f config/aaf-location.properties ]]; then
+ cp -f config/aaf-location.properties ${POLICY_HOME}/config/aaf-location.properties
+ fi
+
+ if [[ -f config/aaf-credentials.properties ]]; then
+ cp -f config/aaf-credentials.properties ${POLICY_HOME}/config/aaf-credentials.properties
+ fi
+
+ if [[ -f config/aaf-cadi.keyfile ]]; then
+ cp -f config/aaf-cadi.keyfile ${POLICY_HOME}/config/aaf-cadi.keyfile
+ fi
+
if [[ -f config/drools-tweaks.sh ]] ; then
echo "Executing tweaks"
# file may not be executable; running it as an