Topic ownership allows you to grant read, modify and update permissions for a topic to a specific principal.
This is useful to provide a 'private' topic for a given user.
Topic ownership enables you to give a specific security principal special access to a topic when the topic is created.
Ownership grants READ_TOPIC, MODIFY_TOPIC
and UPDATE_TOPIC permissions for the topic to sessions authenticated with that principal.
Use the OWNER topic property to set ownership.
The format of the property value is:
$Principal is "name"
where name is the name of the principal.
Topic ownership is useful in cases where your application requires a user to have privileged access to their own special topic.
For example, it might be a private topic that only the user should see, or each user might have their own topic used to broadcast
status information to other users.
All other sessions will only have the permissions granted by the security store.
Automatic topic removal can be used to remove a principal's private topic
if that principal no longer has an active session for
a period of time.