diff options
Diffstat (limited to 'docs/narr/security.rst')
| -rw-r--r-- | docs/narr/security.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/narr/security.rst b/docs/narr/security.rst index 13e6d632a..3b1de27ad 100644 --- a/docs/narr/security.rst +++ b/docs/narr/security.rst @@ -110,6 +110,11 @@ For example: config = Configurator(authentication_policy=authentication_policy, authorization_policy=authorization_policy) +.. note:: the ``authentication_policy`` and ``authorization_policy`` + arguments may also be passed to the Configurator as :ref:`dotted + Python name` values, each representing the dotted name path to a + suitable implementation global defined at Python module scope. + The above configuration enables a policy which compares the value of an "auth ticket" cookie passed in the request's environment which contains a reference to a single :term:`principal` against the |
