source: TI12-security/trunk/NDG_XACML/ndg/xacml/core/environment.py @ 6745

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/NDG_XACML/ndg/xacml/core/environment.py@6745
Revision 6745, 666 bytes checked in by pjkersha, 10 years ago (diff)

Moved modules into core package

Line 
1"""NDG Security Environment type definition
2
3NERC DataGrid Project
4"""
5__author__ = "P J Kershaw"
6__date__ = "24/02/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 import RequestPropertyBase
13from ndg.xacml.match import EnvironmentMatch
14
15
16class Environment(RequestPropertyBase):
17    MATCH_TYPE = EnvironmentMatch
18    ELEMENT_LOCAL_NAME = 'Environment'
19   
20    __slots__ = ()
21   
22    @property
23    def environmentMatches(self):
24        return self.matches
Note: See TracBrowser for help on using the repository browser.