summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/whatsnew-2.0.rst30
1 files changed, 17 insertions, 13 deletions
diff --git a/docs/whatsnew-2.0.rst b/docs/whatsnew-2.0.rst
index c33f40206..a32801058 100644
--- a/docs/whatsnew-2.0.rst
+++ b/docs/whatsnew-2.0.rst
@@ -59,19 +59,23 @@ Pyramid does not provide any built-in security policies. Similiar
functionality of the authentication and authorization policies is now provided
by helpers, which can be utilized to easily implement your own security policy.
The functionality of the legacy authencation policies roughly correspond to the
-following helpers
-
-* :class:`pyramid.authentication.SessionAuthenticationPolicy`:
- :class:`pyramid.authentication.SessionAuthenticationHelper`
-* :class:`pyramid.authentication.AuthTktAuthenticationPolicy`:
- :class:`pyramid.authentication.AuthTktCookieHelper`
-* :class:`pyramid.authentication.BasicAuthAuthenticationPolicy`:
- Use :func:`pyramid.authentication.extract_http_basic_credentials` to retrieve
- credentials.
-* :class:`pyramid.authentication.RemoteUserAuthenticationPolicy`:
- ``REMOTE_USER`` can be accessed with ``request.environ.get('REMOTE_USER')``.
-* :class:`pyramid.authentication.RepozeWho1AuthenticationPolicy`:
- No equivalent.
+following helpers:
+
++----------------------------------------------------------------+-------------------------------------------------------------------+
+| Authentication Policy | Security Policy Helper |
++================================================================+===================================================================+
+| :class:`pyramid.authentication.SessionAuthenticationPolicy` | :class:`pyramid.authentication.SessionAuthenticationHelper` |
++----------------------------------------------------------------+-------------------------------------------------------------------+
+| :class:`pyramid.authentication.AuthTktAuthenticationPolicy` | :class:`pyramid.authentication.AuthTktCookieHelper` |
++----------------------------------------------------------------+-------------------------------------------------------------------+
+| :class:`pyramid.authentication.BasicAuthAuthenticationPolicy` | Use :func:`pyramid.authentication.extract_http_basic_credentials` |
+| | to retrieve credentials. |
++----------------------------------------------------------------+-------------------------------------------------------------------+
+| :class:`pyramid.authentication.RemoteUserAuthenticationPolicy` | ``REMOTE_USER`` can be accessed with |
+| | ``request.environ.get('REMOTE_USER')``. |
++----------------------------------------------------------------+-------------------------------------------------------------------+
+| :class:`pyramid.authentication.RepozeWho1AuthenticationPolicy` | No equivalent. |
++----------------------------------------------------------------+-------------------------------------------------------------------+
For further documentation on implementing security policies, see
:ref:`writing_security_policy`.