Ignore:
Timestamp:
28/10/10 16:39:24 (10 years ago)
Author:
pjkersha
Message:

Modified apply and match classes to use a FunctionMap? class singleton to enable easy addition of new function types.

File:
1 edited

Legend:

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

    r7351 r7668  
    1717from ndg.xacml.core.attributedesignator import AttributeDesignator 
    1818from ndg.xacml.core.attributeselector import AttributeSelector 
    19 from ndg.xacml.core.functions import (FunctionMap, UnsupportedStdFunctionError, 
     19from ndg.xacml.core.functions import (FunctionMap, functionMap, 
     20                                      UnsupportedStdFunctionError, 
    2021                                      UnsupportedFunctionError) 
    2122from ndg.xacml.core.context.exceptions import XacmlContextError 
     
    8283         
    8384        self.__function = None 
    84         self.__functionMap = FunctionMap() 
     85        self.__functionMap = functionMap 
    8586        self.__loadFunctionFromId = True 
    8687         
Note: See TracChangeset for help on using the changeset viewer.