X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=shibsp%2Fattribute%2Fresolver%2Fimpl%2FXMLAttributeExtractor.cpp;h=8c3920fffe79fb3119773c4385a06cdcc637a3d8;hb=555b620a5bb9a580a2389e5ef5e86b9b24e8e3e8;hp=dbf41dd94fa7684a5021866f1fea8957dac6a08f;hpb=c480481a94b070715550fcb3df6da06c7671bf64;p=shibboleth%2Fcpp-sp.git diff --git a/shibsp/attribute/resolver/impl/XMLAttributeExtractor.cpp b/shibsp/attribute/resolver/impl/XMLAttributeExtractor.cpp index dbf41dd..8c3920f 100644 --- a/shibsp/attribute/resolver/impl/XMLAttributeExtractor.cpp +++ b/shibsp/attribute/resolver/impl/XMLAttributeExtractor.cpp @@ -249,7 +249,7 @@ XMLExtractorImpl::XMLExtractorImpl(const DOMElement* e, Category& log) try { auto_ptr_char type(child->getAttributeNS(NULL, _type)); if (!type.get() || !*type.get()) - throw ConfigurationException("MetadataProvider element missing type attribute."); + throw ConfigurationException("TrustEngine element missing type attribute."); m_log.info("building TrustEngine of type %s...", type.get()); m_trust = XMLToolingConfig::getConfig().TrustEngineManager.newPlugin(type.get(), child); } @@ -572,7 +572,7 @@ void XMLExtractorImpl::extractAttributes( // Prime the map reference with an empty decoded map. cacheEntry = m_decodedMap.insert(make_pair(observable,decoded_t())).first; - + // Downgrade the lock. // We don't have to recheck because we never erase the master map entry entirely, even on changes. m_attrLock->unlock();