Package ndg :: Package xacml :: Package core :: Package context :: Module subject :: Class Subject
[hide private]

Class Subject

source code

   object --+            
            |            
XacmlCoreBase --+        
                |        
 XacmlContextBase --+    
                    |    
     RequestChildBase --+
                        |
                       Subject
Known Subclasses:

XACML Context Subject type

Instance Methods [hide private]
 
__init__(self)
Initialise attribute list
source code
string
_get_subjectCategory(self)
Get subject category
source code
 
_set_subjectCategory(self, value)
Set subject category
source code

Inherited from RequestChildBase: __getstate__

Inherited from XacmlContextBase: __setstate__

Inherited from XacmlCoreBase (private): _getXmlns, _setXmlns

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
NoneType but implement as string in derived classes ELEMENT_LOCAL_NAME = 'Subject'
XML element local name for the given type
string SUBJECT_CATEGORY_ATTRIB_NAME = 'SubjectCategory'
subject category XML attribute name

Inherited from XacmlContextBase: XACML_2_0_CONTEXT_NS, XACML_2_0_CONTEXT_NS_PREFIX

Inherited from XacmlCoreBase: XACML_1_0_NS_PREFIX, XACML_2_0_NS_PREFIX, XMLNS

Instance Variables [hide private]
string __subjectCategory
subject category XML attribute name
Properties [hide private]
  subjectCategory
Subject category

Inherited from RequestChildBase: attributes

Inherited from XacmlCoreBase: elem, isValidXmlns, xmlns

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Initialise attribute list

Raises:
  • NotImplementedError - derived classes must set ELEMENT_LOCAL_NAME to a string
Overrides: object.__init__
(inherited documentation)

_get_subjectCategory(self)

source code 

Get subject category

Returns: string
subject category XML attribute name

_set_subjectCategory(self, value)

source code 

Set subject category

Parameters:
  • value (string) - subject category XML attribute name
Raises:
  • TypeError - incorrect type for input

Property Details [hide private]

subjectCategory

Subject category

Get Method:
_get_subjectCategory(self) - Get subject category
Set Method:
_set_subjectCategory(self, value) - Set subject category