- Timestamp:
- 25/06/10 12:23:09 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI12-security/trunk/ndg_xacml/ndg/xacml/core/context/pdp.py
r7064 r7087 1 1 """NDG XACML Policy Decision Point type definition 2 2 3 NERC DataGrid Project3 NERC DataGrid 4 4 """ 5 5 __author__ = "P J Kershaw" … … 20 20 """A XACML Policy Decision Point implementation. It supports the use of a 21 21 single policy but not policy sets 22 23 @ivar __policy: policy object for PDP to use to apply access control 24 decisions 25 @type policy: ndg.xacml.core.policy.Policy / None 22 26 """ 23 27 __slots__ = ('__policy',) … … 49 53 @property 50 54 def policy(self): 51 """policy object for PDP to use to apply access control decisions""" 55 """Get policy 56 @return: policy object for PDP to use to apply access control decisions 57 @rtype: ndg.xacml.core.policy.Policy 58 """ 52 59 return self.__policy 53 60 54 61 @policy.setter 55 62 def policy(self, value): 56 '''policy object for PDP to use to apply access control decisions''' 63 '''Set policy 64 @param value: policy object for PDP to use to apply access control 65 decisions 66 @type policy: ndg.xacml.core.policy.Policy 67 ''' 57 68 if not isinstance(value, Policy): 58 69 raise TypeError('Expecting %r derived type for "policy" input; got '
Note: See TracChangeset
for help on using the changeset viewer.