掲示板

XMPP - Screennames for Account ID's rather than userId

thumbnail
15年前 に Glenn Powell によって更新されました。

XMPP - Screennames for Account ID's rather than userId

Junior Member 投稿: 43 参加年月日: 08/01/08 最新の投稿
I've been trying to solve a problem that we've been running into regarding synchronization between our XMPP Openfire server database, and our Liferay database.

Currently, we are still in development, so we are constantly blowing away and rebuilding our Liferay database with new data. This sometimes causes the userId's of our initial test users to change from one iteration to the next. Which in turn causes them to have new XMPP accounts created with that new userId, and then block them from access to their old accounts.

I do see that this shouldn't be the case in a production environment since the database shouldn't be rebuilt regularly, however, I do find it odd that the use of the userId attribute is hardcoded into the portal framework. This could potentially cause headaches if a database restructuring were in fact needed.

There is the possibility to change the LoginPostAction.java in EXT so that it calls:

MessagingUtil.createXMPPConnection(ses, user.getScreenName());


instead of

MessagingUtil.createXMPPConnection(ses, user.getUserId());


However, the use of the userId is scattered throughout the MessagingUtil.java file in the portal core, such as in the addRosterEntry method.
Was there a reason that the userId was especially chosen over the screenName? If not, then might it be possible in a future version to give the EXT developers more control over what is used as the XMPP account ID?
15年前 に musarath pasha によって更新されました。

Group Chat

New Member 投稿: 7 参加年月日: 07/09/26 最新の投稿
hi,
Presently i am working on the implementation of group chat functionality
in liferay, but i am facing lots of difficulty in doing so, can any one
guide me out, how to do groupchat in liferay.
Thanks in advance

--
Thanks & Regards
MUSARATH PASHA
14年前 に Baris Sener によって更新されました。

RE: Group Chat

Expert 投稿: 278 参加年月日: 09/06/23 最新の投稿
I'm having the same problem. Any ideas?

Baris
14年前 に Sarika Nair によって更新されました。

RE: Group Chat

Junior Member 投稿: 38 参加年月日: 09/10/06 最新の投稿
Hi

I'm facing the same problem....someone please guide.. emoticon
12年前 に Abhijit Roy によって更新されました。

RE: Group Chat

New Member 投稿: 1 参加年月日: 11/06/20 最新の投稿
Group Chat is not supported in Liferay 6.0.6.