Ignore:
Timestamp:
16/03/10 10:45:01 (10 years ago)
Author:
pjkersha
Message:

Work on XACML !ETree based parsing. Added first basic unit test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/NDGSecurity/python/ndg_security_common/ndg/security/common/authz/xacml/policy.py

    r6730 r6731  
    4040class Policy(PolicyComponent): 
    4141    """NDG MSI Policy."""  
     42    DEFAULT_XACML_VERSION = "1.0" 
     43    ELEMENT_LOCAL_NAME = "Policy" 
    4244    POLICY_ID_ATTRIB_NAME = "PolicyId" 
    4345    RULE_COMBINING_ALG_ID_ATTRIB_NAME = "RuleCombiningAlgId" 
    44        
    45     DESCRIPTION_LOCALNAME = "Description" 
    46     TARGET_LOCALNAME = "Target" 
    47     POLICY_DEFAULTS_LOCALNAME = "PolicyDefaults" 
    48     OBLIGATIONS_LOCALNAME = "Obligations" 
    49     RULE_LOCALNAME = "Rule" 
     46    VERSION_ATTRIB_NAME = "Version" 
     47 
     48    DESCRIPTION_LOCAL_NAME = "Description" 
     49    POLICY_DEFAULTS_LOCAL_NAME = "PolicyDefaults" 
     50    COMBINER_PARAMETERS_LOCAL_NAME = "CombinerParameters" 
     51    RULE_COMBINER_PARAMETERS_LOCAL_NAME = "RuleCombinerParameters" 
     52    OBLIGATIONS_LOCAL_NAME = "Obligations" 
    5053     
    5154    # Plan to support permit overrides in a future release 
Note: See TracChangeset for help on using the changeset viewer.