Ignore:
Timestamp:
21/06/10 16:38:55 (10 years ago)
Author:
pjkersha
Message:

Incomplete - task 2: XACML-Security Integration

  • added deny overrides rule implementation
File:
1 edited

Legend:

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

    r6825 r7050  
    183183        ruleCombiningAlgClass = self.__ruleCombiningAlgFactory( 
    184184                                                    self.__ruleCombiningAlgId) 
    185         if not issubclass(ruleCombiningAlgClass, RuleCombiningAlgInterface): 
     185        if (not isinstance(ruleCombiningAlgClass, type) or  
     186            not issubclass(ruleCombiningAlgClass, RuleCombiningAlgInterface)): 
    186187            raise TypeError('Expecting %r derived type for rule combining ' 
    187                             'algorithm class; got %r' % 
     188                            'algorithm class; got %r type' % 
    188189                            (RuleCombiningAlgInterface, ruleCombiningAlgClass)) 
    189190             
Note: See TracChangeset for help on using the changeset viewer.