Skip to content

Commit

Permalink
https://jsw.ibm.com/browse/DBACLD-112133
Browse files Browse the repository at this point in the history
  • Loading branch information
mmouly committed Oct 26, 2023
1 parent 7e990e2 commit b4ff829
Showing 1 changed file with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,15 @@ sed -i $'/<\/web-app>/{e cat /config/basicAuth.xml\n}' web.xml

if [ -s "/config/auth/runtimeWebSecurity.xml" ]
then
echo "/config/auth/runtimeWebSecurity.xml found then replace oidc auth by basic auth on decision server runtime"
sed -i 's|webSecurity|'runtimeWebSecurity'|g' /config/server.xml
unset OPENID_CONFIG
echo "OPENID_CONFIG : $OPENID_CONFIG"
if [ ! -d "/config/apps/res.war" ]
then
echo "/config/auth/runtimeWebSecurity.xml found then replace oidc auth by basic auth on decision server runtime"
sed -i 's|webSecurity|'runtimeWebSecurity'|g' /config/server.xml
unset OPENID_CONFIG
echo "OPENID_CONFIG : $OPENID_CONFIG"
else
echo "/config/auth/runtimeWebSecurity.xml found in the RES container. Do nothing."
fi
fi


Expand Down

0 comments on commit b4ff829

Please sign in to comment.