Skip to main content

PyAMS security management package

Project description

What is PyAMS?

PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications and content management with the Pyramid framework.

PyAMS is actually mainly used to manage web sites through content management applications (CMS, see PyAMS_content package), but many features are generic and can be used inside any kind of web application.

All PyAMS documentation is available on ReadTheDocs; source code is available on Gitlab and pushed to Github.

What is PyAMS_security?

PyAMS_security is a core extension package for PyAMS which provides all main security-related features; the package provides a custom authentication policy which is based on a custom “security manager”. This utility is a pluggable tool which is handling system users, local users and groups, as well as OAuth authentication; external packages can also provide authentication based on an LDAP directory.

PyAMS_security also provides utilities to extract credentials from queries, like HTTP basic authentication or JWT tokens, and can also provide your own credentials extraction mechanisms.

Finally, PyAMS_security provides roles management, as well as custom schema fields to store roles assigned to principals.

Changelog

1.2.1

  • use updated WSGI decorator to prevent storage of null values into request environment

1.2.0

  • updated roles management; this will allow to extend supported roles of a given class just by adding adapters, without modifying the original class

  • moved PyAMS security policy to dedicated module

  • added registration of standard roles and security policy

  • add factories registration in default security plug-ins

  • updated users registration process

  • updated adapter_config decorator arguments

  • updated doctests

1.1.3

  • small updates in policy management of authenticated_user_id

1.1.2

  • updated doctests with configured cache

1.1.1

  • removed dependency on pyams_auth_http package

1.1.0

  • moved authentication plug-ins to dedicated packages (see pyams_auth_http, pyams_auth_jwt…)

  • moved PyAMS authentication policy to dedicated module

  • handle ConnectionStateError in authentication policy

  • updated doctests

1.0.5

  • simple version switch to avoid mismatch in Buildout configuration file… :(

1.0.4

  • code cleanup

1.0.3

  • handle ConnectionStateError in JWT authentication plug-in

  • updated doctests

1.0.2

  • added support for HS512 and RS512 JWT encryption protocols

1.0.1

  • updated imports in include file for tests integration

1.0.0

  • initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyams_security-1.2.1.tar.gz (54.8 kB view details)

Uploaded Source

Built Distributions

pyams_security-1.2.1-py3.8.egg (150.7 kB view details)

Uploaded Source

pyams_security-1.2.1-py3.7.egg (150.3 kB view details)

Uploaded Source

pyams_security-1.2.1-py3.6.egg (150.1 kB view details)

Uploaded Source

pyams_security-1.2.1-py3.5.egg (151.9 kB view details)

Uploaded Source

pyams_security-1.2.1-py3-none-any.whl (93.3 kB view details)

Uploaded Python 3

File details

Details for the file pyams_security-1.2.1.tar.gz.

File metadata

  • Download URL: pyams_security-1.2.1.tar.gz
  • Upload date:
  • Size: 54.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.7.1

File hashes

Hashes for pyams_security-1.2.1.tar.gz
Algorithm Hash digest
SHA256 0065c88a36a71e417a79ef2fc6ff121c7bcdae62d055b99409ae11e90a2daf01
MD5 d3ce938a29e243ee0d5b29ced588a7bd
BLAKE2b-256 90dd6870a099974c9d883d1e39a1f475ed2b575f7430a4fba85e1808b64aa3de

See more details on using hashes here.

File details

Details for the file pyams_security-1.2.1-py3.8.egg.

File metadata

  • Download URL: pyams_security-1.2.1-py3.8.egg
  • Upload date:
  • Size: 150.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.6

File hashes

Hashes for pyams_security-1.2.1-py3.8.egg
Algorithm Hash digest
SHA256 15c0d2c4de1fa071e5c34a7ffcaa5ad2b8a7aaedfda0fab27f18c29e35f37dfd
MD5 718748772f6a291b116a191895f3d0b1
BLAKE2b-256 e5dd8e2c015a4ddbd88af4daad46252988eb7960147cca1cca3495681f3d870f

See more details on using hashes here.

File details

Details for the file pyams_security-1.2.1-py3.7.egg.

File metadata

  • Download URL: pyams_security-1.2.1-py3.7.egg
  • Upload date:
  • Size: 150.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.7.1

File hashes

Hashes for pyams_security-1.2.1-py3.7.egg
Algorithm Hash digest
SHA256 0e3d622bb635be72e64208b5e165396be2ff66ca38b8e30b07679d2baee9b2eb
MD5 38bdace5f44aa8efb87a3d6a507479e7
BLAKE2b-256 ee3ca20b9eb6d95a0468a07a48771f209cd20827a91035b13d94916161979bb3

See more details on using hashes here.

File details

Details for the file pyams_security-1.2.1-py3.6.egg.

File metadata

  • Download URL: pyams_security-1.2.1-py3.6.egg
  • Upload date:
  • Size: 150.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.6.7

File hashes

Hashes for pyams_security-1.2.1-py3.6.egg
Algorithm Hash digest
SHA256 39453329af471f18af1a5972d2eb1f065b471d7b7c32da114bea0e97c3d6e12e
MD5 75755b6fe970dcaf36bfcb5df7845cff
BLAKE2b-256 a1a23b5d30d896ae8fd677f25a5a8a4dd2dc292d569da7e5f49954c3a4e5d3bc

See more details on using hashes here.

File details

Details for the file pyams_security-1.2.1-py3.5.egg.

File metadata

  • Download URL: pyams_security-1.2.1-py3.5.egg
  • Upload date:
  • Size: 151.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.5.10

File hashes

Hashes for pyams_security-1.2.1-py3.5.egg
Algorithm Hash digest
SHA256 e987ea8b8bd95a0dd5ecc32c21e5d976562a4b9d8fe473cb0d2e1e646945548d
MD5 44d092cf881d376585ddfee72bc56dbb
BLAKE2b-256 f985f21fc79fd271b248a2e71cb2ed6fd188ddb80b48eaae249c7c619953c471

See more details on using hashes here.

File details

Details for the file pyams_security-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: pyams_security-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 93.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.7.1

File hashes

Hashes for pyams_security-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 992c5f709ec6972e7f8a7cd86f4d0dfd1459361c84b0eaced217ff47afc2d069
MD5 98676783833cef7ac235697295343062
BLAKE2b-256 7b4e339ea1acf753f3f6c5f81b2d67cefbf07fa341f2d49488277d5a8f96249f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page