#include <shibsp/attribute/resolver/AttributeExtractor.h>
Public Member Functions | |
virtual void | extractAttributes (const Application &application, const opensaml::saml2md::RoleDescriptor *issuer, const xmltooling::XMLObject &xmlObject, std::vector< Attribute * > &attributes) const =0 |
Extracts the attributes found in an XMLObject. | |
virtual void | getAttributeIds (std::vector< std::string > &attributes) const =0 |
Populates an array with the set of Attribute IDs that might be generated. | |
virtual void | generateMetadata (opensaml::saml2md::SPSSODescriptor &role) const |
Generates and/or modifies metadata reflecting the extractor, typically attribute-related requirements. |
virtual void shibsp::AttributeExtractor::extractAttributes | ( | const Application & | application, | |
const opensaml::saml2md::RoleDescriptor * | issuer, | |||
const xmltooling::XMLObject & | xmlObject, | |||
std::vector< Attribute * > & | attributes | |||
) | const [pure virtual] |
Extracts the attributes found in an XMLObject.
application | Application performing the extraction | |
issuer | source of object, if known | |
xmlObject | object to extract | |
attributes | an array to populate with the extracted attributes |
AttributeExtractionException | thrown if there is a problem extracting attributes |
virtual void shibsp::AttributeExtractor::getAttributeIds | ( | std::vector< std::string > & | attributes | ) | const [pure virtual] |
Populates an array with the set of Attribute IDs that might be generated.
attributes | array to populate |
virtual void shibsp::AttributeExtractor::generateMetadata | ( | opensaml::saml2md::SPSSODescriptor & | role | ) | const [virtual] |
Generates and/or modifies metadata reflecting the extractor, typically attribute-related requirements.
The default implementation does nothing.
role | metadata role to decorate |