diff --git a/releases/23.0.0.10/full/helpers/build/configure.sh b/releases/23.0.0.10/full/helpers/build/configure.sh index 0ba02905..0b37c142 100755 --- a/releases/23.0.0.10/full/helpers/build/configure.sh +++ b/releases/23.0.0.10/full/helpers/build/configure.sh @@ -86,7 +86,9 @@ function main() { fi if [[ -n "$SEC_SSO_PROVIDERS" ]]; then - cp $SNIPPETS_SOURCE/sso-features.xml $SNIPPETS_TARGET_DEFAULTS + if [[ "$EXCLUDE_CONFIG_SSO_FEATURES" != "true" ]]; then + cp $SNIPPETS_SOURCE/sso-features.xml $SNIPPETS_TARGET_DEFAULTS + fi parseProviders $SEC_SSO_PROVIDERS fi diff --git a/releases/23.0.0.10/kernel-slim/helpers/build/features.sh b/releases/23.0.0.10/kernel-slim/helpers/build/features.sh index 17d43812..a0cd1263 100755 --- a/releases/23.0.0.10/kernel-slim/helpers/build/features.sh +++ b/releases/23.0.0.10/kernel-slim/helpers/build/features.sh @@ -20,7 +20,7 @@ if [ -n "$INFINISPAN_SERVICE_NAME" ] || [ "${HZ_SESSION_CACHE}" == "client" ] || fi # SSO -if [[ -n "$SEC_SSO_PROVIDERS" ]]; then +if [[ -n "$SEC_SSO_PROVIDERS" ]] && [[ "$EXCLUDE_CONFIG_SSO_FEATURES" != "true" ]]; then cp $SNIPPETS_SOURCE/sso-features.xml $SNIPPETS_TARGET_DEFAULTS fi