Bug 207672 - org.eclipse.ecf.provider.xmpp ECFConnection always logs in with ECF_XMPP resource
Summary: org.eclipse.ecf.provider.xmpp ECFConnection always logs in with ECF_XMPP reso...
Status: RESOLVED FIXED
Alias: None
Product: ECF
Classification: RT
Component: ecf.providers (show other bugs)
Version: 1.2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: ecf.core-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-27 12:41 EDT by tonys CLA
Modified: 2013-01-29 15:33 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tonys CLA 2007-10-27 12:41:48 EDT
Build ID: M20070921-1145
ECF:      1.20v20071019-1300

Steps To Reproduce:

1. Login to an XMPP account with an ECF connection
2. Login to a seperate XMPP account with a different client that has the first    account listed as a contact
3. The resource of the first account is alwasy listed as ECF_XMPP even if a seperate resource is provided when creating the login ID.

More information:

This is related to bug 200736 - XMPP allows different logins to the same account provided the resource supplied at login is different each time (Google Chat seems to automatically generate different resource ID's).

Replacing: connection.login(username,(String) data,ECF_CLIENT);

with:      connection.login(username,(String) data,jabberURI.getResourceName());

in ECFConnection.connect() seems to set the login resource correctly.
Comment 1 Scott Lewis CLA 2008-05-23 14:38:51 EDT
changing target milestone
Comment 2 Scott Lewis CLA 2013-01-29 15:33:06 EST
Fixed some time ago...forgot to update bug.