Skip to content

Commit d8db849

Browse files
committed
Merge branch '5.8.x' into 6.0.x
2 parents 2629fb2 + df4411f commit d8db849

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ relyingPartyRegistrationBuilder.assertionConsumerServiceLocation("/saml2/login/s
9696
== Setting a Clock Skew
9797

9898
It's not uncommon for the asserting and relying parties to have system clocks that aren't perfectly synchronized.
99-
For that reason, you can configure `OpenSaml4AuthenticationProvider` 's default assertion validator with some tolerance:
99+
For that reason, you can configure ``OpenSaml4AuthenticationProvider``'s default assertion validator with some tolerance:
100100

101101
====
102102
.Java
@@ -242,7 +242,7 @@ open class SecurityConfig {
242242
<3> Third, return a custom authentication that includes the user details
243243

244244
[NOTE]
245-
It's not required to call `OpenSaml4AuthenticationProvider` 's default authentication converter.
245+
It's not required to call ``OpenSaml4AuthenticationProvider``'s default authentication converter.
246246
It returns a `Saml2AuthenticatedPrincipal` containing the attributes it extracted from ``AttributeStatement``s as well as the single `ROLE_USER` authority.
247247

248248
[[servlet-saml2login-opensamlauthenticationprovider-additionalvalidation]]
@@ -275,7 +275,7 @@ After verifying the signature, it will:
275275
1. Validate `<AudienceRestriction>` and `<DelegationRestriction>` conditions
276276
2. Validate ``<SubjectConfirmation>``s, expect for any IP address information
277277

278-
To perform additional validation, you can configure your own assertion validator that delegates to `OpenSaml4AuthenticationProvider` 's default and then performs its own.
278+
To perform additional validation, you can configure your own assertion validator that delegates to ``OpenSaml4AuthenticationProvider``'s default and then performs its own.
279279

280280
[[servlet-saml2login-opensamlauthenticationprovider-onetimeuse]]
281281
For example, you can use OpenSAML's `OneTimeUseConditionValidator` to also validate a `<OneTimeUse>` condition, like so:
@@ -329,7 +329,7 @@ provider.setAssertionValidator { assertionToken ->
329329
====
330330

331331
[NOTE]
332-
While recommended, it's not necessary to call `OpenSaml4AuthenticationProvider` 's default assertion validator.
332+
While recommended, it's not necessary to call ``OpenSaml4AuthenticationProvider``'s default assertion validator.
333333
A circumstance where you would skip it would be if you don't need it to check the `<AudienceRestriction>` or the `<SubjectConfirmation>` since you are doing those yourself.
334334

335335
[[servlet-saml2login-opensamlauthenticationprovider-decryption]]
@@ -341,7 +341,7 @@ Spring Security decrypts `<saml2:EncryptedAssertion>`, `<saml2:EncryptedAttribut
341341
The response decrypter is for decrypting encrypted elements of the `<saml2:Response>`, like `<saml2:EncryptedAssertion>`.
342342
The assertion decrypter is for decrypting encrypted elements of the `<saml2:Assertion>`, like `<saml2:EncryptedAttribute>` and `<saml2:EncryptedID>`.
343343

344-
You can replace `OpenSaml4AuthenticationProvider`'s default decryption strategy with your own.
344+
You can replace ``OpenSaml4AuthenticationProvider``'s default decryption strategy with your own.
345345
For example, if you have a separate service that decrypts the assertions in a `<saml2:Response>`, you can use it instead like so:
346346

347347
====

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ Spring Boot generates two `@Bean` objects for a relying party.
293293
The first is a `SecurityFilterChain` that configures the application as a relying party.
294294
When including `spring-security-saml2-service-provider`, the `SecurityFilterChain` looks like:
295295

296-
.Default JWT Configuration
296+
.Default SAML 2.0 Login Configuration
297297
====
298298
.Java
299299
[source,java,role="primary"]

0 commit comments

Comments
 (0)