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

  • updated security manager interface to add registered credentials plug-ins names

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

Uploaded Source

Built Distributions

pyams_security-1.3.1-py3.9.egg (152.1 kB view details)

Uploaded Source

pyams_security-1.3.1-py3.8.egg (152.2 kB view details)

Uploaded Source

pyams_security-1.3.1-py3.7.egg (151.8 kB view details)

Uploaded Source

pyams_security-1.3.1-py3.6.egg (151.5 kB view details)

Uploaded Source

pyams_security-1.3.1-py3.5.egg (153.3 kB view details)

Uploaded Source

pyams_security-1.3.1-py3-none-any.whl (94.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyams_security-1.3.1.tar.gz
  • Upload date:
  • Size: 58.0 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.1.tar.gz
Algorithm Hash digest
SHA256 df21cc5bf32ebb5b0a7c4220da8a58019342d78e9a0475c9b5e83f881f7e0c99
MD5 8f9315fec298e301ddb36259a2352c7c
BLAKE2b-256 c25c6a0f30a299761bef823788e35221ce5685de491f2124cd158f8ab4020f17

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyams_security-1.3.1-py3.9.egg
  • Upload date:
  • Size: 152.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.0.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.1

File hashes

Hashes for pyams_security-1.3.1-py3.9.egg
Algorithm Hash digest
SHA256 285568430dadc34680ff22dff43aadebe869c93b507a5b4bdd28c14e750f9e24
MD5 bc394c9dd3cb099c753cc7419081d3a5
BLAKE2b-256 0cf6673246c28e455b4058ee1a119b9c8e0deedd4bb8c68bebcd4241e2373fca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyams_security-1.3.1-py3.8.egg
  • Upload date:
  • Size: 152.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.1-py3.8.egg
Algorithm Hash digest
SHA256 9800717406f635235f4ab8d179e407ca3691e0129278df8a04a2b4720e5d9fe3
MD5 0ca2ace5bedf03dd00f3d7fc14870f4f
BLAKE2b-256 135afd5f2e15c89897a2c98efc705e7a2d8b464cd21ee7b75eba4b3803c5b9ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyams_security-1.3.1-py3.7.egg
  • Upload date:
  • Size: 151.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.1-py3.7.egg
Algorithm Hash digest
SHA256 4d4482ad57fbefc3b926a77c7d6d0433b6f59f7c1c75085a31a96f660a763d8b
MD5 2859ba5f01367e7e69c38696e58af474
BLAKE2b-256 7a900494f509f2a142452e0c93b24abfe60450d7fd91837cb2a1a3510e392fb8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyams_security-1.3.1-py3.6.egg
  • Upload date:
  • Size: 151.5 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.1-py3.6.egg
Algorithm Hash digest
SHA256 72ce6bbcda2c7903d6ce2539bba4d8eaa8c85c3dd22eaa93ffc8959348647c7c
MD5 65f0ffee56609cd13e0bc1c245419c53
BLAKE2b-256 28750fac9679c6b2e6acb90c5b1d733f82543930a48025fddc75128e244c03ea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyams_security-1.3.1-py3.5.egg
  • Upload date:
  • Size: 153.3 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.1-py3.5.egg
Algorithm Hash digest
SHA256 465e9ae064d59812dce325d5e57ea3b218954f8085ed9c12a67aea948d74bc13
MD5 c2f56a8a166f7eb0230cb443af11dcbb
BLAKE2b-256 203ff3be5f29fb4f8ada040adb2bcfd6c54d6e46444fe43a6756905f0ff0bb72

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyams_security-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 94.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f696fa1c55951fc6752208abbcd2e2cebe7279da9feea950a1f9d2526a1668ab
MD5 f95ea2cb5816266afc602a8cbbe1e965
BLAKE2b-256 4ae1c90fdaca390787bb731f2d0f140ab60547ff3596c0d7ebfb443aa05f6db2

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