[jdev] About the authreg table in Jabberd 2

Matthias Wimmer m at tthias.eu
Fri Apr 20 13:20:28 CDT 2007


Hi Nahuel!

Nahuel ANGELINETTI schrieb:
> Thanks a lot, a begin to be successfull !
> And do you know what's for the active and logout table ?

Active shows who does have an account on the session manager (while the 
previous table is handled by the c2s component). The entry in the active 
table gets created by the session manager if you configure it to do so 
using the <auto-create/> configuration element.

Basically the active table is just there so that the session manager 
knows when it receives a stanza, if the user exists or not. The session 
manager is not consulting the table with the passwords in it for that.

The logout table is for handling the jabber:iq:last namespace. Entities 
that are subscribed to your presence can use this namespace to query 
when you have been online for the last time. You do not need to create 
anything in this table.


Matthias



More information about the JDev mailing list