Skip to main content
XACML 2.0 implementation for CEDA (the Centre for Environmental Data Archival)
STFC, Rutherford Appleton Laboratory. This is follow on work from the NERC
(Natural Environment Research Council) DataGrid 3 Project.

XACML (eXtensible Access Control Mark-up Language), is an XML based language for
expressing access control policies.

See: http://www.oasis-open.org/committees/xacml/

Release 0.5.1
-------------
* Added MANIFEST.in to fix missing policy files in test area
* fixed epydoc mark-up

Release 0.5.0
-------------
Major enhancements including additional language features and support for lxml:

* Optional support for lxml as alternative to ElementTree - gives better Xpath support
* Added concatenate functions and custom functions for URL encoding and MD5 hash custom functions.
* Added support for language features:
- 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)
- AttributeSelectors
- PolicySets.
- first-applicable rule combining algorithm
- Incorporated NOT and modified AND functions (from Prashant Kediyal).
* Support for adding custom functions with ndg.xacml.core.functions.FunctionMap.load_custom_function
* Fix for ticket:1130 and related bug
- In ndg.xacml.core.target.Target._matchChild, all SubjectMatches within a
Subject must evaluate to true for an overall match for the Subject (and
similarly for Resource, Action and Environment).
- In ndg.xacml.core.match.MatchBase, matching of the attribute value for a
SubjectMatch with any of the values for the selected attribute of the Subject
should result in an overall match (and similarly for Resource, Action and
Environment).

Release 0.4.0
-------------
Added support for custom DataTypes and functions. e.g.

# Add attribute value type
AttributeValueClassFactory.addClass('<my new type uri',
MyAttributeValueClass)

# ...and new parser for this type
DataTypeReaderClassFactory.addReader('<my new type uri',
ETreeMyDataTypeReaderClass)

# Add new function
functionMap['<my function type uri'] = MyNewFunctionClass

Release 0.3
-----------
Includes important fixes for equals functions, and improvement to at least one
member functions. Unit tests improved with wider coverage of different rule
definitions and example request contexts.

Improved and added to support for context handler and Policy Information Point
interfaces including the ability for the PDP to call back to a PIP via a
Context handler to retrieve additional subject attributes.

Release 0.2
-----------
Only the parts of the specification immediately required for CEDA have been
implemented in this initial release:
Policy Decision Point;
Deny overrides and Permit overrides rule combining algorithms;
AttributeDesignators;
various function types: see ndg.xacml.core.functions;
and attribute types: see ndg.xacml.core.attribute;
incomplete support for <AttributeSelector>s, <VariableReference>,
<VariableDefinition>. <Obligations>;
includes an ElementTree based parser for Policies. No support for writing
out policies or read/write of XML representation of <Request> and <Response>;

See ndg.xacml.test for unit tests and examples.

The software follows a modular structure to allow it to be extended easily to
include new parsers, functions and attribute types

Metadata

Release files for ndg-xacml 0.5.1

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-xacml 0.5.1
File Size Uploaded Provenance
ndg_xacml-0.5.1.tar.gz 239.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ndg-xacml 0.5.1
File Interpreter ABI Platform
ndg_xacml-0.5.1-py2.7.egg Legacy Egg format - - Details

Total release size: 845.4 kB

Release files / ndg_xacml-0.5.1.tar.gz

Download URL ndg_xacml-0.5.1.tar.gz
Size 239.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4c8e1857e3963fea533f0862ef866442ef6a4484b510e3ecb37241bf8188542e
BLAKE2b-256 checksum
How to use checksums
640d15a7f53b29e9d0163594a7aaf21c4f2e5a31246c3ecffe1eebb5f07ef681
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ndg_xacml-0.5.1-py2.7.egg

Download URL ndg_xacml-0.5.1-py2.7.egg
Size 606.1 kB
Tags Egg
SHA-256 checksum
How to use checksums
1eaaa1ac3b9a2fa736275a15ec35ffc79b2d03db5cae9f281238afbc9fa1be59
BLAKE2b-256 checksum
How to use checksums
4236c74408952439da974b5e13dfec32a90be61ae920d6ac2e95ff8fb8020695
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ndg-xacml 0.5.1

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