[6746] | 1 | #!/usr/bin/env python |
---|
| 2 | |
---|
[6796] | 3 | """NDG XACML |
---|
[6746] | 4 | |
---|
[7087] | 5 | NERC DataGrid |
---|
[6746] | 6 | """ |
---|
| 7 | __author__ = "P J Kershaw" |
---|
[6796] | 8 | __date__ = "16/03/10" |
---|
| 9 | __copyright__ = "(C) 2010 Science and Technology Facilities Council" |
---|
[6746] | 10 | __license__ = "BSD - see LICENSE file in top-level directory" |
---|
| 11 | __contact__ = "Philip.Kershaw@stfc.ac.uk" |
---|
[7064] | 12 | __revision__ = '$Id$' |
---|
[6746] | 13 | |
---|
| 14 | # Bootstrap setuptools if necessary. |
---|
| 15 | from ez_setup import use_setuptools |
---|
| 16 | use_setuptools() |
---|
| 17 | from setuptools import setup, find_packages |
---|
| 18 | |
---|
[6796] | 19 | _longDescription = """\ |
---|
[7110] | 20 | XACML 2.0 implementation for CEDA (the Centre for Environmental Data Archival) |
---|
| 21 | STFC, Rutherford Appleton Laboratory. This is follow on work from the NERC |
---|
| 22 | (Natural Environment Research Council) DataGrid 3 Project. |
---|
[6746] | 23 | |
---|
[7113] | 24 | XACML (eXtensible Access Control Mark-up Language), is an XML based language for |
---|
| 25 | expressing access control policies. |
---|
| 26 | |
---|
| 27 | See: http://www.oasis-open.org/committees/xacml/ |
---|
| 28 | |
---|
[7447] | 29 | |
---|
[7445] | 30 | Release 0.3 |
---|
[7447] | 31 | |
---|
[7445] | 32 | Includes important fixes for equals functions, and improvement to at least one |
---|
| 33 | member functions. Unit tests improved with wider coverage of different rule |
---|
| 34 | definitions and example request contexts. |
---|
| 35 | |
---|
| 36 | Improved and added to support for context handler and Policy Information Point |
---|
| 37 | interfaces including the ability for the PDP to call back to a PIP via a |
---|
| 38 | Context handler to retrieve additional subject attributes. |
---|
| 39 | |
---|
[7447] | 40 | |
---|
[7445] | 41 | Release 0.2 |
---|
[7447] | 42 | |
---|
[7110] | 43 | Only the parts of the specification immediately required for CEDA have been |
---|
| 44 | implemented in this initial release: |
---|
[7114] | 45 | Policy Decision Point; |
---|
| 46 | Deny overrides and Permit overrides rule combining algorithms; |
---|
| 47 | AttributeDesignators; |
---|
| 48 | various function types: see ndg.xacml.core.functions; |
---|
| 49 | and attribute types: see ndg.xacml.core.attribute; |
---|
| 50 | incomplete support for <AttributeSelector>s, <VariableReference>, |
---|
| 51 | <VariableDefinition>. <Obligations>; |
---|
| 52 | includes an ElementTree based parser for Policies. No support for writing |
---|
| 53 | out policies or read/write of XML representation of <Request> and <Response>; |
---|
[6796] | 54 | |
---|
[7110] | 55 | See ndg.xacml.test for unit tests and examples. |
---|
| 56 | |
---|
| 57 | The software follows a modular structure to allow it to be extended easily to |
---|
| 58 | include new parsers, functions and attribute types |
---|
[7445] | 59 | |
---|
[6746] | 60 | """ |
---|
| 61 | |
---|
| 62 | setup( |
---|
[7110] | 63 | name = 'ndg_xacml', |
---|
[7448] | 64 | version = '0.3.1', |
---|
[6796] | 65 | description = 'XACML 2.0 implementation for the NERC DataGrid', |
---|
[6746] | 66 | long_description = _longDescription, |
---|
| 67 | author = 'Philip Kershaw', |
---|
| 68 | author_email = 'Philip.Kershaw@stfc.ac.uk', |
---|
| 69 | maintainer = 'Philip Kershaw', |
---|
| 70 | maintainer_email = 'Philip.Kershaw@stfc.ac.uk', |
---|
[7110] | 71 | url = 'http://proj.badc.rl.ac.uk/ndg/wiki/Security/XACML', |
---|
[6746] | 72 | license = 'BSD - See LICENCE file for details', |
---|
[6796] | 73 | # install_requires = [], |
---|
[6746] | 74 | dependency_links = ["http://ndg.nerc.ac.uk/dist"], |
---|
| 75 | packages = find_packages(), |
---|
| 76 | namespace_packages = ['ndg'], |
---|
[7111] | 77 | package_data = { |
---|
| 78 | 'ndg.xacml.core': ['documentation/Makefile'], |
---|
| 79 | 'ndg.xacml.test': ['*.xml'], |
---|
| 80 | }, |
---|
[7110] | 81 | entry_points = None, |
---|
| 82 | test_suite = 'ndg.xacml.test', |
---|
| 83 | zip_safe = False, |
---|
| 84 | classifiers = [ |
---|
| 85 | 'Development Status :: 3 - Alpha', |
---|
| 86 | 'Environment :: Console', |
---|
| 87 | 'Environment :: Web Environment', |
---|
| 88 | 'Intended Audience :: Developers', |
---|
| 89 | 'Intended Audience :: System Administrators', |
---|
| 90 | 'Intended Audience :: Science/Research', |
---|
| 91 | 'License :: OSI Approved :: BSD License', |
---|
| 92 | 'Natural Language :: English', |
---|
| 93 | 'Operating System :: Microsoft :: Windows', |
---|
| 94 | 'Operating System :: POSIX :: Linux', |
---|
| 95 | 'Programming Language :: Python', |
---|
| 96 | 'Topic :: Security', |
---|
| 97 | 'Topic :: Internet', |
---|
| 98 | 'Topic :: Scientific/Engineering', |
---|
| 99 | 'Topic :: System :: Distributed Computing', |
---|
| 100 | 'Topic :: Software Development :: Libraries :: Python Modules' |
---|
| 101 | ] |
---|
[6746] | 102 | ) |
---|