[JDEV] Re: Customizing Jabber server
Kevin Bryan
TenToThe8th at yahoo.com
Fri May 11 20:39:51 CDT 2001
Here's what I did to make the xdb_sql module handle just
authentication. I beleive that by using those <ns/> tags, you could
specify whatever namespace you wish to handle. Note that the <ns/> in
the second one is necessary and acts as a catch all. (Jabber 1.4)
<xdb id="xdb_sql">
<host/>
<ns>jabber:iq:auth</ns>
<ns>jabber:iq:auth:0k</ns>
<load>
<xdb_sql>./xdb_sql/xdb_sql.so</xdb_sql>
</load>
<jabberd:include>./xdb_sql/xdb_sql.xml</jabberd:include>
</xdb>
<xdb id="xdb">
<host/>
<ns/>
<load>
<xdb_file>./xdb_file/xdb_file.so</xdb_file>
</load>
<xdb_file xmlns="jabber:config:xdb_file">
<spool><jabberd:cmdline flag='s'>./spool</jabberd:cmdline></spool>
</xdb_file>
</xdb>
--Kevin
jdev-request at jabber.org wrote:
> Message: 1
>
> Subject: Re: [JDEV] Customizing Jabber server
>
> Is this true ? If so i'm really interested in more details on the
> subject.
> As I'm only interested in some XDB requests (AUTH or Rosters for
> example), and only the one used for users
> not global datas, I'm interested in submiting other requests to normal
> XDB module (xdb_file) I'd like to
> implement this. I imagine that's just a matter of configuration in
> jabber.xml file but what has to be put in
> this file so that to handlers can be registered for the same namespace ?
>
> Any answer to this question ?
>
More information about the JDev
mailing list