source: TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/environment.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/environment.py@6731
Revision 6731, 401 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 EnvironmentMatch
8
9
10class Environment(RequestPropertyBase):
11    MATCH_TYPE = EnvironmentMatch
12    ELEMENT_LOCAL_NAME = 'Environment'
13   
14    __slots__ = ()
15   
16    @property
17    def environmentMatches(self):
18        return self.matches
Note: See TracBrowser for help on using the repository browser.