Ignore:
Timestamp:
25/03/10 15:22:31 (10 years ago)
Author:
pjkersha
Message:

Work on test PDP currently in unittests but will be moved into context package.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/NDG_XACML/ndg/xacml/core/match.py

    r6770 r6774  
    4444    @attributeDesignator.setter 
    4545    def attributeDesignator(self, value): 
     46        """Set match attribute designator.  Match may have an  
     47        attributeDesignator or an attributeSelector setting a designator DELETES 
     48        any attributeSelector previously set 
     49        """ 
    4650        if not isinstance(value, AttributeDesignator): 
    4751            raise TypeError('Expecting %r type for "attributeDesignator" ' 
     
    5054             
    5155        self.__attributeDesignator = value 
     56        self.__attributeSelector = None 
    5257  
    5358    @property 
     
    5762    @attributeSelector.setter 
    5863    def attributeSelector(self, value): 
     64        """Set match attribute selector.  Match may have an  
     65        attributeDesignator or an attributeSelector setting a selector DELETES 
     66        any attributeDesignator previously set 
     67        """ 
    5968        if not isinstance(value, AttributeSelector): 
    6069            raise TypeError('Expecting %r type for "matchId" ' 
     
    6372             
    6473        self.__attributeSelector = value 
     74        self.__attributeDesignator = None 
    6575                        
    6676    def _getMatchId(self): 
Note: See TracChangeset for help on using the changeset viewer.