Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg-security/TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/resource.py@6731
Revision 6731,
386 bytes
checked in by pjkersha, 11 years ago
(diff) |
Work on XACML !ETree based parsing. Added first basic unit test.
|
Line | |
---|
1 | ''' |
---|
2 | Created on 24 Feb 2010 |
---|
3 | |
---|
4 | @author: pjkersha |
---|
5 | ''' |
---|
6 | from ndg.security.common.authz.xacml import RequestPropertyBase |
---|
7 | from ndg.security.common.authz.xacml.match import ResourceMatch |
---|
8 | |
---|
9 | |
---|
10 | class 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.