diff --git a/guacamole-docker/bin/start.sh b/guacamole-docker/bin/start.sh index 36fdcaad6..bbdee9e2e 100755 --- a/guacamole-docker/bin/start.sh +++ b/guacamole-docker/bin/start.sh @@ -744,6 +744,58 @@ END } +## +## Adds properties to guacamole.properties which select the SAML +## authentication provider, and configure it to connect to the specified SAML +## provider. +## +associate_saml() { + + # Verify required parameters are present + if [ -z "$SAML_IDP_METADATA_URL" ] && \ + [ -z "$SAML_ENTITY_ID" -o -z "$SAML_CALLBACK_URL" ] + then + cat <