From 2c65826a9d03282f7192ddee80f09a86d1033d98 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 25 May 2011 22:05:31 -0400 Subject: add docs about configuring a session factory for this authentication policy to work --- pyramid/authentication.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyramid/authentication.py b/pyramid/authentication.py index e1384e0b8..d42843528 100644 --- a/pyramid/authentication.py +++ b/pyramid/authentication.py @@ -526,8 +526,10 @@ class AuthTktCookieHelper(object): return self._get_cookies(environ, cookie_value, max_age) class SessionAuthenticationPolicy(CallbackAuthenticationPolicy): - """ A :app:`Pyramid` authentication policy which gets its data from - the configured session. + """ A :app:`Pyramid` authentication policy which gets its data from the + configured :term:`session`. For this authentication policy to work, you + will have to follow the instructions in the :ref:`sessions_chapter` to + configure a :term:`session factory`. Constructor Arguments -- cgit v1.2.3