January 2002
Beginner
480 pages
13h 15m
English
Lets start by reviewing the relevant configuration in
jabber.xml. User registration is a JSM feature, and
we find two places of interest in that component instance definition.
The first is in that instance’s configuration, in the section qualified
by the jabber:config:jsm namespace:
<register notify="yes">
<instructions>
Choose a username and password to register with this server.
</instructions>
<name/>
<email/>
</register>
The second is in that instance’s connection method, showing the mod_register module being loaded. The module plays a major part in handling the registration process, but there are others, too, as we will see:
<load main="jsm">
<jsm>./jsm/jsm.so</jsm>
<mod_echo>./jsm/jsm.so</mod_echo>
<mod_roster>./jsm/jsm.so</mod_roster>
<mod_time>./jsm/jsm.so</mod_time>
<mod_vcard>./jsm/jsm.so</mod_vcard>
<mod_last>./jsm/jsm.so</mod_last>
<mod_version>./jsm/jsm.so</mod_version>
<mod_announce>./jsm/jsm.so</mod_announce>
<mod_agents>./jsm/jsm.so</mod_agents>
<mod_browse>./jsm/jsm.so</mod_browse>
<mod_admin>./jsm/jsm.so</mod_admin>
<mod_filter>./jsm/jsm.so</mod_filter>
<mod_offline>./jsm/jsm.so</mod_offline>
<mod_presence>./jsm/jsm.so</mod_presence>
<mod_auth_plain>./jsm/jsm.so</mod_auth_plain>
<mod_auth_digest>./jsm/jsm.so</mod_auth_digest>
<mod_auth_0k>./jsm/jsm.so</mod_auth_0k>
<mod_log>./jsm/jsm.so</mod_log>
<mod_register>./jsm/jsm.so</mod_register>
<mod_xml>./jsm/jsm.so</mod_xml>
</load>
The <register/> configuration section ...
Read now
Unlock full access