shibsp::AttributeDecoder Class Reference

Decodes XML objects into resolved Attributes. More...

#include <shibsp/attribute/AttributeDecoder.h>

List of all members.

Public Member Functions

virtual Attributedecode (const std::vector< std::string > &ids, const xmltooling::XMLObject *xmlObject, const char *assertingParty=NULL, const char *relyingParty=NULL) const =0
 Decodes an XMLObject into a resolved Attribute.

Protected Member Functions

 AttributeDecoder (const xercesc::DOMElement *e)
 Constructor.
virtual Attribute_decode (Attribute *attr) const
 Helper method to handle base class decoding housekeeping.

Protected Attributes

bool m_caseSensitive
 Flag for case sensitivity of decoded attributes.
bool m_internal
 Flag for hiding attributes from CGI export.
xmltooling::auto_ptr_char m_hashAlg
 Hash algorithm to apply to decoded values.


Detailed Description

Decodes XML objects into resolved Attributes.


Constructor & Destructor Documentation

shibsp::AttributeDecoder::AttributeDecoder ( const xercesc::DOMElement *  e  )  [protected]

Constructor.

Parameters:
e root of DOM to configure the decoder


Member Function Documentation

virtual Attribute* shibsp::AttributeDecoder::_decode ( Attribute attr  )  const [protected, virtual]

Helper method to handle base class decoding housekeeping.

Parameters:
attr the new Attribute object being created
Returns:
the attr parameter

virtual Attribute* shibsp::AttributeDecoder::decode ( const std::vector< std::string > &  ids,
const xmltooling::XMLObject *  xmlObject,
const char *  assertingParty = NULL,
const char *  relyingParty = NULL 
) const [pure virtual]

Decodes an XMLObject into a resolved Attribute.

Parameters:
ids array containing primary identifier in first position, followed by any aliases
xmlObject XMLObject to decode
assertingParty name of the party asserting the attribute
relyingParty name of the party relying on the attribute
Returns:
a resolved Attribute, or NULL


The documentation for this class was generated from the following file:
Generated on Thu Nov 19 00:58:57 2009 for shibboleth-2.3 by  doxygen 1.4.7