Ignore:
Timestamp:
13/08/10 15:20:05 (10 years ago)
Author:
pjkersha
Message:

Incomplete - task 2: XACML-Security Integration

  • adding in functionality for call out to PIP via context handler from Subject Attribute Designator
File:
1 edited

Legend:

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

    r7109 r7324  
    108108    __slots__ = ('__value',)  
    109109     
    110     def __init__(self): 
    111         """Derived classes must override setting TYPE class variable""" 
     110    def __init__(self, value=None): 
     111        """Derived classes must override setting TYPE class variable 
     112         
     113        @param value: initialise the attribute value by setting this keyword 
     114        @type value: (set by self.__class__.TYPE) 
     115        """ 
    112116         
    113117        super(AttributeValue, self).__init__() 
     
    120124        # Allow derived classes to make an implicit data type setting 
    121125        self.dataType = self.__class__.IDENTIFIER 
     126         
     127        if value is not None: 
     128            self.value = value 
    122129 
    123130    def __repr__(self): 
Note: See TracChangeset for help on using the changeset viewer.