#include <shibsp/attribute/AttributeDecoder.h>
Public Member Functions | |
| virtual Attribute * | decode (const xmltooling::GenericRequest *request, const std::vector< std::string > &ids, const xmltooling::XMLObject *xmlObject, const char *assertingParty=nullptr, const char *relyingParty=nullptr) const |
| Decodes an XMLObject into a resolved Attribute. | |
| virtual Attribute * | decode (const std::vector< std::string > &ids, const xmltooling::XMLObject *xmlObject, const char *assertingParty=nullptr, const char *relyingParty=nullptr) const |
Protected Member Functions | |
| AttributeDecoder (const xercesc::DOMElement *e) | |
| Constructor. | |
| virtual Attribute * | _decode (Attribute *attr) const |
| Helper method to handle base class decoding housekeeping. | |
| virtual std::pair< std::vector< xmltooling::XMLObject * >::const_iterator, std::vector< xmltooling::XMLObject * >::const_iterator > | valueRange (const xmltooling::GenericRequest *request, const std::vector< xmltooling::XMLObject * > &objects) const |
| Helper method that returns a range of objects the decoder should operate on, based on the language settings of the decoder and the client request. | |
Protected Attributes | |
| bool | m_caseSensitive |
| Flag for case sensitivity of decoded attributes. | |
| bool | m_internal |
| Flag for hiding attributes from CGI export. | |
| bool | m_langAware |
| Flag for language aware decoding. | |
| std::string | m_hashAlg |
| Hash algorithm to apply to decoded values. | |
| shibsp::AttributeDecoder::AttributeDecoder | ( | const xercesc::DOMElement * | e | ) | [protected] |
Constructor.
| e | root of DOM to configure the decoder |
| virtual Attribute* shibsp::AttributeDecoder::_decode | ( | Attribute * | attr | ) | const [protected, virtual] |
Helper method to handle base class decoding housekeeping.
| attr | the new Attribute object being created |
| virtual Attribute* shibsp::AttributeDecoder::decode | ( | const std::vector< std::string > & | ids, | |
| const xmltooling::XMLObject * | xmlObject, | |||
| const char * | assertingParty = nullptr, |
|||
| const char * | relyingParty = nullptr | |||
| ) | const [virtual] |
| 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 |
| virtual Attribute* shibsp::AttributeDecoder::decode | ( | const xmltooling::GenericRequest * | request, | |
| const std::vector< std::string > & | ids, | |||
| const xmltooling::XMLObject * | xmlObject, | |||
| const char * | assertingParty = nullptr, |
|||
| const char * | relyingParty = nullptr | |||
| ) | const [virtual] |
Decodes an XMLObject into a resolved Attribute.
| request | request triggering the decode, if any | |
| 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 |
| virtual std::pair<std::vector<xmltooling::XMLObject*>::const_iterator,std::vector<xmltooling::XMLObject*>::const_iterator> shibsp::AttributeDecoder::valueRange | ( | const xmltooling::GenericRequest * | request, | |
| const std::vector< xmltooling::XMLObject * > & | objects | |||
| ) | const [protected, virtual] |
Helper method that returns a range of objects the decoder should operate on, based on the language settings of the decoder and the client request.
| request | the client request, if any | |
| objects | the objects to examine |
1.4.7