Changeset 6734 for TI12-security/trunk/NDGSecurity
- Timestamp:
- 16/03/10 11:56:31 (10 years ago)
- Location:
- TI12-security/trunk/NDGSecurity/python
- Files:
-
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/__init__.py
r6730 r6734 1 """NDG Security XACML package 2 3 NERC 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: $" 12 1 13 class XACMLError(Exception): 2 14 """Base class for XACML package exception types""" -
TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/action.py
r6643 r6734 1 ''' 2 Created on 24 Feb 2010 1 """NDG Security XACML Action type definition 3 2 4 @author: pjkersha 5 ''' 3 NERC 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: $" 6 12 from ndg.security.common.authz.xacml import RequestPropertyBase 7 13 from ndg.security.common.authz.xacml.match import ActionMatch -
TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/attribute.py
r6643 r6734 1 ''' 2 Created on 25 Feb 2010 1 """NDG Security XACML attribute type definition 3 2 4 @author: pjkersha 5 ''' 3 NERC DataGrid Project 4 """ 5 __author__ = "P J Kershaw" 6 __date__ = "25/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: $" 6 12 from ndg.security.common.authz.xacml import PolicyComponent 7 13 -
TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/combinerparameter.py
r6731 r6734 1 ''' 2 Created on 16 Mar 2010 1 """NDG Security CombinerParameter type definition 3 2 4 @author: pjkersha 5 ''' 3 NERC 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: $" 6 12 7 class CombinerParameter s(object):13 class CombinerParameter(object): 8 14 ''' 9 15 classdocs 10 16 ''' 11 ELEMENT_LOCAL_NAME = "CombinerParameter s"17 ELEMENT_LOCAL_NAME = "CombinerParameter" 12 18 __slots__ = () 13 19 -
TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/condition.py
r6643 r6734 1 ''' 2 Created on 25 Feb 2010 1 """NDG Security Condition type definition 3 2 4 @author: pjkersha 5 ''' 3 NERC DataGrid Project 4 """ 5 __author__ = "P J Kershaw" 6 __date__ = "25/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: $" 6 12 from ndg.security.common.authz.xacml import PolicyComponent 7 13 -
TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/environment.py
r6731 r6734 1 ''' 2 Created on 24 Feb 2010 1 """NDG Security Environment type definition 3 2 4 @author: pjkersha 5 ''' 3 NERC 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: $" 6 12 from ndg.security.common.authz.xacml import RequestPropertyBase 7 13 from ndg.security.common.authz.xacml.match import EnvironmentMatch -
TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/match.py
r6643 r6734 1 ''' 2 Created on 25 Feb 2010 1 """NDG Security Match type definition 3 2 4 @author: pjkersha 5 ''' 3 NERC DataGrid Project 4 """ 5 __author__ = "P J Kershaw" 6 __date__ = "25/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: $" 6 12 from ndg.security.common.authz.xacml import PolicyComponent 7 13 from ndg.security.common.authz.xacml.attribute import AttributeValue -
TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/obligation.py
r6621 r6734 1 ''' 2 Created on 24 Feb 2010 1 """NDG Security Obligation type definition 3 2 4 @author: pjkersha 5 ''' 3 NERC 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: $" 6 12 from ndg.security.common.utils import TypedList 7 13 from ndg.security.common.authz.xacml import PolicyComponent -
TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/pap.py
r6643 r6734 1 ''' 2 Created on 25 Feb 2010 1 """NDG Security Policy Access Point type definition 3 2 4 @author: pjkersha 5 ''' 3 NERC DataGrid Project 4 """ 5 __author__ = "P J Kershaw" 6 __date__ = "25/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: $" -
TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/parsers/__init__.py
r6731 r6734 1 """NDG Security XACML parsers package 2 3 NERC DataGrid Project 4 """ 5 __author__ = "P J Kershaw" 6 __date__ = "15/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: $" 12 import logging 13 log = logging.getLogger(__name__) 14 from abc import ABCMeta, abstractmethod 15 16 from xml.etree import ElementTree 17 18 19 class AbstractReader: 20 """Abstract base class for ElementTree implementation of XACML reader""" 21 __metaclass__ = ABCMeta 22 23 @classmethod 24 def __subclasshook__(cls, C): 25 """Derived class must implement __call__""" 26 if cls is AbstractReader: 27 if any("__call__" in B.__dict__ for B in C.__mro__): 28 return True 29 30 return NotImplemented 31 32 @abstractmethod 33 def __call__(self, obj): 34 """Abstract Parse XACML method 35 @raise NotImplementedError: 36 """ 37 raise NotImplementedError() 38 39 @classmethod 40 def parse(cls, obj): 41 """Parse from input object and return new XACML object 42 @param obj: input source - file name, stream object or other 43 @type obj: string, stream or other 44 @return: new XACML object 45 @rtype: PolicyComponent sub type 46 """ 47 reader = cls() 48 return reader(obj) -
TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/parsers/etree/__init__.py
r6733 r6734 1 """NDG Security XACML ElementTree parsers package 2 3 NERC 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: $" 12 import logging 13 log = logging.getLogger(__name__) 14 1 15 from xml.etree import ElementTree 2 16 -
TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/parsers/etree/policyreader.py
r6733 r6734 1 ''' 2 Created on 16 Mar 2010 1 """NDG Security XACML ElementTree Policy Reader 3 2 4 @author: pjkersha 5 ''' 6 from ndg.security.common.authz.xacml.etree.reader import AbstractReader 7 from ndg.security.common.authz.xacml import PolicyComponent, XMLParseError 3 NERC 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: $" 12 from ndg.security.common.authz.xacml.parsers.etree.reader import \ 13 EtreeAbstractReader 14 from ndg.security.common.authz.xacml import XMLParseError 8 15 from ndg.security.common.authz.xacml.policy import Policy 9 16 from ndg.security.common.authz.xacml.variabledefinition import \ … … 11 18 from ndg.security.common.authz.xacml.rule import Rule 12 19 from ndg.security.common.authz.xacml.target import Target 13 from ndg.security.common.authz.xacml.etree import QName 14 from ndg.security.common.authz.xacml.etree.targetreader import TargetReader 20 from ndg.security.common.authz.xacml.parsers.etree import QName 21 from ndg.security.common.authz.xacml.parsers.etree.targetreader import \ 22 TargetReader 15 23 16 24 17 class PolicyReader( AbstractReader):25 class PolicyReader(EtreeAbstractReader): 18 26 """Parse a Policy Document using ElementTree 19 27 """ … … 62 70 63 71 elif localName == Target.ELEMENT_LOCAL_NAME: 64 target = TargetReader.parse(childElem)72 policy.target = TargetReader.parse(childElem) 65 73 66 74 elif localName == cls.COMBINER_PARAMETERS_LOCAL_NAME: … … 74 82 75 83 elif localName == Rule.ELEMENT_LOCAL_NAME: 76 rule = RuleReader.parse(childElem)84 policy.rules.append(RuleReader.parse(childElem)) 77 85 78 86 elif localName == cls.OBLIGATIONS_LOCAL_NAME: -
TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/parsers/etree/reader.py
r6733 r6734 6 6 import logging 7 7 log = logging.getLogger(__name__) 8 from abc import ABCMeta, abstractmethod 8 """NDG Security XACML ElementTree reader module containing reader base class 9 9 10 NERC DataGrid Project 11 """ 12 __author__ = "P J Kershaw" 13 __date__ = "16/03/10" 14 __copyright__ = "(C) 2010 Science and Technology Facilities Council" 15 __contact__ = "Philip.Kershaw@stfc.ac.uk" 16 __license__ = "BSD - see LICENSE file in top-level directory" 17 __contact__ = "Philip.Kershaw@stfc.ac.uk" 18 __revision__ = "$Id: $" 10 19 from xml.etree import ElementTree 11 20 21 from ndg.security.common.authz.xacml import PolicyComponent 22 from ndg.security.common.authz.xacml.parsers import AbstractReader 12 23 13 class AbstractReader: 14 """Abstract base class for ElementTree implementation of XACML reader""" 15 __metaclass__ = ABCMeta24 25 class EtreeAbstractReader(AbstractReader): 26 """Base class for ElementTree implementation of XACML reader""" 16 27 17 28 def __init__(self): … … 22 33 """Restore original global namespace map""" 23 34 ElementTree._namespace_map = self.__namespace_map_backup 24 25 @classmethod26 def __subclasshook__(cls, C):27 """Derived class must implement __call__"""28 if cls is AbstractReader:29 if any("__call__" in B.__dict__ for B in C.__mro__):30 return True31 32 return NotImplemented33 34 @abstractmethod35 def __call__(self, obj):36 """Abstract Parse XACML method37 @raise NotImplementedError:38 """39 raise NotImplementedError()40 41 @classmethod42 def parse(cls, obj):43 """Parse from input object and return new XACML object"""44 reader = cls()45 return reader(obj)46 35 47 36 @staticmethod … … 60 49 61 50 return elem 62 63 64 class RuleReader(object): 65 def __call__(self, obj): 66 pass 51 52 # Set up new class as an abstract base itself 53 AbstractReader.register(EtreeAbstractReader) 67 54 68 #AbstractReader.register(RuleReader)69 55 70 56 class VariableDefinitionReader(object): -
TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/parsers/etree/targetreader.py
r6733 r6734 1 ''' 2 Created on 16 Mar 2010 1 """NDG Security XACML ElementTree based Target Element reader 3 2 4 @author: pjkersha 5 ''' 3 NERC 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: $" 6 12 from ndg.security.common.authz.xacml import XMLParseError 13 from ndg.security.common.authz.xacml.target import Target 7 14 from ndg.security.common.authz.xacml.action import Action 8 15 from ndg.security.common.authz.xacml.resource import Resource 9 16 from ndg.security.common.authz.xacml.subject import Subject 10 17 from ndg.security.common.authz.xacml.environment import Environment 11 from ndg.security.common.authz.xacml.etree.reader import AbstractReader 18 from ndg.security.common.authz.xacml.parsers.etree import QName 19 from ndg.security.common.authz.xacml.parsers.etree.reader import \ 20 EtreeAbstractReader 12 21 13 22 14 class TargetReader( AbstractReader):23 class TargetReader(EtreeAbstractReader): 15 24 """ElementTree based parser for XACML Target elements""" 16 25 … … 44 53 else: 45 54 raise XMLParseError("XACML Target child element name %r not " 46 "recognised" % localName) 55 "recognised" % localName) 56 57 return target -
TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/parsers/etree/writer.py
r6730 r6734 1 ''' 2 Created on 15 Mar 2010 1 """NDG Security XACML ElementTree writer base module 3 2 4 @author: pjkersha 5 ''' 3 NERC 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: $" -
TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/pdp.py
r6643 r6734 1 ''' 2 Created on 25 Feb 2010 1 """NDG Security Policy Decision Point type definition 3 2 4 @author: pjkersha 5 ''' 3 NERC DataGrid Project 4 """ 5 __author__ = "P J Kershaw" 6 __date__ = "25/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: $" 12 -
TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/pip.py
r6643 r6734 1 ''' 2 Created on 25 Feb 2010 1 """NDG Security Policy Information Point type definition 3 2 4 @author: pjkersha 5 ''' 3 NERC DataGrid Project 4 """ 5 __author__ = "P J Kershaw" 6 __date__ = "25/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: $" -
TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/policy.py
r6731 r6734 1 ''' 2 Created on 24 Feb 2010 3 4 @author: pjkersha 5 ''' 1 """NDG Security Policy type definition 2 3 NERC 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: $" 6 12 from ndg.security.common.utils import TypedList 7 13 from ndg.security.common.authz.xacml import PolicyComponent 14 from ndg.security.common.authz.xacml.target import Target 8 15 from ndg.security.common.authz.xacml.rule import Rule 9 16 from ndg.security.common.authz.xacml.obligation import Obligation … … 147 154 return self.__obligations 148 155 149 def _getTargets(self): 150 return self.__targets 151 152 def _setTargets(self, value): 153 if (not isinstance(value, TypedList) and 154 not issubclass(value.elementType, Target.__class__)): 155 raise TypeError('Expecting TypedList(Target) for "targets" ' 156 'attribute; got %r' % type(value)) 157 self.__targets = value 158 159 targets = property(_getTargets, _setTargets, 160 doc="list of Policy targets") 156 def _getTarget(self): 157 return self.__target 158 159 def _setTarget(self, value): 160 if not isinstance(value, Target): 161 raise TypeError('Expecting Target for "target" ' 162 'attribute; got %r' % type(value)) 163 self.__target = value 164 165 target = property(_getTarget, _setTarget, doc="list of Policy targets") 161 166 162 167 def _getDescription(self): -
TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/resource.py
r6731 r6734 1 ''' 2 Created on 24 Feb 2010 1 """NDG Security Resource type definition 3 2 4 @author: pjkersha 5 ''' 3 NERC 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: $" 6 12 from ndg.security.common.authz.xacml import RequestPropertyBase 7 13 from ndg.security.common.authz.xacml.match import ResourceMatch -
TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/rule.py
r6643 r6734 1 ''' 2 Created on 24 Feb 2010 1 """NDG Security Rule type definition 3 2 4 @author: pjkersha 5 ''' 3 NERC DataGrid Project 4 """ 5 __author__ = "P J Kershaw" 6 __date__ = "25/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: $" 6 12 from ndg.security.common.utils import TypedList 7 13 from ndg.security.common.authz.xacml import PolicyComponent -
TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/subject.py
r6731 r6734 1 ''' 2 Created on 24 Feb 2010 1 """NDG Security Subject type definition 3 2 4 @author: pjkersha 5 ''' 3 NERC 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: $" 6 12 from ndg.security.common.authz.xacml import RequestPropertyBase 7 13 from ndg.security.common.authz.xacml.match import SubjectMatch -
TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/target.py
r6731 r6734 5 5 ''' 6 6 from ndg.security.common.utils import TypedList 7 """NDG Security Target type definition 8 9 NERC DataGrid Project 10 """ 11 __author__ = "P J Kershaw" 12 __date__ = "25/02/10" 13 __copyright__ = "(C) 2010 Science and Technology Facilities Council" 14 __contact__ = "Philip.Kershaw@stfc.ac.uk" 15 __license__ = "BSD - see LICENSE file in top-level directory" 16 __contact__ = "Philip.Kershaw@stfc.ac.uk" 17 __revision__ = "$Id: $" 7 18 from ndg.security.common.authz.xacml import PolicyComponent 8 19 from ndg.security.common.authz.xacml.action import Action … … 15 26 ELEMENT_LOCAL_NAME = "Target" 16 27 17 __slots__ = ('__actions', '_ resources', '__actions', '__environments')28 __slots__ = ('__actions', '__resources', '__actions', '__environments') 18 29 19 30 def __init__(self): 20 31 self.__actions = TypedList(Subject) 21 32 self.__resources = TypedList(Resource) 22 self.__actions = TypedList(Action s)33 self.__actions = TypedList(Action) 23 34 self.__environments = TypedList(Environment) 24 35 -
TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/variabledefinition.py
r6731 r6734 1 ''' 2 Created on 16 Mar 2010 1 """NDG Security Variable Definition type definition 3 2 4 @author: pjkersha 5 ''' 3 NERC DataGrid Project 4 """ 5 __author__ = "P J Kershaw" 6 __date__ = "25/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: $" 6 12 7 13 class VariableDefinition(object): -
TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/authz/xacml/test_xacml.py
r6731 r6734 7 7 from os import path 8 8 9 from ndg.security.common.authz.xacml.etree.parsers.policyreader import PolicyReader 9 from ndg.security.common.authz.xacml.parsers.etree.policyreader import \ 10 PolicyReader 10 11 11 12 class XACMLTestCase(unittest.TestCase):
Note: See TracChangeset
for help on using the changeset viewer.