{ "info": { "author": "Agendaless Consulting", "author_email": "repoze-dev@lists.repoze.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware" ], "description": "-----------------------\nrepoze.who.plugins.zodb\n-----------------------\n\nA repoze.who plugin to authenticate a userid and attach group\ninformation based on information stored in a ZODB database.\n\nUsing a who config file:\n\n.. code-block::\n :linenos:\n\n [plugin:zodb]\n use = repoze.who.plugins.zodb:make_plugin\n zodb_uri = zeo://localhost:8884/ # see repoze.zodbconn\n users_finder = repoze.who.plugins.zodb:default_users_finder\n \n [authenticators]\n plugins = zodb\n\n [mdproviders]\n plugins = zodb\n\nUsing without a who config file:\n\n..code-block::\n :linenos:\n\n from repoze.who.plugins.zodb import ZODBPlugin\n from repoze.who.plugins.zodb import default_users_finder\n plugin = ZODBPlugin('zeo://localhost:8884/', default_users_finder)\n ... then use plugin in a imperatively-configured repoze.who middleware setup..\n\nZODB URI\n--------\n\nSee the documentation for ``repoze.zodbconn`` (a dependent package) to\nunderstand the ``zodb_uri`` parameter.\n\nThe ZODB URI will be ignored if the connection is provided in the WSGI\nenvironment by a WSGI component such as ``repoze.zodbconn#connector``.\n\nUsers Finder\n------------\n\nThe \"users finder\" must be a function that accepts the root object of\na ZODB database and returns an object that implements\n``repoze.who.plugins.zodb.interfaces.IUsers``. The default\nimplementation (``default_users_finder``) creates and stores the\nimplementation directly in the root itself under the key \"users\".\n\nAuthenticator and Metadata Provider\n-----------------------------------\n\nThe authenticator will authenticate the user's credentials against the\ninformation stored in the ``IUsers`` object.\n\nThe metadata provider will attach group information to the identity\n(in the ``groups``) key based on information stored in the ``IUsers``\nobject.\n\nImpersonation Plugin\n--------------------\n\nThis package provides a repoze.who plugin that allows superusers to log\nin as other users for testing purposes, without knowing the other\nusers' passwords. The impersonation plugin operates in tandem with a\nnormal ZODB authentication plugin.\n\nOnce the impersonation plugin is installed, users with superuser\nprivileges can use a special convention on the login form. Enter the\nname of the user to impersonate in the login field, then enter the\nsuperuser's name and password, separated by a colon, in the password\nfield. For example, if superuser ``alice`` wants to log in as ``bob``\nwithout knowing his password, and alice's password is ``123``, then\nAlice can enter ``bob`` for the login field and ``alice:123`` for the\npassword field. The system will authenticate Alice as ``bob``.\n\nUsing a who config file:\n\n.. code-block::\n :linenos:\n\n [plugin:zodb]\n use = repoze.who.plugins.zodb:make_plugin\n zodb_uri = zeo://localhost:8884/ # see repoze.zodbconn\n users_finder = repoze.who.plugins.zodb:default_users_finder\n\n [plugin:zodb_impersonate]\n use = repoze.who.plugins.zodb.impersonate:make_plugin\n plugin_name = zodb\n super_group = group.Superusers\n\n [authenticators]\n plugins = zodb\n zodb_impersonate\n\n [mdproviders]\n plugins = zodb\n\nThe required ``plugin_name`` parameter specifies a ZODB plugin to use\nto authenticate superusers and confirm their membership in the\nsuperuser group. The required ``super_group`` parameter specifies which\ngroup users must belong to in order to allow impersonation.\n\nBoth the ZODB plugin and the impersonation plugin should be configured\nas authenticators. The impersonation plugin only attempts to authenticate\nimpersonation requests; it does not authenticate normal access.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.repoze.org", "keywords": "web application server wsgi zope zodb authentication", "license": "BSD-derived (http://www.repoze.org/LICENSE.txt)", "maintainer": null, "maintainer_email": null, "name": "repoze.whoplugins.zodb", "package_url": "https://pypi.org/project/repoze.whoplugins.zodb/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/repoze.whoplugins.zodb/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://www.repoze.org" }, "release_url": "https://pypi.org/project/repoze.whoplugins.zodb/1.0.1/", "requires_dist": null, "requires_python": null, "summary": "ZODB authenticator and metadata plugin for repoze.who", "version": "1.0.1" }, "last_serial": 798864, "releases": { "0.5": [ { "comment_text": "", "digests": { "md5": "f0cdb809c1262c9843105ad6d9a05cc1", "sha256": "40466c1ce7d97a3249e30f41bbdcb80be1c6371bb8373511504f67c9795d655c" }, "downloads": -1, "filename": "repoze.whoplugins.zodb-0.5.tar.gz", "has_sig": false, "md5_digest": "f0cdb809c1262c9843105ad6d9a05cc1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15495, "upload_time": "2009-06-25T06:32:33", "url": "https://files.pythonhosted.org/packages/41/b8/b71744f32c6719e7a84c9aed0500e82accfdadf0440bb2eade6c0ecc90c7/repoze.whoplugins.zodb-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "97616b9dc2ceac8aa1541c3ee8ba59c2", "sha256": "f0b7279a678a68617211be1f53a09b48bf3bf0f7ca7e61e81d3ce50f1555760d" }, "downloads": -1, "filename": "repoze.whoplugins.zodb-0.6.tar.gz", "has_sig": false, "md5_digest": "97616b9dc2ceac8aa1541c3ee8ba59c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15617, "upload_time": "2009-06-25T22:54:49", "url": "https://files.pythonhosted.org/packages/80/e1/649fcb3f7402076239dce4ab7092ec719f8b489f1bb4dc5909e7f666e16f/repoze.whoplugins.zodb-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "1d7d53e3ce9bfb05b1dab43f5f451600", "sha256": "3628a743ffec1080c203b138bbd6a7b019be1763c9341d2a167531d26458db24" }, "downloads": -1, "filename": "repoze.whoplugins.zodb-0.7.tar.gz", "has_sig": false, "md5_digest": "1d7d53e3ce9bfb05b1dab43f5f451600", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15706, "upload_time": "2009-06-26T01:54:51", "url": "https://files.pythonhosted.org/packages/d6/d6/c17379b67a52883962ab2ddb7e2821c932d1a179706e722ab2d82df4586e/repoze.whoplugins.zodb-0.7.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "69b9832751dba5b6433d86a746d88df3", "sha256": "04425966c5221371b2cbd4e7bf0ce8b6364ac14d9f841d02d90da7dcc3bdef56" }, "downloads": -1, "filename": "repoze.whoplugins.zodb-0.8.tar.gz", "has_sig": false, "md5_digest": "69b9832751dba5b6433d86a746d88df3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15753, "upload_time": "2009-07-01T21:00:42", "url": "https://files.pythonhosted.org/packages/5a/6a/e0f8588b70836b178ba67bb0490ba7abc881fa6f7e4ed20170a12fa74787/repoze.whoplugins.zodb-0.8.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "75eb958fa08f7bd7f57fe2c126789b76", "sha256": "adecad8cab2571d52fefacd15db40fcce0e3578f1afa67412be902f670762e42" }, "downloads": -1, "filename": "repoze.whoplugins.zodb-1.0.tar.gz", "has_sig": false, "md5_digest": "75eb958fa08f7bd7f57fe2c126789b76", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15981, "upload_time": "2010-10-29T19:39:02", "url": "https://files.pythonhosted.org/packages/be/da/9a9efdf820fce61fb6844d50bf43766c4eb36e5b22dc75f705358396e721/repoze.whoplugins.zodb-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "6955588340ea38f11919c687bd9375b7", "sha256": "26988a30a5066255930a39d55c29989ecd455d7403051d0ad87e2a58784328fb" }, "downloads": -1, "filename": "repoze.whoplugins.zodb-1.0.1.tar.gz", "has_sig": false, "md5_digest": "6955588340ea38f11919c687bd9375b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16111, "upload_time": "2010-11-12T21:11:46", "url": "https://files.pythonhosted.org/packages/d4/77/3c76c7307918905e02adb9cc953756d2b96532543bd82d506aa053201096/repoze.whoplugins.zodb-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6955588340ea38f11919c687bd9375b7", "sha256": "26988a30a5066255930a39d55c29989ecd455d7403051d0ad87e2a58784328fb" }, "downloads": -1, "filename": "repoze.whoplugins.zodb-1.0.1.tar.gz", "has_sig": false, "md5_digest": "6955588340ea38f11919c687bd9375b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16111, "upload_time": "2010-11-12T21:11:46", "url": "https://files.pythonhosted.org/packages/d4/77/3c76c7307918905e02adb9cc953756d2b96532543bd82d506aa053201096/repoze.whoplugins.zodb-1.0.1.tar.gz" } ] }