[jdev] New Concept? (central roster database)
Trejkaz Xaoza
trejkaz at xaoza.net
Tue Jun 29 17:13:50 CDT 2004
On Tue, 29 Jun 2004 22:09, João Carlos Martins wrote:
> Hi,
>
> I'm relatively new to the Jabber world but it seems very promising in
> its potential to add extreme value to all of a company's processes by
> enabling fast, agile and customizable communication to everyone in the
> organization.
>
> But then again i'm not selling the thing... :-) So here's the question,
> I need to have a central database of users, like a roster, so that if I
> install jabber on a new machine at the company, he'll have everyone on
> that central database added to his list automatically. Whenever someone
> is removed from the db, that person is removed from everyone's list as
> well. Whenever someone is added to the db, that person is added to
> everyone's list. Is this possible w/ jabber? Or is there a solution that
> already does this?
>
> The problem I've seen so far w/ most clients is that to add someone to
> your list u need their permission, and this would require the opposite,
> this would require the db to go into the person's list and modify it on
> the fly. Modify everyone's list for that matter.
>
> I eagerly await feedback on this question,
Well you know, if you're talking about an isolated server, then all the
authorisation is in your hands and you can add users to others' lists without
either party's permission (using SQL, if you have to!) Also, there's nothing
to particularly stop you implementing different semantics for a roster,
including hacking the server to maintain a single roster for all users.
But I'm not sure if anyone's already doing this in the manner you suggest. I
think people just use the auto-population feature of jabberd2 for the new
users to the company, and then make sure that people who leave remove
themselves from everyone's list (or, write an SQL query to remove them from
the database, which has been discussed on the list in the past.)
TX
--
'Every sufficiently advanced technology is indistinguishable from magic' -
Arthur C Clarke
'Every sufficiently advanced magic is indistinguishable from technology' - Tom
Graves
Email: Trejkaz Xaoza <trejkaz at xaoza.net>
Web site: http://xaoza.net/trejkaz/
Jabber ID: trejkaz at jabber.xaoza.net
GPG Fingerprint: 9EEB 97D7 8F7B 7977 F39F A62C B8C7 BC8B 037E EA73
More information about the JDev
mailing list