Closed Bug 544934 Opened 16 years ago Closed 16 years ago

Authenticated username is not used when generating Jabber ID

Categories

(support.mozilla.org Graveyard :: Chat, defect)

x86
Linux
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zzxc, Assigned: zzxc)

References

Details

Attachments

(1 file)

When testing the integrated login functionality, I noticed that Openfire is ignoring the authenticated username (eg. "zzxctest") when different from the principal (eg. "zzxc tikiwiki test"). This test resulted in an invalid Jabber ID of zzxc\20tikiwiki\20test@chat-support.mozilla.com. Cases in which the migrated username is the same as the Openfire username (eg. zzxc->zzxc) are not affected. Since this bug breaks post-migration JID retention and allows invalid characters in Jabber ID's, we need a fix before pushing login migration. I'll have a patch up by EOD today.
Blocks: 503215
This fixes the Openfire SASL authentication mechanism such that it uses the authorized Live Chat username returned by the authorization provider, rather than reusing the login name. This bug affects anyone using an Openfire authentication provider which results in a Jabber ID distinct from the login name, including the SUMO authentication provider.
Attachment #426000 - Flags: review?(paulc)
(In reply to comment #1) > Created an attachment (id=426000) [details] > Use the authenticated username Not sure how to test this, but it looks like it needs Openfire set up. I'm tied up today until 1pm at the earliest -- James or Laura: can you review this?
QA is still blocked by this.
Attachment #426000 - Flags: review?(paulc)
Attachment #426000 - Flags: review?(laura)
Attachment #426000 - Flags: review?(james)
Comment on attachment 426000 [details] [diff] [review] Use the authenticated username I can't today. Passing on.
Comment on attachment 426000 [details] [diff] [review] Use the authenticated username It looks reasonable, and I really can't test further without a significant amount of effort - let's get it committed and into QA
Attachment #426000 - Flags: review?(laura) → review+
Checked in r62173.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: 1.5.1 → 1.5.2
Attachment #426000 - Flags: review?(james)
Product: support.mozilla.org → support.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: