summaryrefslogtreecommitdiff
path: root/paste/auth
Commit message (Collapse)AuthorAgeFilesLines
...
* Added a url->username translation function to the app (so we can actually ↵ianb2006-01-271-11/+48
| | | | try to log the user in when they complete the process). Added specific hooks for auth_tkt stuff -- should be changed in the future so it is common to all login systems. Made the login_redirect actually redirect externally, not internally. Not sure if that will work with everyone -- I guess not, if they aren't using auth_tkt with the auth_tkt hooks. But I'm not sure how it is supposed to work otherwise either. Maybe there needs to be two settings -- login_redirect and login_external_redirect. Or maybe leaving login_redirect blank should be okay, and that will cause the user to be redirected back to where they came from (another feature that should be added to this)
* Fixed some little bugs; added logout_path setting, a path that implies a ↵ianb2006-01-271-4/+34
| | | | logout when accessed
* Added a paste.deploy entry point for open_id; added a 401 catcher option to ↵ianb2006-01-271-8/+58
| | | | open_id (but I haven't tested that yet)
* Fixed typoish thingianb2006-01-211-1/+1
|
* @@ FIX: I commented this out since I didn't know what it was supposed to do ↵bbangert2006-01-211-1/+1
| | | | and it was bad syntax otherwise
* Added middleware for reading mod_auth_tkt-style signed cookies ↵ianb2006-01-182-0/+414
| | | | (paste.auth.auth_tkt). Added middleware to set user and group based on IP addresses (paste.auth.grantip). Added some modules for handling ranges of IP addresses, taken from some Python Cookbook recipes -- license is unclear on these, but I've requested clarification from the author (shouldn't be released until that is clarified).
* Indentation in docstringianb2006-01-181-20/+22
|
* moving httpserver from util sub-package up a levelcce2006-01-096-6/+6
|
* - removing unnecessary trailing spaces, that's allcce2006-01-052-17/+17
|
* Thread safe patchingbbangert2006-01-051-47/+46
|
* - made the example program simpler for paste.auth.cookie, nocce2006-01-031-8/+3
| | | | | point in adding in so many features when trying to introduce a new person to this module
* (no commit message)cce2006-01-031-10/+12
|
* - added REMOTE_SESSION as a default environment variable to savecce2006-01-021-5/+7
| | | | to help solve requirements mentioned atassist http://groups.google.com/group/turbogears/browse_frm/thread/9c38012ddb4128ef/9fc9e2524433f239#9fc9e2524433f239
* - fixed logic/definition problem /w multi-entry headers;cce2006-01-013-36/+21
| | | | | | | | | | | | | | __call__ now always returns a string value - renamed resolve to values in HTTPHeader to better reflect the public-interface for this (esp for multi-entry headers) - a few bugs in mult-entry headers - added common CGI headers to httpheaders; I know they don't really belong here, but error checking is nice - updated auth.digest and auth.basic to use httpheaders (this is what prompted the above changes) - added WWW_AUTHENTICATe header which will build a response to a digest challenge - fixed capitalization error in fileapp and added corresponding test
* (no commit message)cce2005-12-311-4/+3
|
* - upgraded docs for paste.auth.digest and paste.auth.multicce2005-12-313-103/+116
|
* - cleaned up documentation for paste.auth.cookiecce2005-12-316-126/+285
| | | | | | | | - cleaned up documentation for paste.auth.form - cleaned up documentation for paste.auth.basic - converted InternalServerError into its own class (httpexceptions) - converted BadRequest into its own class (httpexceptions) - a few minor cleanups
* Added a bunch of module docstrings so the module index looks nicer; also ↵ianb2005-12-301-1/+3
| | | | marked deprecated modules so they don't show up in the module index that Pudge creates
* - fixes for restructed textcce2005-12-301-18/+18
|
* - removed unnecessary spaces in several filescce2005-12-221-15/+15
| | | | - added DataApp to paste.fileapp
* Open ID usage docsbbangert2005-12-211-4/+50
|
* OpenID consumer now works for basic authorizing, now to add some keys to the ↵bbangert2005-12-211-2/+3
| | | | environ and internal redirect to end-users app
* Changed to comply with PEP 8 regarding class names from initial consumer ↵bbangert2005-12-211-36/+29
| | | | code port
* Move to deal with relative/absolute import issuesbbangert2005-12-201-0/+0
|
* Should be working now, odd import bug thoughbbangert2005-12-201-9/+14
|
* Close to working OpenID implementation, few tweaks to gobbangert2005-12-201-6/+235
|
* updated signature of cookie.py to use a 64 byte key as recommended by HMACcce2005-12-171-4/+10
|
* - removed super() usage in httpserver and just copied the codecce2005-12-171-4/+4
| | | | - replaced plain sha with hmac in cookie.py
* Skeleton of OpenID, more changes coming...bbangert2005-12-161-0/+55
|
* added stuff for HTTP/1.1 compliance to httpservercce2005-12-151-3/+3
|
* (no commit message)cce2005-12-151-1/+1
|
* migrating tests to use util.httpserver rather than util.baseservercce2005-12-146-6/+6
|
* Merged changes from cce branch (r3727:HEAD/4008); the branch is now in sync ↵ianb2005-12-137-0/+738
with trunk