9 Commits

Author SHA1 Message Date
Clay Gerrard
bdba519e02 PEP8 2011-02-24 16:21:14 -06:00
Clay Gerrard
92a5414f25 went ahead and spoofed a [func_test] section 2011-02-24 12:28:17 -06:00
Clay Gerrard
c1b3c8d799 better error messages on missing/malformed configs 2011-02-24 11:59:34 -06:00
Clay Gerrard
49ea0201f7 made functionalnosetests works with no account usernames 2011-02-23 11:29:06 -06:00
gholt
35f3487879 Incorporated Swauth into Swift as an optional DevAuth replacement. 2010-12-01 17:08:49 -08:00
gholt
a5df15005b Got rid of inter-reseller ACLs. Enforce ACLs to only work within a reseller space. Updated docs and tests. We can expand to inter-reseller in the future with ACLs like .x:RESELLER_group 2010-09-09 10:24:25 -07:00
gholt
d2ec027e22 For ACL strings: Shortened .ref to just .r, though .ref, .referer, and .referrer are all accepted. Updated 'Creating Your Own Auth Middleware' to describe how the DevAuth server works and suggestions for creating one's own. Added reseller_prefix (optional) implementation. Used urlparse in referrer_allowed. Fixed bug where group names would get lowercased by clean_acl. Changed .r:any to .r:*. Allowed .r:*.example.com to mean .r:.example.com. Made proxy log just the first authenticated group (the user) alongside the token. Moved proxy callback to clean_acl before the length check of the metadata. Cleaned up redundant logic in first proxy swift.authorize callback. Bit better docs. More and updated tests. 2010-09-08 22:37:27 -07:00
gholt
cfcfdd3de1 Refactored auth and adding ACLs using repoze.what 2010-09-02 21:50:16 -07:00
gholt
47d6d7a10c Argh. Forgot the tests themselves! 2010-08-16 19:11:19 -07:00