[cpp-opensaml COMMIT] in /branches/REL_2/saml/saml2/metadata/impl: EntityAttributesEntityMatcher.cpp EntityAttributes...

noreply at shibboleth.net noreply at shibboleth.net
Sun Feb 24 17:33:11 EST 2013


Author: scantor
Date: Sun Feb 24 17:33:11 2013
New Revision: 761

URL: http://svn.shibboleth.net/view/cpp-opensaml?rev=761&view=rev
Log:
https://issues.shibboleth.net/jira/browse/CPPOST-83

Modified:
    branches/REL_2/saml/saml2/metadata/impl/EntityAttributesEntityMatcher.cpp
    branches/REL_2/saml/saml2/metadata/impl/EntityAttributesMetadataFilter.cpp

Modified: branches/REL_2/saml/saml2/metadata/impl/EntityAttributesEntityMatcher.cpp
URL: http://svn.shibboleth.net/view/cpp-opensaml/branches/REL_2/saml/saml2/metadata/impl/EntityAttributesEntityMatcher.cpp?rev=761&r1=760&r2=761&view=diff
==============================================================================
--- branches/REL_2/saml/saml2/metadata/impl/EntityAttributesEntityMatcher.cpp (original)
+++ branches/REL_2/saml/saml2/metadata/impl/EntityAttributesEntityMatcher.cpp Sun Feb 24 17:33:11 2013
@@ -107,7 +107,7 @@
     DOMElement* child = XMLHelper::getFirstChildElement(e, samlconstants::SAML20_NS, Attribute::LOCAL_NAME);
     while (child) {
         boost::shared_ptr<XMLObject> obj(AttributeBuilder::buildOneFromElement(child));
-        m_tags.push_back(boost::shared_dynamic_cast<Attribute>(obj));
+        m_tags.push_back(boost::dynamic_pointer_cast<Attribute>(obj));
         child = XMLHelper::getNextSiblingElement(child, samlconstants::SAML20_NS, Attribute::LOCAL_NAME);
     }
 

Modified: branches/REL_2/saml/saml2/metadata/impl/EntityAttributesMetadataFilter.cpp
URL: http://svn.shibboleth.net/view/cpp-opensaml/branches/REL_2/saml/saml2/metadata/impl/EntityAttributesMetadataFilter.cpp?rev=761&r1=760&r2=761&view=diff
==============================================================================
--- branches/REL_2/saml/saml2/metadata/impl/EntityAttributesMetadataFilter.cpp (original)
+++ branches/REL_2/saml/saml2/metadata/impl/EntityAttributesMetadataFilter.cpp Sun Feb 24 17:33:11 2013
@@ -84,7 +84,7 @@
     while (child) {
         if (XMLHelper::isNodeNamed(child, samlconstants::SAML20_NS, Attribute::LOCAL_NAME)) {
             boost::shared_ptr<XMLObject> obj(AttributeBuilder::buildOneFromElement(child));
-            m_attributes.push_back(boost::shared_dynamic_cast<Attribute>(obj));
+            m_attributes.push_back(boost::dynamic_pointer_cast<Attribute>(obj));
         }
         else if (XMLString::equals(child->getLocalName(), Entity)) {
             const XMLCh* eid = child->getTextContent();



More information about the commits mailing list