summaryrefslogtreecommitdiff
path: root/paste/auth
Commit message (Collapse)AuthorAgeFilesLines
* path from Robert Almeida, to re-enable the internal redirect to the login ↵Ian Bicking2007-02-011-5/+5
| | | | form. Dunno how it should really work, but eh
* oopscce2007-01-101-2/+0
|
* fixing server side cache /w the nocache headercce2007-01-101-0/+2
|
* convert old-style classes to new-style classespjenvey2007-01-055-8/+8
|
* Fix for error condition in OpenID auth; patch from Christopher BausIan Bicking2006-11-261-1/+1
|
* Fixed #133 from cookedm: paste.auth.form doesn't return valid headersIan Bicking2006-11-021-2/+2
|
* A big commit, primarily aesthetic/whitespace in nature. This is the result ↵Ian Bicking2006-10-207-49/+53
| | | | of running pylint over the codebase. Some minor/hard-to-reach typos were also picked up.
* Several name problems, small bugs, extra imports caught by pyflakesIan Bicking2006-10-204-5/+2
|
* Updated the docstring to specify the correct information for set_user and ↵thejimmyg2006-09-011-2/+2
| | | | logout_user in the environ dictionary
* Make sure timeout isn't passed in as a stringIan Bicking2006-08-211-0/+5
|
* better error message in paste.auth.cookieIan Bicking2006-08-211-0/+5
|
* Added an entry point for paste.auth.cookie; added/currected a little info to ↵Ian Bicking2006-08-191-10/+91
| | | | the docstrings
* Patch from Brad Clements to add Paste Deploy support for paste.auth methodsIan Bicking2006-06-303-0/+55
|
* Added copyright header to a bunch of filesIan Bicking2006-06-133-0/+6
|
* This updates the paste.auth.* modules to includecce2006-02-244-28/+26
| | | | | | | | | | | | | | | | | | | | | | environ in the authentication callback functions. - auth.basic was modified to have a callback of authfunc(environ, username, password) - auth.digest was modified in a similar manner, authfunc(environ, realm, password) - auth.digest's digest_password also had it's arguments reversed to be consistent with the corresponding authfunc(); if you're going to break -- let's fix two things at once! - auth.form has a change similar to auth.basic These changes were suggested via Matthew Scott on the paste mailing list; only that I put the environ first to be consistent with other WSGI functions.
* Added to the do-it-yourself docIan Bicking2006-02-011-1/+1
|
* remove debugging prints from openidIan Bicking2006-01-301-4/+0
|
* Added a url->username translation function to the app (so we can actually ↵Ian Bicking2006-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 ↵Ian Bicking2006-01-271-4/+34
| | | | logout when accessed
* Added a paste.deploy entry point for open_id; added a 401 catcher option to ↵Ian Bicking2006-01-271-8/+58
| | | | open_id (but I haven't tested that yet)
* Fixed typoish thingIan Bicking2006-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 ↵Ian Bicking2006-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 docstringIan Bicking2006-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 ↵Ian Bicking2005-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 ↵Ian Bicking2005-12-137-0/+738
with trunk