[java-idp-plugin-webauthn] branch main updated: Allow unknown properties when deserializing the credential record
Phil Smart
philip.smart at jisc.ac.uk
Thu Feb 20 09:59:17 UTC 2025
This is an automated email from the git hooks/post-receive script.
philsmart pushed a commit to branch main
in repository java-idp-plugin-webauthn.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-webauthn.git;a=commit;h=0ec765d3d65d55a4b8cb796c982113e816ba8761
The following commit(s) were added to refs/heads/main by this push:
new 0ec765d Allow unknown properties when deserializing the credential record
0ec765d is described below
commit 0ec765d3d65d55a4b8cb796c982113e816ba8761
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Thu Feb 20 09:59:14 2025 +0000
Allow unknown properties when deserializing the credential record
- This allows easier rollback to a previous version if the record has
been updated by a newer version
---
.../authn/webauthn/storage/impl/CredentialRegistrationSerializer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/storage/impl/CredentialRegistrationSerializer.java b/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/storage/impl/CredentialRegistrationSerializer.java
index f2a88fd..640c7a9 100644
--- a/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/storage/impl/CredentialRegistrationSerializer.java
+++ b/webauthn-impl/src/main/java/net/shibboleth/idp/plugin/authn/webauthn/storage/impl/CredentialRegistrationSerializer.java
@@ -50,7 +50,7 @@ public class CredentialRegistrationSerializer extends AbstractInitializableCompo
/** Constructor.*/
public CredentialRegistrationSerializer() {
jsonMapper = JsonMapper.builder()
- .configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, true)
+ .configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false)
.serializationInclusion(Include.NON_ABSENT)
.defaultBase64Variant(Base64Variants.MODIFIED_FOR_URL)
.addModule(new Jdk8Module())
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list