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/functions/__init__.py

    r7351 r7668  
    598598        return True  
    599599            
    600     def loadAll(self): 
    601         """Load function map with implementations from the relevant function 
    602         package""" 
     600    def loadAllCore(self): 
     601        """Load all core XACML functions""" 
    603602         
    604603        for functionNs in XacmlFunctionNames.FUNCTION_NAMES: 
     
    698697            return functionClass 
    699698 
    700  
    701          
     699# Function map singleton used by match and apply classes - add new keys to 
     700# this dictionary to enable support for custom functions 
     701functionMap = FunctionMap() 
     702         
Note: See TracChangeset for help on using the changeset viewer.