source: TI12-security/trunk/ndg_xacml/ndg/xacml/parsers/etree/subjectmatchreader.py @ 7109

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/ndg_xacml/ndg/xacml/parsers/etree/subjectmatchreader.py@7109
Revision 7109, 979 bytes checked in by pjkersha, 10 years ago (diff)

Incomplete - task 2: XACML-Security Integration

  • updating epydoc ready for release.
  • Property svn:keywords set to Id
Line 
1"""NDG XACML ElementTree based reader for subject match type
2
3NERC DataGrid
4"""
5__author__ = "P J Kershaw"
6__date__ = "16/03/10"
7__copyright__ = "(C) 2010 Science and Technology Facilities Council"
8__contact__ = "Philip.Kershaw@stfc.ac.uk"
9__license__ = "BSD - see LICENSE file in top-level directory"
10__contact__ = "Philip.Kershaw@stfc.ac.uk"
11__revision__ = "$Id$"
12from ndg.xacml.core.match import SubjectMatch
13from ndg.xacml.core.attributedesignator import SubjectAttributeDesignator
14from ndg.xacml.parsers.etree.matchreader import MatchReaderBase
15
16
17class SubjectMatchReader(MatchReaderBase):
18    """ElementTree based parser for XACML SubjectMatch
19   
20    @cvar TYPE: XACML class type that this reader will read values into
21    @type TYPE: abc.ABCMeta
22   
23    @cvar ATTRIBUTE_DESIGNATOR_TYPE: type for attribute designator sub-elements
24    @type ATTRIBUTE_DESIGNATOR_TYPE: abc.ABCMeta
25    """
26    TYPE = SubjectMatch
27    ATTRIBUTE_DESIGNATOR_TYPE = SubjectAttributeDesignator
Note: See TracBrowser for help on using the repository browser.