From 10a5686955281416bfe2600c935c9cd83366f45f Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Tue, 28 Jul 2015 07:30:10 +0200 Subject: [PATCH] KEYCLOAK-1714 Add @JsonIgnoreProperties(ignoreUnknown = true) to JWSHeader --- core/src/main/java/org/keycloak/jose/jws/JWSHeader.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/main/java/org/keycloak/jose/jws/JWSHeader.java b/core/src/main/java/org/keycloak/jose/jws/JWSHeader.java index e1bbd99d54..81d51e7c75 100755 --- a/core/src/main/java/org/keycloak/jose/jws/JWSHeader.java +++ b/core/src/main/java/org/keycloak/jose/jws/JWSHeader.java @@ -1,5 +1,6 @@ package org.keycloak.jose.jws; +import org.codehaus.jackson.annotate.JsonIgnoreProperties; import org.codehaus.jackson.annotate.JsonProperty; import org.codehaus.jackson.map.ObjectMapper; import org.codehaus.jackson.map.annotate.JsonSerialize; @@ -11,6 +12,7 @@ import java.io.Serializable; * @author Bill Burke * @version $Revision: 1 $ */ +@JsonIgnoreProperties(ignoreUnknown = true) public class JWSHeader implements Serializable { @JsonProperty("alg") private Algorithm algorithm;