mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-1364: Refactor all SSO extensions beneath common base.
This commit is contained in:
@@ -110,6 +110,17 @@ tar -xz \
|
||||
echo "Downloading PostgreSQL JDBC driver ..."
|
||||
curl -L "https://jdbc.postgresql.org/download/postgresql-9.4-1201.jdbc41.jar" > "$DESTINATION/postgresql/postgresql-9.4-1201.jdbc41.jar"
|
||||
|
||||
#
|
||||
# Copy SSO auth extensions
|
||||
#
|
||||
|
||||
tar -xzf extensions/guacamole-auth-sso/modules/guacamole-auth-sso-dist/target/*.tar.gz \
|
||||
-C "$DESTINATION" \
|
||||
--wildcards \
|
||||
--no-anchored \
|
||||
--strip-components=1 \
|
||||
"*.jar"
|
||||
|
||||
#
|
||||
# Copy LDAP auth extension and schema modifications
|
||||
#
|
||||
@@ -132,15 +143,6 @@ if [ -f extensions/guacamole-auth-radius/target/guacamole-auth-radius*.jar ]; th
|
||||
cp extensions/guacamole-auth-radius/target/guacamole-auth-radius*.jar "$DESTINATION/radius"
|
||||
fi
|
||||
|
||||
#
|
||||
# Copy OPENID auth extension and schema modifications
|
||||
#
|
||||
|
||||
if [ -f extensions/guacamole-auth-openid/target/guacamole-auth-openid*.jar ]; then
|
||||
mkdir -p "$DESTINATION/openid"
|
||||
cp extensions/guacamole-auth-openid/target/guacamole-auth-openid*.jar "$DESTINATION/openid"
|
||||
fi
|
||||
|
||||
#
|
||||
# Copy TOTP auth extension if it was built
|
||||
#
|
||||
@@ -174,21 +176,6 @@ if [ -f extensions/guacamole-auth-header/target/guacamole-auth-header*.jar ]; th
|
||||
cp extensions/guacamole-auth-header/target/guacamole-auth-header*.jar "$DESTINATION/header"
|
||||
fi
|
||||
|
||||
#
|
||||
# Copy CAS auth extension if it was built
|
||||
#
|
||||
|
||||
if [ -f extensions/guacamole-auth-cas/target/*.tar.gz ]; then
|
||||
mkdir -p "$DESTINATION/cas"
|
||||
tar -xzf extensions/guacamole-auth-cas/target/*.tar.gz \
|
||||
-C "$DESTINATION/cas/" \
|
||||
--wildcards \
|
||||
--no-anchored \
|
||||
--no-wildcards-match-slash \
|
||||
--strip-components=1 \
|
||||
"*.jar"
|
||||
fi
|
||||
|
||||
#
|
||||
# Copy json auth extension if it was built
|
||||
#
|
||||
|
Reference in New Issue
Block a user