projects
/
shibboleth
/
cpp-sp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add ability to generate additional metadata content based on config.
[shibboleth/cpp-sp.git]
/
shibsp
/
attribute
/
resolver
/
impl
/
ChainingAttributeExtractor.cpp
diff --git
a/shibsp/attribute/resolver/impl/ChainingAttributeExtractor.cpp
b/shibsp/attribute/resolver/impl/ChainingAttributeExtractor.cpp
index
c0f5983
..
d10c9a1
100644
(file)
--- a/
shibsp/attribute/resolver/impl/ChainingAttributeExtractor.cpp
+++ b/
shibsp/attribute/resolver/impl/ChainingAttributeExtractor.cpp
@@
-64,6
+64,13
@@
namespace shibsp {
}
}
}
}
+ void generateMetadata(SPSSODescriptor& role) const {
+ for (vector<AttributeExtractor*>::const_iterator i=m_extractors.begin(); i!=m_extractors.end(); ++i) {
+ Locker locker(*i);
+ (*i)->generateMetadata(role);
+ }
+ }
+
private:
vector<AttributeExtractor*> m_extractors;
};
private:
vector<AttributeExtractor*> m_extractors;
};
@@
-96,6
+103,10
@@
AttributeExtractor::~AttributeExtractor()
{
}
{
}
+void AttributeExtractor::generateMetadata(SPSSODescriptor& role) const
+{
+}
+
ChainingAttributeExtractor::ChainingAttributeExtractor(const DOMElement* e)
{
SPConfig& conf = SPConfig::getConfig();
ChainingAttributeExtractor::ChainingAttributeExtractor(const DOMElement* e)
{
SPConfig& conf = SPConfig::getConfig();