Changeset 6740


Ignore:
Timestamp:
16/03/10 12:08:07 (9 years ago)
Author:
pjkersha
Message:
  • fixed import paths changing to new ndg.xacml
  • added unit test package
Location:
TI12-security/trunk/NDG_XACML
Files:
4 added
18 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/NDG_XACML/ndg/xacml/__init__.py

    r6734 r6740  
    1 """NDG Security XACML package  
     1"""NDG XACML package  
    22 
    33NERC DataGrid Project 
  • TI12-security/trunk/NDG_XACML/ndg/xacml/action.py

    r6734 r6740  
    1 """NDG Security XACML Action type definition  
     1"""NDG XACML Action type definition  
    22 
    33NERC DataGrid Project 
     
    1010__contact__ = "Philip.Kershaw@stfc.ac.uk" 
    1111__revision__ = "$Id: $" 
    12 from ndg.security.common.authz.xacml import RequestPropertyBase 
    13 from ndg.security.common.authz.xacml.match import ActionMatch 
     12from ndg.xacml import RequestPropertyBase 
     13from ndg.xacml.match import ActionMatch 
    1414 
    1515 
  • TI12-security/trunk/NDG_XACML/ndg/xacml/attribute.py

    r6734 r6740  
    1 """NDG Security XACML attribute type definition 
     1"""NDG XACML attribute type definition 
    22 
    33NERC DataGrid Project 
     
    1010__contact__ = "Philip.Kershaw@stfc.ac.uk" 
    1111__revision__ = "$Id: $" 
    12 from ndg.security.common.authz.xacml import PolicyComponent 
     12from ndg.xacml import PolicyComponent 
    1313 
    1414 
  • TI12-security/trunk/NDG_XACML/ndg/xacml/condition.py

    r6734 r6740  
    1010__contact__ = "Philip.Kershaw@stfc.ac.uk" 
    1111__revision__ = "$Id: $" 
    12 from ndg.security.common.authz.xacml import PolicyComponent 
     12from ndg.xacml import PolicyComponent 
    1313 
    1414 
  • TI12-security/trunk/NDG_XACML/ndg/xacml/environment.py

    r6734 r6740  
    1010__contact__ = "Philip.Kershaw@stfc.ac.uk" 
    1111__revision__ = "$Id: $" 
    12 from ndg.security.common.authz.xacml import RequestPropertyBase 
    13 from ndg.security.common.authz.xacml.match import EnvironmentMatch 
     12from ndg.xacml import RequestPropertyBase 
     13from ndg.xacml.match import EnvironmentMatch 
    1414 
    1515 
  • TI12-security/trunk/NDG_XACML/ndg/xacml/match.py

    r6734 r6740  
    1010__contact__ = "Philip.Kershaw@stfc.ac.uk" 
    1111__revision__ = "$Id: $" 
    12 from ndg.security.common.authz.xacml import PolicyComponent 
    13 from ndg.security.common.authz.xacml.attribute import AttributeValue 
     12from ndg.xacml import PolicyComponent 
     13from ndg.xacml.attribute import AttributeValue 
    1414 
    1515 
  • TI12-security/trunk/NDG_XACML/ndg/xacml/obligation.py

    r6734 r6740  
    1111__revision__ = "$Id: $" 
    1212from ndg.security.common.utils import TypedList 
    13 from ndg.security.common.authz.xacml import PolicyComponent 
     13from ndg.xacml import PolicyComponent 
    1414 
    1515 
  • TI12-security/trunk/NDG_XACML/ndg/xacml/parsers/__init__.py

    r6734 r6740  
    1 """NDG Security XACML parsers package  
     1"""NDG XACML parsers package  
    22 
    33NERC DataGrid Project 
  • TI12-security/trunk/NDG_XACML/ndg/xacml/parsers/etree/__init__.py

    r6734 r6740  
    1 """NDG Security XACML ElementTree parsers package  
     1"""NDG XACML ElementTree parsers package  
    22 
    33NERC DataGrid Project 
  • TI12-security/trunk/NDG_XACML/ndg/xacml/parsers/etree/policyreader.py

    r6734 r6740  
    1 """NDG Security XACML ElementTree Policy Reader   
     1"""NDG XACML ElementTree Policy Reader   
    22 
    33NERC DataGrid Project 
     
    1010__contact__ = "Philip.Kershaw@stfc.ac.uk" 
    1111__revision__ = "$Id: $" 
    12 from ndg.security.common.authz.xacml.parsers.etree.reader import \ 
     12from ndg.xacml.parsers.etree.reader import \ 
    1313    EtreeAbstractReader 
    14 from ndg.security.common.authz.xacml import XMLParseError 
    15 from ndg.security.common.authz.xacml.policy import Policy 
    16 from ndg.security.common.authz.xacml.variabledefinition import \ 
     14from ndg.xacml import XMLParseError 
     15from ndg.xacml.policy import Policy 
     16from ndg.xacml.variabledefinition import \ 
    1717    VariableDefinition 
    18 from ndg.security.common.authz.xacml.rule import Rule 
    19 from ndg.security.common.authz.xacml.target import Target 
    20 from ndg.security.common.authz.xacml.parsers.etree import QName 
    21 from ndg.security.common.authz.xacml.parsers.etree.targetreader import \ 
     18from ndg.xacml.rule import Rule 
     19from ndg.xacml.target import Target 
     20from ndg.xacml.parsers.etree import QName 
     21from ndg.xacml.parsers.etree.targetreader import \ 
    2222    TargetReader 
    2323     
  • TI12-security/trunk/NDG_XACML/ndg/xacml/parsers/etree/reader.py

    r6734 r6740  
    66import logging 
    77log = logging.getLogger(__name__) 
    8 """NDG Security XACML ElementTree reader module containing reader base class  
     8"""NDG XACML ElementTree reader module containing reader base class  
    99 
    1010NERC DataGrid Project 
     
    1919from xml.etree import ElementTree 
    2020 
    21 from ndg.security.common.authz.xacml import PolicyComponent 
    22 from ndg.security.common.authz.xacml.parsers import AbstractReader 
     21from ndg.xacml import PolicyComponent 
     22from ndg.xacml.parsers import AbstractReader 
    2323 
    2424 
  • TI12-security/trunk/NDG_XACML/ndg/xacml/parsers/etree/targetreader.py

    r6734 r6740  
    1 """NDG Security XACML ElementTree based Target Element reader  
     1"""NDG XACML ElementTree based Target Element reader  
    22 
    33NERC DataGrid Project 
     
    1010__contact__ = "Philip.Kershaw@stfc.ac.uk" 
    1111__revision__ = "$Id: $" 
    12 from ndg.security.common.authz.xacml import XMLParseError 
    13 from ndg.security.common.authz.xacml.target import Target 
    14 from ndg.security.common.authz.xacml.action import Action 
    15 from ndg.security.common.authz.xacml.resource import Resource 
    16 from ndg.security.common.authz.xacml.subject import Subject 
    17 from ndg.security.common.authz.xacml.environment import Environment 
    18 from ndg.security.common.authz.xacml.parsers.etree import QName 
    19 from ndg.security.common.authz.xacml.parsers.etree.reader import \ 
     12from ndg.xacml import XMLParseError 
     13from ndg.xacml.target import Target 
     14from ndg.xacml.action import Action 
     15from ndg.xacml.resource import Resource 
     16from ndg.xacml.subject import Subject 
     17from ndg.xacml.environment import Environment 
     18from ndg.xacml.parsers.etree import QName 
     19from ndg.xacml.parsers.etree.reader import \ 
    2020    EtreeAbstractReader 
    2121 
  • TI12-security/trunk/NDG_XACML/ndg/xacml/parsers/etree/writer.py

    r6734 r6740  
    1 """NDG Security XACML ElementTree writer base module  
     1"""NDG XACML ElementTree writer base module  
    22 
    33NERC DataGrid Project 
  • TI12-security/trunk/NDG_XACML/ndg/xacml/policy.py

    r6734 r6740  
    1111__revision__ = "$Id: $" 
    1212from ndg.security.common.utils import TypedList 
    13 from ndg.security.common.authz.xacml import PolicyComponent 
    14 from ndg.security.common.authz.xacml.target import Target 
    15 from ndg.security.common.authz.xacml.rule import Rule 
    16 from ndg.security.common.authz.xacml.obligation import Obligation 
     13from ndg.xacml import PolicyComponent 
     14from ndg.xacml.target import Target 
     15from ndg.xacml.rule import Rule 
     16from ndg.xacml.obligation import Obligation 
    1717 
    1818 
  • TI12-security/trunk/NDG_XACML/ndg/xacml/resource.py

    r6734 r6740  
    1010__contact__ = "Philip.Kershaw@stfc.ac.uk" 
    1111__revision__ = "$Id: $" 
    12 from ndg.security.common.authz.xacml import RequestPropertyBase 
    13 from ndg.security.common.authz.xacml.match import ResourceMatch 
     12from ndg.xacml import RequestPropertyBase 
     13from ndg.xacml.match import ResourceMatch 
    1414 
    1515 
  • TI12-security/trunk/NDG_XACML/ndg/xacml/rule.py

    r6734 r6740  
    1111__revision__ = "$Id: $" 
    1212from ndg.security.common.utils import TypedList 
    13 from ndg.security.common.authz.xacml import PolicyComponent 
    14 from ndg.security.common.authz.xacml.target import Target 
    15 from ndg.security.common.authz.xacml.condition import Condition 
     13from ndg.xacml import PolicyComponent 
     14from ndg.xacml.target import Target 
     15from ndg.xacml.condition import Condition 
    1616 
    1717 
  • TI12-security/trunk/NDG_XACML/ndg/xacml/subject.py

    r6734 r6740  
    1010__contact__ = "Philip.Kershaw@stfc.ac.uk" 
    1111__revision__ = "$Id: $" 
    12 from ndg.security.common.authz.xacml import RequestPropertyBase 
    13 from ndg.security.common.authz.xacml.match import SubjectMatch 
     12from ndg.xacml import RequestPropertyBase 
     13from ndg.xacml.match import SubjectMatch 
    1414 
    1515class Subject(RequestPropertyBase): 
  • TI12-security/trunk/NDG_XACML/ndg/xacml/target.py

    r6734 r6740  
    1616__contact__ = "Philip.Kershaw@stfc.ac.uk" 
    1717__revision__ = "$Id: $" 
    18 from ndg.security.common.authz.xacml import PolicyComponent 
    19 from ndg.security.common.authz.xacml.action import Action 
    20 from ndg.security.common.authz.xacml.resource import Resource 
    21 from ndg.security.common.authz.xacml.subject import Subject 
    22 from ndg.security.common.authz.xacml.environment import Environment 
     18from ndg.xacml import PolicyComponent 
     19from ndg.xacml.action import Action 
     20from ndg.xacml.resource import Resource 
     21from ndg.xacml.subject import Subject 
     22from ndg.xacml.environment import Environment 
    2323 
    2424 
Note: See TracChangeset for help on using the changeset viewer.