From 6d68f403fcb9217b11b259282803cf45aef5b7ae Mon Sep 17 00:00:00 2001 From: Marcus Hert Da Coregio Date: Wed, 13 Dec 2023 09:11:27 -0300 Subject: [PATCH] Document that Shibboleth Repository is Required for SAML Support Closes gh-14286 --- .../pages/servlet/saml2/login/overview.adoc | 37 ++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/servlet/saml2/login/overview.adoc b/docs/modules/ROOT/pages/servlet/saml2/login/overview.adoc index 834e151864..26d48b30bc 100644 --- a/docs/modules/ROOT/pages/servlet/saml2/login/overview.adoc +++ b/docs/modules/ROOT/pages/servlet/saml2/login/overview.adoc @@ -55,7 +55,42 @@ image:{icondir}/number_4.png[] If authentication is successful, then __Success__ == Minimal Dependencies SAML 2.0 service provider support resides in `spring-security-saml2-service-provider`. -It builds off of the OpenSAML library. +It builds off of the OpenSAML library, and, for that reason, you must also include the Shibboleth Maven repository in your build configuration. +Check https://shibboleth.atlassian.net/wiki/spaces/DEV/pages/1123844333/Use+of+Maven+Central#Publishing-to-Maven-Central[this link] for more details about why a separate repository is needed. + +[tabs] +====== +Maven:: ++ +[source,xml,role="primary"] +---- + + + + shibboleth-releases + https://build.shibboleth.net/nexus/content/repositories/releases/ + + + + org.springframework.security + spring-security-saml2-service-provider + +---- + +Gradle:: ++ +[source,groovy,role="secondary"] +---- +repositories { + // ... + maven { url "https://build.shibboleth.net/nexus/content/repositories/releases/" } +} +dependencies { + // ... + implementation 'org.springframework.security:spring-security-saml2-service-provider' +} +---- +====== [[servlet-saml2login-minimalconfiguration]] == Minimal Configuration