Skip to content
Browse files

Script to modify SSO for working in tunelled training environment

  • Loading branch information
ivan committed Nov 13, 2019
1 parent a81e1ed commit f7824f5f6fc6558ef6fc3ad33d4f75d7eca725be
Showing with 23 additions and 0 deletions.
  1. +23 −0 demo/grouper/
@@ -0,0 +1,23 @@
# This file is used for trainings with SSH tunnels.
# It will change the hard-coded ports for Shibboleth, but will keep localhost.

declare -a fileList=(

echo "Directory: $1";
for f in "${fileList[@]}"
echo "Replacing in: $1/$f..."
# We cannot SSH tunnel port 443 without root, so using 10443
sed -i 's#https://localhost/#https://localhost:10443/#g' $f
# sed -i 's#https://localhost:4443/#https://localhost:14443/#g' $f


0 comments on commit f7824f5

Please sign in to comment.
You can’t perform that action at this time.