You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/modules/ROOT/pages/migration/servlet/oauth2.adoc
-37Lines changed: 0 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,43 +79,6 @@ fun jwtDecoder(): JwtDecoder {
79
79
<1> - `validateTypes` now defaults to `false`
80
80
<2> - `JwtTypeValidator#jwt` is added by all `createDefaultXXX` methods
81
81
82
-
== Do Not Process `<saml2:Response>` GET Requests with `Saml2AuthenticationTokenConverter`
83
-
84
-
Spring Security does not support processing `<saml2:Response>` payloads over GET as this is not supported by the SAML 2.0 spec.
85
-
86
-
To better comply with this, `Saml2AuthenticationTokenConverter` and `OpenSaml5AuthenticationTokenConverter` will not process GET requests by default as of Spring Security 8.
87
-
To prepare for this, the property `shouldConvertGetRequests` is available.
If you must continue using `Saml2AuthenticationTokenConverter` or `OpenSaml5AuthenticationTokenConverter` to process GET requests, you can call `setShouldConvertGetRequests` to `true.`
118
-
119
82
== Provide an AuthenticationConverter to BearerTokenAuthenticationFilter
120
83
121
84
In Spring Security 7, `BearerTokenAuthenticationFilter#setBearerTokenResolver` and `#setAuthenticaionDetailsSource` are deprecated in favor of configuring those on `BearerTokenAuthenticationConverter`.
Copy file name to clipboardExpand all lines: docs/modules/ROOT/pages/migration/servlet/saml2.adoc
+37Lines changed: 37 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,3 +108,40 @@ fun authenticationProvider(): OpenSaml5AuthenticationProvider {
108
108
======
109
109
110
110
If you are constructing a `Saml2Authentication` instance yourself, consider changing to `Saml2AssertionAuthentication` to get the same benefit as the current default.
111
+
112
+
== Do Not Process `<saml2:Response>` GET Requests with `Saml2AuthenticationTokenConverter`
113
+
114
+
Spring Security does not support processing `<saml2:Response>` payloads over GET as this is not supported by the SAML 2.0 spec.
115
+
116
+
To better comply with this, `Saml2AuthenticationTokenConverter` and `OpenSaml5AuthenticationTokenConverter` will not process GET requests by default as of Spring Security 8.
117
+
To prepare for this, the property `shouldConvertGetRequests` is available.
If you must continue using `Saml2AuthenticationTokenConverter` or `OpenSaml5AuthenticationTokenConverter` to process GET requests, you can call `setShouldConvertGetRequests` to `true.`
0 commit comments