Skip to main content

SAML 2.0 implementation for the NERC DataGrid based on the Java OpenSAML library

Project description

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

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

ndg_saml-0.8.0.tar.gz (110.3 kB view details)

Uploaded Source

File details

Details for the file ndg_saml-0.8.0.tar.gz.

File metadata

  • Download URL: ndg_saml-0.8.0.tar.gz
  • Upload date:
  • Size: 110.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ndg_saml-0.8.0.tar.gz
Algorithm Hash digest
SHA256 d8cdbf9dcd960e4eb99c42d2f13eccab42b5c50a42b93691b18e710f2cfe0f1e
MD5 705de5069a322fef3b38962bb0286f38
BLAKE2b-256 c41cb567eda4f7484d444b585a955304b771ca6047e11083322713d65f058631

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