source: TI12-security/trunk/NDG_XACML/ndg/xacml/action.py @ 6740

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/NDG_XACML/ndg/xacml/action.py@6740
Revision 6740, 634 bytes checked in by pjkersha, 10 years ago (diff)
  • fixed import paths changing to new ndg.xacml
  • added unit test package
Line 
1"""NDG XACML Action type definition
2
3NERC DataGrid Project
4"""
5__author__ = "P J Kershaw"
6__date__ = "16/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 import RequestPropertyBase
13from ndg.xacml.match import ActionMatch
14
15
16class Action(RequestPropertyBase):
17    MATCH_TYPE = ActionMatch
18    ELEMENT_LOCAL_NAME = 'Action'
19   
20    __slots__ = ()
21   
22    @property
23    def actionMatches(self):
24        return self.matches
Note: See TracBrowser for help on using the repository browser.