Skip to content

Commit ff47086

Browse files
Update SAML docs to point to correct api url
Closes gh-9953
1 parent 7905409 commit ff47086

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

docs/manual/spring-security-docs-manual.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ asciidoctorj {
2020
def ghOldSamplesUrl = "https://github.com/spring-projects/spring-security/tree/5.4.x/samples"
2121
def ghSamplesUrl = "https://github.com/spring-projects/spring-security-samples/tree/$samplesBranch"
2222
def securityDocsUrl = "https://docs.spring.io/spring-security/site/docs/$docsTag"
23-
def oldSecurityApiUrl = "https://docs.spring.io/spring-security/site/docs/5.4.x/api/"
2423
def securityApiUrl = "$securityDocsUrl/api/"
2524
def securityReferenceUrl = "$securityDocsUrl/reference/html5/"
2625
def springFrameworkApiUrl = "https://docs.spring.io/spring-framework/docs/$springFrameworkVersion/javadoc-api/"
@@ -31,7 +30,6 @@ asciidoctorj {
3130
'gh-url': ghUrl,
3231
'gh-samples-url': ghSamplesUrl,
3332
'gh-old-samples-url': ghOldSamplesUrl,
34-
'old-security-api-url': oldSecurityApiUrl,
3533
'security-api-url': securityApiUrl,
3634
'security-reference-url': securityReferenceUrl,
3735
'spring-framework-api-url': springFrameworkApiUrl,

docs/manual/src/docs/asciidoc/_includes/servlet/saml2/saml2-login.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ class MyCustomSecurityConfiguration : WebSecurityConfigurerAdapter() {
369369
The above requires the role of `USER` for any URL that starts with `/messages/`.
370370

371371
[[servlet-saml2login-relyingpartyregistrationrepository]]
372-
The second `@Bean` Spring Boot creates is a {old-security-api-url}org/springframework/security/saml2/provider/service/registration/RelyingPartyRegistrationRepository.html[`RelyingPartyRegistrationRepository`], which represents the asserting party and relying party metadata.
372+
The second `@Bean` Spring Boot creates is a {security-api-url}org/springframework/security/saml2/provider/service/registration/RelyingPartyRegistrationRepository.html[`RelyingPartyRegistrationRepository`], which represents the asserting party and relying party metadata.
373373
This includes things like the location of the SSO endpoint the relying party should use when requesting authentication from the asserting party.
374374

375375
You can override the default by publishing your own `RelyingPartyRegistrationRepository` bean.
@@ -518,7 +518,7 @@ A relying party can be multi-tenant by registering more than one relying party i
518518

519519
[[servlet-saml2login-relyingpartyregistration]]
520520
=== RelyingPartyRegistration
521-
A {old-security-api-url}org/springframework/security/saml2/provider/service/registration/RelyingPartyRegistration.html[`RelyingPartyRegistration`]
521+
A {security-api-url}org/springframework/security/saml2/provider/service/registration/RelyingPartyRegistration.html[`RelyingPartyRegistration`]
522522
instance represents a link between an relying party and assering party's metadata.
523523

524524
In a `RelyingPartyRegistration`, you can provide relying party metadata like its `Issuer` value, where it expects SAML Responses to be sent to, and any credentials that it owns for the purposes of signing or decrypting payloads.

0 commit comments

Comments
 (0)