Remove GET request support from Saml2AuthenticationTokenConverter #17099
Labels
in: saml2
An issue in SAML2 modules
status: ideal-for-contribution
An issue that we actively are looking for someone to help us with
type: enhancement
A general enhancement
Saml2AuthenticationTokenConverter
tests if the HTTP method is GET in order to correctly translateSAMLResponse
parameter.However, neither the SAML spec nor Spring Security support processing the
<saml2:Response>
in a GET request. As such, we should remove this to alleviate confusion.To keep upgrade passive, the first step is to add a property that defaults to
true
:In Spring Security 8, this can be deprecated and switched to
false
, then in Spring Security 9 it can be removed.setShouldInflateResponse
setShouldInflateResponse
The text was updated successfully, but these errors were encountered: