Browse Source

Merge branch '4.0.x'

Closes gh-49393
pull/49401/head
Stéphane Nicoll 2 weeks ago
parent
commit
c6ca9fbe25
  1. 38
      documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/web/spring-security.adoc

38
documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/web/spring-security.adoc

@ -384,6 +384,44 @@ Additional information can be found in the {url-spring-security-docs}/servlet/oa @@ -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

Loading…
Cancel
Save