summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyramid/authentication.py6
1 files 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