1
0
mirror of synced 2026-08-05 01:36:56 +00:00

Polish LDAP serialization

Closes gh-9263
This commit is contained in:
Eleftheria Stein
2021-11-29 17:48:04 +01:00
parent 3c18278123
commit bbeca7cd65
10 changed files with 352 additions and 128 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2015-2020 the original author or authors.
* Copyright 2015-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -209,6 +209,7 @@ public final class SecurityJackson2Modules {
names.add("java.util.HashMap");
names.add("java.util.LinkedHashMap");
names.add("org.springframework.security.core.context.SecurityContextImpl");
names.add("java.util.Arrays$ArrayList");
ALLOWLIST_CLASS_NAMES = Collections.unmodifiableSet(names);
}