Closed Bug 922147 Opened 11 years ago Closed 11 years ago

Abstract password out of android-sync's Sync 1.1 authorization flow

Categories

(Firefox for Android Graveyard :: Android Sync, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: nalexander, Assigned: nalexander)

References

Details

(Whiteboard: [qa+])

Attachments

(1 file)

At the moment, the android-sync Sync 1.1 codebase assumes a username/password for HTTP Basic authorization.  In the brave new FxAccount world, there's no HTTP Basic authorization.  This ticket tracks generalizing the authorization flow for Sync 1.1.

This involves removing the password from SyncConfiguration and providing an AuthHeaderProvider to GlobalSession (and others, like ClientRecordTerminator) as needed.
This is going to touch a good bit of Sync 1.1 code, so we'll need to do some device testing locally and we'll want client QA to run Sync through it's paces.  My preference is to push a try build, have QA test against the generated APKs, and then land on m-c once we're confident Sync is in good shape.

I'll post a list of features I think need testing.  There should be no user-visible changes.
Whiteboard: [qa+]
Comment on attachment 820099 [details] [review]
Sync 1.1 with an AuthHeaderProvider, V1.

This mostly looks good, but some questions are on GH.
Attachment #820099 - Flags: review?(rnewman) → feedback+
Assignee: nobody → nalexander
Status: NEW → ASSIGNED
Comment on attachment 820099 [details] [review]
Sync 1.1 with an AuthHeaderProvider, V1.

r=rnewman on github and IRC.
Attachment #820099 - Flags: review+
https://hg.mozilla.org/mozilla-central/rev/72e0be7a52dd
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Let me know when there is an Android build to mess with...
Cleaning up Resolved/Fixed bugs from December's first release.
Verified that we now have a working first-release of FxA to Desktop/Android Nightly.
Re-open as needed.
Status: RESOLVED → VERIFIED
Product: Android Background Services → Firefox for Android
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: