Skip to main content

SAML 2.0 implementation for use with the Earth System Grid Federation Attribute and Authorisation Query interfaces. The implementation is based on the Java OpenSAML libraries. An implementation is provided with ElementTree but it can easily be extended to use other Python XML parsers.

Releases

0.8.3

  • Minor fixes for PyOpenSSL imports

0.8.2

  • Allow for authorisation decision query response not setting Action namespace correctly. - Accept response with warning.

0.8.1

  • Fixes for SAML response processing - allow for more liberal check of response type and for case for status message value not returned

0.8.0

  • Re-factored to use ndg-httpsclient for client HTTP calls in place of M2Crypto.

  • decoupled SAML bindings classes from types.

0.7.0

  • add command line script for making attribute and authorisation decision query client calls.

0.6.0

  • added support for SAML 2.0 profile of XACML v2.0 (http://docs.oasis-open.org/xacml/2.0/access_control-xacml-2.0-saml-profile-spec-os.pdf), specifically the SAML request extensions: XACMLAuthzDecisionQuery and XACMLAuthzDecisionStatement. This an alternative to the SAML defined AuthzDecisionQuery. It enables a richer functionality for expressing queries and authorisation decisions taking advantage of the full capabilities of a XACML PDP.

  • fixed bug in SAML SOAP binding code: RequestBaseSOAPBinding and derived classes to act as a query factory, instead of container, for thread safety.

    Thanks to Richard Wilkinson for these contributions.

0.5.5

  • allow passing a client certificate chain in client HTTPS requests

0.5.4

  • fix for ndg.saml.saml2.binding.soap.server.wsgi.queryinterface.SOAPQueryInterfaceMiddleware: bug in issuerFormat property setter - setting issuerName value.

0.5.3

  • fix for ndg.soap.utils.etree.prettyPrint for undeclared Nss.

0.5.2

  • fix for applying clock skew property in queryinterface WSGI middleware, and various minor fixes for classfactory module and m2crytpo utilities.

0.5.1

  • fix for date time parsing where no seconds fraction is present, fixed error message for InResponseTo ID check for Subject Query.

0.5

  • adds WSGI middleware and clients for SAML SOAP binding and assertion query/request profile.

It is not a complete implementation of SAML 2.0. Only those components required for the NERC DataGrid have been provided (Attribute and AuthZ Decision Query/ Response). Where possible, stubs have been provided for other classes.

Metadata

Release files for ndg-saml 0.8.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ndg-saml 0.8.3
File Size Uploaded Provenance
ndg_saml-0.8.3.tar.gz 112.6 kB Without provenance Details

Release files / ndg_saml-0.8.3.tar.gz

Download URL ndg_saml-0.8.3.tar.gz
Size 112.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f68fe7c6d0cb2980ed85c39d325643c02c2c2acebbff61e1436ff7dcc449b9f2
BLAKE2b-256 checksum
How to use checksums
1d87941fab5aa211ee94b5ac772cec9f2b64038938db208d5b292cfd12675f91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ndg-saml 0.8.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page