Ignore:
Timestamp:
31/03/10 16:41:23 (10 years ago)
Author:
pjkersha
Message:

Made ndg.xacml.core.expression.Expression abstract: derived classes must implement the evaluate method used to evaluate a result in a rule condition.

File:
1 edited

Legend:

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

    r6790 r6792  
    6969             
    7070        self.__mustBePresent = value         
     71 
     72     
     73    def evaluate(self, context): 
     74        """Evaluate the result of the expression in a condition 
     75         
     76        TODO: implement this placeholder 
     77         
     78        @param context: the request context 
     79        @type context: ndg.xacml.core.context.request.Request 
     80        @return: attribute value(s) resulting from execution of this expression 
     81        in a condition 
     82        @rtype: AttributeValue/NoneType   
     83        """  
     84        return self.__value 
    7185         
    7286         
Note: See TracChangeset for help on using the changeset viewer.