Chris McDonough
2011-08-20 449287942782a24dbe31a60ca791d677fd0ba003
refs
author Chris McDonough <chrism@plope.com>
Saturday, August 20, 2011 22:45 +0200
committer Chris McDonough <chrism@plope.com>
Saturday, August 20, 2011 22:45 +0200
commit449287942782a24dbe31a60ca791d677fd0ba003
tree b0d4b90186522e68ea8b9a06cd2528013a92273c tree | zip | gz
parent b8c79771a186f1032635fc640b3cecc2c9e281ad view | diff
- The ``RemoteUserAuthenticationPolicy ``, ``AuthTktAuthenticationPolicy``,
and ``SessionAuthenticationPolicy`` constructors now accept an additional
keyword argument named ``debug``. By default, this keyword argument is
``False``. When it is ``True``, debug information will be sent to the
Pyramid debug logger (usually on stderr) when the ``authenticated_userid``
or ``effective_principals`` method is called on any of these policies. The
output produced can be useful when trying to diagnose
authentication-related problems.
4 files modified
251 ■■■■■ changed files
CHANGES.txt 9 ●●●●● diff | view | raw | blame | history
TODO.txt 5 ●●●●● diff | view | raw | blame | history
pyramid/authentication.py 94 ●●●●● diff | view | raw | blame | history
pyramid/tests/test_authentication.py 143 ●●●●● diff | view | raw | blame | history