mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Merge branch '3.5.x' into 4.0.x
Closes gh-49392
This commit is contained in:
+38
@@ -384,6 +384,44 @@ Additional information can be found in the {url-spring-security-docs}/servlet/oa
|
||||
|
||||
|
||||
|
||||
[[web.security.saml2.build]]
|
||||
=== Build Configuration
|
||||
SAML 2.0 support builds off of the OpenSAML library that https://shibboleth.atlassian.net/wiki/spaces/DEV/pages/1123844333/Use+of+Maven+Central#Publishing-to-Maven-Central[requires an extra repository] configuration.
|
||||
|
||||
|
||||
|
||||
[[web.security.saml2.build.maven]]
|
||||
==== Using Maven
|
||||
With Maven, you need to add an extra `repository` element to your POM as follows:
|
||||
|
||||
[source,xml,subs="verbatim,attributes"]
|
||||
----
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>shibboleth-releases</id>
|
||||
<name>Shibboleth Releases Repository</name>
|
||||
<url>https://build.shibboleth.net/maven/releases</url>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
----
|
||||
|
||||
|
||||
[[web.security.saml2.build.gradle]]
|
||||
==== Using Gradle
|
||||
With Gradle, a repository element should be added to your build script:
|
||||
|
||||
[source,gradle,subs="verbatim,attributes"]
|
||||
----
|
||||
repositories {
|
||||
maven { url "https://build.shibboleth.net/maven/releases" }
|
||||
}
|
||||
----
|
||||
|
||||
|
||||
|
||||
[[web.security.saml2.relying-party]]
|
||||
=== Relying Party
|
||||
|
||||
|
||||
Reference in New Issue
Block a user