Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

org.springframework.security.ldap.userdetails.Person is not in the allowlist #10156

Closed
pengliaoye opened this issue Aug 8, 2021 · 2 comments
Closed
Assignees
Labels
status: duplicate A duplicate of another issue type: enhancement A general enhancement

Comments

@pengliaoye
Copy link

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 #4370 for details

Context

@pengliaoye pengliaoye added status: waiting-for-triage An issue we've not yet triaged type: enhancement A general enhancement labels Aug 8, 2021
@eleftherias
Copy link
Contributor

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

@eleftherias eleftherias self-assigned this Aug 9, 2021
@eleftherias eleftherias added status: waiting-for-feedback We need additional information before we can continue and removed status: waiting-for-triage An issue we've not yet triaged labels Aug 9, 2021
@pengliaoye
Copy link
Author

yes, agree

@eleftherias eleftherias added status: duplicate A duplicate of another issue and removed status: waiting-for-feedback We need additional information before we can continue labels Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants