Ignore:
Timestamp:
20/08/10 15:46:35 (10 years ago)
Author:
pjkersha
Message:

Incomplete - task 2: XACML-Security Integration

  • important fix to ndg.xacml.core.rule.Rule.evaluate: return NotApplicable? where Target matches but Condition does not match
  • optimised ndg.xacml.core.functions.v1.at_least_one_member_of.AtLeastOneMemberOfBase? to use set and '&' operator for this function.
  • fix to ndg.xacml.core.functions.FunctionMap?.loadFunction to catch function namespace not recognised.
File:
1 edited

Legend:

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

    r7103 r7351  
    1717from ndg.xacml.core.attributedesignator import AttributeDesignator 
    1818from ndg.xacml.core.attributeselector import AttributeSelector 
    19 from ndg.xacml.core.functions import FunctionMap 
     19from ndg.xacml.core.functions import (FunctionMap, UnsupportedStdFunctionError, 
     20                                      UnsupportedFunctionError) 
    2021from ndg.xacml.core.context.exceptions import XacmlContextError 
    21 from ndg.xacml.core.exceptions import (UnsupportedStdFunctionError, 
    22                                        UnsupportedFunctionError) 
    2322 
    2423 
     
    335334                              self.matchId) 
    336335         
    337         # Need check for len() because any([]) yields True!            
     336        # Need check for len() because all([]) yields True!            
    338337        matchStatus = (len(attrMatchStatusValues) > 0 and  
    339338                       all(attrMatchStatusValues)) 
Note: See TracChangeset for help on using the changeset viewer.