O'Reilly logo

Practical XMPP by David Koelle, Lloyd Watkin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Subscriptions, affiliations, and access models

When users create pubsub nodes (or update their configuration later), they have the ability to set permissions for the node. These permissions allow them to control who can subscribe to a node, and once they are subscribed, what their affiliation will be, for example, read-only, publish, and so on.

The pubsub specification defines a set of access models by default, ranging from most restricted to least restricted:

  • Whitelist: Only a specific set of JIDs will be allowed to successfully subscribe to the node
  • Authorize: When a subscription request is made, the owner must manually approve it
  • Roster: If the user is contained within a specific roster group, then they will be allowed to subscribe
  • Presence: Only ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required