Chapter 7. User Registration and Authorization

With all of Jabber’s building blocks at our fingertips, we can now take a look at two fundamental processes that revolve around Jabber users:

  • The registration, or creation, of Jabber user accounts

  • The authentication of a Jabber user account, including the different authentication methods

These processes involve some of the things we learned about in Chapter 5 and Chapter 6, so we’ll take a look at them again along the way:

  • The XML stream header

  • The jabber:iq:register namespace

  • The jabber:iq:auth namespace

At the end of this chapter, we will create a small utility program with which we can register users on a server. We can then use this utility program to create users as required for further recipes in this book.

Get Programming Jabber now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.