Expected Behavior

add Person class to whitelist

Current Behavior

Caused by: java.lang.IllegalArgumentException: The class with org.springframework.security.ldap.userdetails.Person and name of org.springframework.security.ldap.userdetails.Person is not in the allowlist. If you believe this class is safe to deserialize, please provide an explicit mapping using Jackson annotations or by providing a Mixin. If the serialization is only done by a trusted source, you can also enable default typing. See https://github.com/spring-projects/spring-security/issues/4370 for details

Context

Comment From: eleftherias

Thanks for reaching out @pengliaoye, this looks like a duplicate of #9263. Would you agree?

Comment From: pengliaoye

yes, agree