Changeset 6579 for TI12-security
- Timestamp:
- 16/02/10 16:14:17 (10 years ago)
- Location:
- TI12-security/trunk/ndg_security_saml/saml
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TI12-security/trunk/ndg_security_saml/saml/saml2/core.py
r6559 r6579 961 961 @return: the date/time on, or after, which the assertion is invalid' 962 962 ''' 963 return self.__not Before963 return self.__notOnOrAfter 964 964 965 965 def _setNotOnOrAfter(self, value): … … 980 980 doc="Not on or after time restriction") 981 981 982 def _getConditions(self): 983 '''Gets all the conditions on the assertion. 982 @property 983 def conditions(self): 984 '''All the conditions on the assertion. 984 985 985 986 @return: all the conditions on the assertion 986 987 ''' 987 988 return self.__conditions 988 989 conditions = property(fget=_getConditions,990 doc="List of conditions")991 989 992 990 def _getAudienceRestrictions(self): … … 1835 1833 1836 1834 def _setNamespace(self, value): 1837 ''' 1838 Sets the namespace scope of the specified value. 1835 '''Sets the namespace scope of the specified value. 1839 1836 1840 1837 @param value: the namespace scope of the specified value … … 1847 1844 raise AttributeError('"namespace" action type %r not recognised. ' 1848 1845 'It must be one of these action types: %r' % 1849 self.__action NsIdentifiers)1846 self.__actionTypes.keys()) 1850 1847 1851 1848 self.__namespace = value … … 1854 1851 1855 1852 def _getValue(self): 1856 ''' 1857 gets the URI of the action to be performed. 1853 '''gets the URI of the action to be performed. 1858 1854 1859 1855 @return: the URI of the action to be performed … … 1862 1858 1863 1859 def _setValue(self, value): 1864 ''' 1865 Sets the URI of the action to be performed. 1860 '''Sets the URI of the action to be performed. 1866 1861 1867 1862 @param value: the URI of the value to be performed … … 2116 2111 2117 2112 def __init__(self): 2113 super(SubjectQuery, self).__init__() 2118 2114 self.__subject = None 2119 2115 … … 2159 2155 2160 2156 def __init__(self): 2157 super(AttributeQuery, self).__init__() 2161 2158 self.__attributes = TypedList(Attribute) 2162 2159 … … 2420 2417 ) 2421 2418 2422 def __init__(self, 2423 normalizeResource=True, 2424 safeNormalizationChars='/%', 2425 **kw): 2419 def __init__(self, normalizeResource=True, safeNormalizationChars='/%'): 2426 2420 '''Create new authorisation decision query 2427 2421 ''' 2428 super(AuthzDecisionQuery, self).__init__( **kw)2422 super(AuthzDecisionQuery, self).__init__() 2429 2423 2430 2424 # Resource attribute value. -
TI12-security/trunk/ndg_security_saml/saml/xml/etree.py
r6559 r6579 559 559 560 560 attrib = { 561 cls.DECISION_ATTRIB_NAME: authzDecisionStatement.decision,561 cls.DECISION_ATTRIB_NAME: str(authzDecisionStatement.decision), 562 562 cls.RESOURCE_ATTRIB_NAME: authzDecisionStatement.resource 563 563 }
Note: See TracChangeset
for help on using the changeset viewer.