Closed
Bug 692658
Opened 13 years ago
Closed 13 years ago
add acknowledgement phase to auth workflow
Categories
(Cloud Services :: Server: Core, enhancement)
Cloud Services
Server: Core
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rfkelly, Unassigned)
Details
Attachments
(1 file)
12.71 KB,
patch
|
rmiller
:
review+
|
Details | Diff | Splinter Review |
Current server-core allows the authentication class to check credentials on the request, but provides no means to set headers on outgoing responses. Attached patch adds an "acknowledge" phase where the auth class can tweak the outgoing response. It also expands the baseapp tests for more comprehensive testing of the auth class, e.g. testing that it correctly passes through HTTPNotFound errors raised in the controller. Some examples where such acknowledgement can be useful include setting a signed cookie to remember the login, or sending an updated digest-auth nonce in the Authentication-Info header. (this is mostly an enabling patch for the next step - implementing a "WhoAuthenticator" class so existing apps can use the upcoming repoze.who auth plugins)
Attachment #565399 -
Flags: review?(telliott)
Reporter | ||
Updated•13 years ago
|
Attachment #565399 -
Flags: review?(telliott) → review?(rmiller)
Comment 1•13 years ago
|
||
Comment on attachment 565399 [details] [diff] [review] patch adding an "acknowledge" phase to the auth workflow Review of attachment 565399 [details] [diff] [review]: ----------------------------------------------------------------- awesome. :)
Attachment #565399 -
Flags: review?(rmiller) → review+
Reporter | ||
Comment 2•13 years ago
|
||
Committed in http://hg.mozilla.org/services/server-core/rev/186175cd2066
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•