mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-06 17:29:19 +00:00
Update `RabbitProperties` and `RabbitTemplateConfigurer` to support a `spring.rabbitmq.template.allowed-list-patterns` property. The can be used to prevent errors of the form: java.lang.SecurityException: Attempt to deserialize unauthorized class com.example.domain.Message; add allowed class name patterns to the message converter or, if you trust the message orginiator, set environment variable 'SPRING_AMQP_DESERIALIZATION_TRUST_ALL' or system property 'spring.amqp.deserialization.trust.all' to true See gh-40421