source: TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/resource.py @ 6731

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/resource.py@6731
Revision 6731, 386 bytes checked in by pjkersha, 10 years ago (diff)

Work on XACML !ETree based parsing. Added first basic unit test.

Line 
1'''
2Created on 24 Feb 2010
3
4@author: pjkersha
5'''
6from ndg.security.common.authz.xacml import RequestPropertyBase
7from ndg.security.common.authz.xacml.match import ResourceMatch
8
9
10class Resource(RequestPropertyBase):
11    MATCH_TYPE = ResourceMatch
12    ELEMENT_LOCAL_NAME = 'Resource'
13   
14    __slots__ = ()
15   
16    @property
17    def resourceMatches(self):
18        return self.matches
Note: See TracBrowser for help on using the repository browser.