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

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg-security/TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/subject.py@6731
Revision 6731, 379 bytes checked in by pjkersha, 11 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 SubjectMatch
8
9class Subject(RequestPropertyBase):
10    MATCH_TYPE = SubjectMatch
11    ELEMENT_LOCAL_NAME = 'Subject'
12   
13    __slots__ = ()
14   
15    @property
16    def subjectMatches(self):
17        return self.matches
Note: See TracBrowser for help on using the repository browser.