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/test/context/test_pdp_with_custom_attributevalue_types.py

    r7666 r7668  
    1919from ndg.xacml.core.attribute import Attribute 
    2020from ndg.xacml.core.attributevalue import AttributeValueClassFactory 
    21  
     21from ndg.xacml.core.functions import functionMap 
     22from ndg.xacml.core.functions.v1.bag import BagBase 
     23from ndg.xacml.core.functions.v1.at_least_one_member_of import \ 
     24    AtLeastOneMemberOfBase  
    2225from ndg.xacml.core.context.request import Request 
    2326from ndg.xacml.core.context.subject import Subject 
    2427from ndg.xacml.core.context.resource import Resource 
    2528from ndg.xacml.core.context.action import Action 
     29 
    2630from ndg.xacml.parsers.etree.factory import ReaderFactory 
    2731from ndg.xacml.parsers.etree.attributevaluereader import ( 
     
    116120                                ETreeGroupRoleDataTypeReader) 
    117121         
     122        # Add extra matching and bag functions 
     123         
    118124        # Example policy with custom attribute value type used with ESGF  
    119125        self.pdp = PDP.fromPolicySource(XACML_ESGFTEST1_FILEPATH, ReaderFactory) 
Note: See TracChangeset for help on using the changeset viewer.