[JDEV] Many users on an unique session ?

Stéphane RETY sr at laposte.net
Fri Oct 4 07:42:04 CDT 2002


Hi,

I'd like to build a application that would use only one 
connection (i.e socket) with a Jabber server and that would 
send presence informations of many users with this only 1 
session.

I understand that this is not allowed to prevent users sending 
messages under another identity. But this is something I don't 
care for my application since it would work only on a private 
LAN.

I tried to "connect" a user2 using user1's existing session 
but the server automatically disconnect user1...

I'm now studying the source code to find where the server 
checks who's authenticated on a precise session (I'm now on 
mod_auth files...). So I wondered if someone could tell me 
which part of the code deals with that, that would help me 
finding it more rapidly ! So my questions are :

Do you know where in the code the server checks who's 
connected on a session and then refuse any new 
authentification request on this existing session ?

Does it look possible to change the server's behaviour to do 
what I want to do ? Your ideas on the subject are more than 
welcome !

Thanks very much for your help.

Regards,
Stephane

Accédez au courrier électronique de La Poste : www.laposte.net ; 3615 LAPOSTENET (0,13 €/mn) ; tél : 08 92 68 13 50 (0,34€/mn)"






More information about the JDev mailing list