Resolves https://github.com/spring-projects/spring-integration/issues/3477 **cherry-pick to 5.4.x**
whitelist
allowlist