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

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

Added XACML Target ElementTree based parser.

Line 
1"""NDG Security 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.security.common.authz.xacml import RequestPropertyBase
13from ndg.security.common.authz.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.