mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-01 09:42:13 +00:00
Merge branch '5.8.x' into 6.0.x
Closes gh-13805
This commit is contained in:
commit
f03224fe7f
@ -34,10 +34,16 @@ import org.springframework.security.saml2.provider.service.authentication.Saml2A
|
|||||||
* @see Saml2Jackson2Module
|
* @see Saml2Jackson2Module
|
||||||
*/
|
*/
|
||||||
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS)
|
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS)
|
||||||
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE,
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.NONE, getterVisibility = JsonAutoDetect.Visibility.NONE,
|
||||||
isGetterVisibility = JsonAutoDetect.Visibility.NONE)
|
isGetterVisibility = JsonAutoDetect.Visibility.NONE)
|
||||||
@JsonIgnoreProperties(ignoreUnknown = true, value = { "cause", "stackTrace", "suppressedExceptions" })
|
@JsonIgnoreProperties(ignoreUnknown = true, value = { "cause", "stackTrace", "suppressedExceptions" })
|
||||||
class Saml2AuthenticationExceptionMixin {
|
abstract class Saml2AuthenticationExceptionMixin {
|
||||||
|
|
||||||
|
@JsonProperty("error")
|
||||||
|
abstract Saml2Error getSaml2Error();
|
||||||
|
|
||||||
|
@JsonProperty("detailMessage")
|
||||||
|
abstract String getMessage();
|
||||||
|
|
||||||
@JsonCreator
|
@JsonCreator
|
||||||
Saml2AuthenticationExceptionMixin(@JsonProperty("error") Saml2Error error,
|
Saml2AuthenticationExceptionMixin(@JsonProperty("error") Saml2Error error,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user