Ignore:
Timestamp:
18/03/10 16:09:25 (10 years ago)
Author:
pjkersha
Message:

Working rule1 example parsing, working on rule2 which contains a target resource.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/NDG_XACML/ndg/xacml/parsers/etree/resourcereader.py

    r6746 r6751  
    1 ''' 
    2 Created on 16 Mar 2010 
     1"""NDG XACML ElementTree based Resource Element reader  
    32 
    4 @author: pjkersha 
    5 ''' 
    6  
    7 class ResourceReader(object): 
    8     ''' 
    9     classdocs 
    10     ''' 
     3NERC DataGrid Project 
     4""" 
     5__author__ = "P J Kershaw" 
     6__date__ = "18/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.resource import Resource 
     13from ndg.xacml.parsers.etree.subjectreader import AbstractTargetChildReader 
    1114 
    1215 
    13     def __init__(selfparams): 
    14         ''' 
    15         Constructor 
    16         ''' 
    17          
     16class ResourceReader(AbstractTargetChildReader): 
     17    '''ElementTree based XACML Rule parser 
     18    @cvar TYPE: XACML type to instantiate from parsed object 
     19    @type string: type 
     20    ''' 
     21    TYPE = Resource 
     22      
Note: See TracChangeset for help on using the changeset viewer.