Identity Message Brokerdevice-1device-1SecureMQTT ServerSecureMQTT ServerCaptureCaptureAccessManagementAccessManagement1mosquitto_pubmessageto/devices-1/messages2Print to console3Policy decision for on whether theid_token is authorized to publishto/devices-1/messagesalt[Publication allowed]4Forward the message to subscribed clients5Acknowledge PUBLISH