Skip to content

Commit a650fe9

Browse files
Merge branch '5.8.x' into 6.1.x
Closes gh-14294
2 parents f0772dc + 6d68f40 commit a650fe9

File tree

1 file changed

+36
-1
lines changed

1 file changed

+36
-1
lines changed

docs/modules/ROOT/pages/servlet/saml2/login/overview.adoc

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,42 @@ image:{icondir}/number_4.png[] If authentication is successful, then _Success_.
6363
== Minimal Dependencies
6464

6565
SAML 2.0 service provider support resides in `spring-security-saml2-service-provider`.
66-
It builds off of the OpenSAML library.
66+
It builds off of the OpenSAML library, and, for that reason, you must also include the Shibboleth Maven repository in your build configuration.
67+
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.
68+
69+
[tabs]
70+
======
71+
Maven::
72+
+
73+
[source,xml,role="primary"]
74+
----
75+
<repositories>
76+
<!-- ... -->
77+
<repository>
78+
<id>shibboleth-releases</id>
79+
<url>https://build.shibboleth.net/nexus/content/repositories/releases/</url>
80+
</repository>
81+
</repositories>
82+
<dependency>
83+
<groupId>org.springframework.security</groupId>
84+
<artifactId>spring-security-saml2-service-provider</artifactId>
85+
</dependency>
86+
----
87+
88+
Gradle::
89+
+
90+
[source,groovy,role="secondary"]
91+
----
92+
repositories {
93+
// ...
94+
maven { url "https://build.shibboleth.net/nexus/content/repositories/releases/" }
95+
}
96+
dependencies {
97+
// ...
98+
implementation 'org.springframework.security:spring-security-saml2-service-provider'
99+
}
100+
----
101+
======
67102

68103
[[servlet-saml2login-minimalconfiguration]]
69104
== Minimal Configuration

0 commit comments

Comments
 (0)