Closed Bug 712551 Opened 14 years ago Closed 13 years ago

mozsvc.user helpers for repoze.who

Categories

(Cloud Services :: Server: Core, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rfkelly, Unassigned)

References

Details

(Whiteboard: [qa-])

Attachments

(1 file)

This patch adds a "mozsvc.user.whoauth" module with some conveniences for authenticating via repoze.who. The idea is that you just do this in your config: config.include("mozsvc.user.whoauth") And you get auth based on repoze.who with sensible defaults. The logic and defaults are identical to the repoze.who support in server-code from Bug 692709. (Sorry the patch is a bit of mess, it moves mozsvc/user.py => mozsvc/user/__init__.py, but it doesn't change any of the content of the file. Let me know if there's some way to make it cleaner)
Depends on: 712549
Attachment #583393 - Flags: review?(telliott)
Attachment #583393 - Flags: review?(telliott) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: