Skip to content

Commit cf97e16

Browse files
landbaychrisburrellrwinch
authored andcommitted
Add HashMap to Jackson whitelist
Issue: gh-4889
1 parent 1d862c3 commit cf97e16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/main/java/org/springframework/security/jackson2/SecurityJackson2Modules.java

+1
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ static class WhitelistTypeIdResolver implements TypeIdResolver {
145145
"java.util.Collections$EmptyMap",
146146
"java.util.Date",
147147
"java.util.TreeMap",
148+
"java.util.HashMap",
148149
"org.springframework.security.core.context.SecurityContextImpl"
149150
)));
150151

0 commit comments

Comments
 (0)