I am using MQTT on AMQ 5.9.1
After latest MQTT hardening from Dhiraj Sureshkumar Bokde , there is an issue of MQTT retained messages.
Set Authentication / Authorization for two different TOPICS.
Send retained message to one topic.
Try to subscribe "#" with other second user.
It will show retained messages published by TOPIC 1.
here i have attached test configurations.