Global principal registry component for Zope3
Project description
zope.principalregistry
This package provides an authentication utility for zope.authentication that uses a simple non-persistent principal registry. This is typically registered as a global utility, and it is usually configured in ZCML.
Documentation is hosted at https://zopeprincipalregistry.readthedocs.io
Changes
4.2.0 (2017-10-01)
Fix principal and group objects registered in ZCML or directly with the principalregistry being invalid under Python 2 (having byte strings for id instead of text strings). See https://github.com/zopefoundation/zope.principalregistry/issues/7
4.1.0 (2017-09-04)
Add support for Python 3.5 and 3.6.
Drop support for Python 2.6 and 3.3.
Host documentation at https://zopeprincipalregistry.readthedocs.io
Reach 100% test coverage and ensure we remain there.
Test PyPy3 on Travis CI.
4.0.0 (2014-12-24)
Add support for PyPy. (PyPy3 is pending release of a fix for: https://bitbucket.org/pypy/pypy/issue/1946)
Add support for Python 3.4.
Add support for testing under Travis.
4.0.0a2 (2013-03-03)
Make sure that the password is always bytes when passed into the principal registry.
Fix deprecation warnings.
4.0.0a1 (2013-02-22)
Add support for Python 3.3.
Replace deprecated zope.interface.implements usage with equivalent zope.interface.implementer decorator.
Dropd support for Python 2.4 and 2.5.
3.7.1 (2010-09-25)
Add test extra to declare test dependency on zope.component [test].
Use Python’s doctest module instead of deprecated zope.testing.doctest.
3.7.0 (2009-03-14)
Remove zope.container dependency, as contained principals didn’t make any sense, since PrincipalRegistry never provided IContainer. Also, zope.container pulls a number dependencies, that are not needed for non-persistent principal registry (like, ZCML, for example).
Set __name__ and __parent__ by hand to provide some backward-compatibility and to save a pointer to registry from principal objects.
Initial release. This package was split from zope.app.security as a part of the refactoring process to provide global principal registry without extra dependencies.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for zope.principalregistry-4.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ed5c2cac41777742eca539850bf0a4caed39aba79fba27772d5d5850b2a891c |
|
MD5 | 1e6a041d534d4c23582631be34c2ac02 |
|
BLAKE2b-256 | d19c976a1f4609bd02add4c6539537194b31fa963d1b75081438de2d097a2fe5 |
Hashes for zope.principalregistry-4.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2686af0dff1f4841f779375df35a35a85d7ed9f5b3f097f8ff5b8dda8ecd405b |
|
MD5 | 878f7d792947831d48afaa4cbc92030b |
|
BLAKE2b-256 | c3deb9caea333e3df94cd04b144e40a4770a139bf1237bdd6913c9a521075d74 |