Ignore:
Timestamp:
25/03/10 08:27:00 (10 years ago)
Author:
pjkersha
Message:

Added request subject, resource, action and environment types

File:
1 edited

Legend:

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

    r6770 r6771  
    1515class XacmlContextBase(object): 
    1616    """Base class for XACML Request and Response types""" 
     17    ELEMENT_LOCAL_NAME = None 
    1718    __slots__ = () 
     19     
     20    def __init__(self): 
     21        if self.__class__.ELEMENT_LOCAL_NAME is None: 
     22            raise NotImplementedError('Set "ELEMENT_LOCAL_NAME" in a derived ' 
     23                                      'type') 
    1824     
    1925     
Note: See TracChangeset for help on using the changeset viewer.