source: TI12-security/trunk/ndg_xacml/setup.py @ 7706

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/ndg_xacml/setup.py
Revision 7706, 4.2 KB checked in by pjkersha, 10 years ago (diff)

Release 0.4.0

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