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

  • correction in Gitlab-CI Pylint task

1.6.0

  • removed support for Python < 3.7

  • added custom password encoders

  • updated doctests

1.5.5

  • updated Gitlab-CI configuration

1.5.4

  • updated Gitlab-CI configuration

1.5.3

  • added wheels to Buildout configuration

1.5.2

  • updated Gitlab-CI configuration for last Python versions

1.5.1

  • updated doctests

1.5.0

  • added ISecurityManager factory configuration

  • removed Travis-CI configuration

1.4.0

  • added config.upgrade_role function, to be able to add permissions to an existing role

  • updated default site roles

  • updated doctests

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

Uploaded Source

Built Distributions

pyams_security-1.6.1-py3.9.egg (158.9 kB view details)

Uploaded Source

pyams_security-1.6.1-py3.8.egg (158.9 kB view details)

Uploaded Source

pyams_security-1.6.1-py3.7.egg (158.5 kB view details)

Uploaded Source

pyams_security-1.6.1-py3-none-any.whl (99.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyams_security-1.6.1.tar.gz
  • Upload date:
  • Size: 59.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10

File hashes

Hashes for pyams_security-1.6.1.tar.gz
Algorithm Hash digest
SHA256 3e9bfbc24d4dc2e57cdf637e2577121abaf91231cfc5873969dc66d4445b4a45
MD5 0dea4af04a51d5d52f679d4bda5f58fb
BLAKE2b-256 83dd7e92077285d366d5e132dfd8c96597127ec64bdfdcd29bfeda4ad092afce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyams_security-1.6.1-py3.9.egg
  • Upload date:
  • Size: 158.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for pyams_security-1.6.1-py3.9.egg
Algorithm Hash digest
SHA256 fa574735eded16a596666f6f0515ed79a8acaf0ed3d5f88b4c96ba4286d73fd6
MD5 b67f9bec731449895dbfa7c5b5aaaa39
BLAKE2b-256 1fd341f1d93c2686c12fbde9cd0df199d200da4f3297f6d75fb5197d567cf818

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyams_security-1.6.1-py3.8.egg
  • Upload date:
  • Size: 158.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pyams_security-1.6.1-py3.8.egg
Algorithm Hash digest
SHA256 b2b2c299f1f7f181c2f9a38fe19e6a08efa9787207cff2370aefe99e7e760c86
MD5 a9840009a457a67b1133bef1e62b4e5b
BLAKE2b-256 5ebde2f619bc71175ac69145c97c51332c723abb8f0c3168ac08c3b2ae973677

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyams_security-1.6.1-py3.7.egg
  • Upload date:
  • Size: 158.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10

File hashes

Hashes for pyams_security-1.6.1-py3.7.egg
Algorithm Hash digest
SHA256 b1ec02660acfd4f1d2bb0d6d8b5fd41b3a904501787f5596456e5adc8d3c7dc6
MD5 718c8374803c309118687de68e8b8609
BLAKE2b-256 d02b0613936b73d2c7390d782fdab6e849755b6230aee397187bc6e6acb715da

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyams_security-1.6.1-py3-none-any.whl
  • Upload date:
  • Size: 99.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10

File hashes

Hashes for pyams_security-1.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bcde3131c17215cc044e3e41d83ffa30d8d2496d00012919cb499935a3a042c3
MD5 2b95f18d406e5b51e39f431c4b43900d
BLAKE2b-256 944ab3160fd1a15aa50c1e17598863ec293bdc2d2935a8d8d9d315ba793134a0

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