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.3.0

  • added argument in “find_principals” methods to only allow exact match

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.3.0.tar.gz (57.2 kB view details)

Uploaded Source

Built Distributions

pyams_security-1.3.0-py3.9.egg (151.2 kB view details)

Uploaded Source

pyams_security-1.3.0-py3.8.egg (151.2 kB view details)

Uploaded Source

pyams_security-1.3.0-py3.7.egg (150.8 kB view details)

Uploaded Source

pyams_security-1.3.0-py3.6.egg (150.6 kB view details)

Uploaded Source

pyams_security-1.3.0-py3.5.egg (152.4 kB view details)

Uploaded Source

pyams_security-1.3.0-py3-none-any.whl (93.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyams_security-1.3.0.tar.gz
  • Upload date:
  • Size: 57.2 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.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.5.10

File hashes

Hashes for pyams_security-1.3.0.tar.gz
Algorithm Hash digest
SHA256 1c89985cbbc70de9d197e0fdf10f6d32879e7219e89049d9c33de3ea620dc8b1
MD5 86985627251b694b3836128a9b925de3
BLAKE2b-256 2f79e9242ada9fe455967dbdf07f7982dfaf81590a09c7fa4360a96a51cbcfa4

See more details on using hashes here.

File details

Details for the file pyams_security-1.3.0-py3.9.egg.

File metadata

  • Download URL: pyams_security-1.3.0-py3.9.egg
  • Upload date:
  • Size: 151.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.1

File hashes

Hashes for pyams_security-1.3.0-py3.9.egg
Algorithm Hash digest
SHA256 066b95359b50b749b460114de6c7aa2c46bce2e262256f6289e1fe30a8a8685f
MD5 17b44686ad93b08969ac01ff5ef0f9a1
BLAKE2b-256 17b84f8a505b57e29abf04b1c2537f3efea5f77db4e60737071c2397d937e631

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyams_security-1.3.0-py3.8.egg
  • Upload date:
  • Size: 151.2 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.7

File hashes

Hashes for pyams_security-1.3.0-py3.8.egg
Algorithm Hash digest
SHA256 bd47a1d182d46ec4475bc2b0875afd6603949c10bdfd32f93cbb174115cd5c25
MD5 451a0b574c7f0ef37e3b6ce7be9cf926
BLAKE2b-256 ea084b1415e0ad3e71e98102ecc1544856d2b46ae42e85fb1af6af4f8f3be3f7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyams_security-1.3.0-py3.7.egg
  • Upload date:
  • Size: 150.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.0.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.7.9

File hashes

Hashes for pyams_security-1.3.0-py3.7.egg
Algorithm Hash digest
SHA256 f9fac2fa778841ec29f45ae704e7ab94cef75f8707f55803d9cc6ee9a67824cb
MD5 04bca8e948668fd143d6f485fac39ea9
BLAKE2b-256 86c1282b19946d974d853ef777f861d9cc36fd04b31cfa65140b7f4f866acc88

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyams_security-1.3.0-py3.6.egg
Algorithm Hash digest
SHA256 d8aa62933c2f14be62f106e739d18df1a354a0a9b37f46e2f61f03521e836349
MD5 24906077be66c3c6fdbe2bea8da5d0ea
BLAKE2b-256 99238299216c10f06d53ccec32f880be2e6673f68511604485ab0e069d76bbe3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyams_security-1.3.0-py3.5.egg
  • Upload date:
  • Size: 152.4 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.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.5.10

File hashes

Hashes for pyams_security-1.3.0-py3.5.egg
Algorithm Hash digest
SHA256 047b42670d7fc9cc84e2c25b208a62d9945ece0b0722654f1e4a56b3c90a5fb0
MD5 d812633887f81dda61839d7907e1e3eb
BLAKE2b-256 c202edc9408483c2e79393b36cfcd1f04580f405640c6c562c32ff7092f96303

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyams_security-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 93.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.5.10

File hashes

Hashes for pyams_security-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fab5b53e5c0f3e48ce26534e8fe912211aa562de077242edddf063856390ac82
MD5 f6d5fb0017f63f65e562ae2e2175adab
BLAKE2b-256 c86f0ab65ae2b1266b7de25763c949d01f8d73a279aded95fa99bc2d8a1f9ac4

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