summaryrefslogtreecommitdiff
path: root/docs/quick_tutorial/authorization
AgeCommit message (Collapse)Author
2024-06-09fix: store 'came_from' information in the sessionTres Seaver
- As with the previous commit, we want to avoid trusting user-supplied data from the query string or form parameters when constructing redirect URLs. - Storing the route name and matchdict for the view being forbidden in the session allows us to construct the redirect URL on successful login cleanly. - In order to clarify that the logic of storing the 'came from' information is separate from rendering or processing the login form, this PR splits the `@forbidden_view` mapping onto a separate view function.
2020-10-13Rename `ISecurityPolicy.authenticated_identity` to `identity`Theron Luhn
2020-04-17inheriting from `object` not necessary in py3Sergey Maranchuk
2020-01-16update docs with pyramid.authorizatio imports after syncing masterMichael Merickel
2019-12-31change hashalg on AuthTktCookieHelper to sha512.Michael Merickel
2019-12-30rename identify(request) to authenticated_identity(request)Michael Merickel
2019-12-29update authentication and authorization chapters of the quick_tutorial to ↵Michael Merickel
use the new ISecurityPolicy
2018-10-08Fix comments in `setup.py`sSteve Piercy
2018-10-08Revise `setup.py`sSteve Piercy
2018-10-08Update all the `setup.py`sSteve Piercy
2018-10-07Carry forward previous setup.py changes.Steve Piercy
2018-05-15issue #3182 removed extra lines from previous PRRadu Revutchi
2018-05-14fixed issue #3182 - alphabetized dependencies in quick tutorial and aligned ↵Radu Revutchi
emphasize-lines
2017-11-03views.py: prevent exception on unknown user loginsilum
2017-10-21Force emacs not to add newlines gratuitously, un-add themChris Shenton
2017-10-21Quick Tutorial: Replace wsgiref with waitressChris Shenton
In setup.py add waitress import. In development.ini use waitress. Adjust line number highlighting. Mention that we're using it early in the tutorial. Addresses #2926
2017-01-26undo borkage: wsgiref does not use listen, it uses portSteve Piercy
- ref: #2919
2016-12-09Added configuration for ipv6 in .ini files.Martin
2016-12-07Changed 'host' and 'port' configuration to a new 'listen' style that is now ↵Martin
supported by waitress server.
2016-12-06Revert "Changed 'host' and 'port' configuration to a new 'listen' style that ↵Bert JW Regeer
…"
2016-12-06Changed 'host' and 'port' configuration to a new 'listen' style that is now ↵Martin
supported by waitress server.
2016-07-21Add one-way password hash to security example in Quick Tutorial.Keith Yang
2015-05-23correct title tag; grammar, punctuationSteve Piercy
2014-03-13Strip redundant logging config from tutorial INI files.Tres Seaver
Leave it for the 'logging' and 'scaffolds' sections, where it is germane.
2013-11-09undeprecate remember/forget functions and remove ↵Chris McDonough
remember_userid/forget_userid methods from request
2013-10-30convert remember/forget to request-method-basedChris McDonough
2013-09-25Get pyramid_chameleon added to the quick tutorial, plus some other fixes for ↵Paul Everitt
Python 3.
2013-09-13First cut at import of quick tutorial.Paul Everitt