File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
webauthn-server-core/src/main/java/com/yubico/webauthn/data
yubico-util/src/main/java/com/yubico/internal/util Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ New features:
14
14
* Updated README and JavaDoc to use the "passkey" term and provide more guidance
15
15
around passkey use cases.
16
16
17
+ Fixes:
18
+
19
+ * Made Jackson setting `PROPAGATE_TRANSIENT_MARKER` unnecessary for JSON
20
+ serialization with Jackson version 2.15.0-rc1 and later.
21
+
17
22
18
23
== Version 2.4.1 ==
19
24
Original file line number Diff line number Diff line change @@ -82,7 +82,10 @@ public class AuthenticatorAttestationResponse implements AuthenticatorResponse {
82
82
private final SortedSet <AuthenticatorTransport > transports ;
83
83
84
84
/** The {@link #attestationObject} parsed as a domain object. */
85
- @ NonNull @ JsonIgnore private final transient AttestationObject attestation ;
85
+ @ NonNull
86
+ @ JsonIgnore
87
+ @ Getter (onMethod = @ __ ({@ JsonIgnore }))
88
+ private final transient AttestationObject attestation ;
86
89
87
90
@ NonNull
88
91
@ JsonIgnore
Original file line number Diff line number Diff line change 3
3
import com .fasterxml .jackson .annotation .JsonInclude .Include ;
4
4
import com .fasterxml .jackson .core .Base64Variants ;
5
5
import com .fasterxml .jackson .databind .DeserializationFeature ;
6
- import com .fasterxml .jackson .databind .MapperFeature ;
7
6
import com .fasterxml .jackson .databind .ObjectMapper ;
8
7
import com .fasterxml .jackson .databind .json .JsonMapper ;
9
8
import com .fasterxml .jackson .databind .node .ObjectNode ;
@@ -22,7 +21,6 @@ public static ObjectMapper cbor() {
22
21
public static ObjectMapper json () {
23
22
return JsonMapper .builder ()
24
23
.configure (DeserializationFeature .FAIL_ON_UNKNOWN_PROPERTIES , true )
25
- .configure (MapperFeature .PROPAGATE_TRANSIENT_MARKER , true )
26
24
.serializationInclusion (Include .NON_ABSENT )
27
25
.defaultBase64Variant (Base64Variants .MODIFIED_FOR_URL )
28
26
.addModule (new Jdk8Module ())
You can’t perform that action at this time.
0 commit comments