From: Scott Cantor Date: Tue, 1 Mar 2011 23:30:10 +0000 (+0000) Subject: https://issues.shibboleth.net/jira/browse/CPPXT-71 X-Git-Tag: 1.5.0~126 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-xmltooling.git;a=commitdiff_plain;h=471a22cafa4e9812caec05f47a589dde6d9c1c20 https://issues.shibboleth.net/jira/browse/CPPXT-71 --- diff --git a/xmltooling/security/impl/FilesystemCredentialResolver.cpp b/xmltooling/security/impl/FilesystemCredentialResolver.cpp index d92fd37..26d3dc3 100644 --- a/xmltooling/security/impl/FilesystemCredentialResolver.cpp +++ b/xmltooling/security/impl/FilesystemCredentialResolver.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2001-2010 Internet2 + * Copyright 2001-2011 Internet2 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -348,6 +348,10 @@ FilesystemCredentialResolver::FilesystemCredentialResolver(const DOMElement* e) if (e->hasAttributeNS(nullptr, extractNames)) child->setAttributeNS(nullptr, extractNames, e->getAttributeNS(nullptr, extractNames)); } + if (e->hasAttributeNS(nullptr, _use)) { + dummy->setAttributeNS(nullptr, _use, e->getAttributeNS(nullptr, _use)); + } + e = dummy; // reset "root" to the dummy config element }