diff --git a/extensions/jackson/src/main/java/io/jsonwebtoken/jackson/io/JacksonDeserializer.java b/extensions/jackson/src/main/java/io/jsonwebtoken/jackson/io/JacksonDeserializer.java index afb152918..63cc37618 100644 --- a/extensions/jackson/src/main/java/io/jsonwebtoken/jackson/io/JacksonDeserializer.java +++ b/extensions/jackson/src/main/java/io/jsonwebtoken/jackson/io/JacksonDeserializer.java @@ -115,9 +115,7 @@ public JacksonDeserializer(ObjectMapper objectMapper) { * @param claimTypeMap The claim name-to-class map used to deserialize claims into the given type * @since 0.12.4 */ - //TODO: Make this public on a minor release - // (cannot do that on a point release as that would violate semver) - private JacksonDeserializer(ObjectMapper objectMapper, Map> claimTypeMap) { + public JacksonDeserializer(ObjectMapper objectMapper, Map> claimTypeMap) { this(objectMapper); Assert.notNull(claimTypeMap, "Claim type map cannot be null."); // register a new Deserializer on the ObjectMapper instance: