[cpp-opensaml] branch master updated: Propagate per-entity events from Chaining metadata provider.

Scott Cantor cantor.2 at osu.edu
Thu Jan 18 16:14:16 EST 2018


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository cpp-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-opensaml.git;a=commit;h=3ed85d36f115a033ab6ed7f39f549e4c0322b82c

The following commit(s) were added to refs/heads/master by this push:
       new  3ed85d3   Propagate per-entity events from Chaining metadata provider.
3ed85d3 is described below

commit 3ed85d36f115a033ab6ed7f39f549e4c0322b82c
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Jan 18 16:14:11 2018 -0500

    Propagate per-entity events from Chaining metadata provider.
---
 .cproject                                             | 7 ++++---
 .project                                              | 2 ++
 saml/saml2/metadata/impl/ChainingMetadataProvider.cpp | 8 ++++++++
 3 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/.cproject b/.cproject
index b95838e..7fedded 100644
--- a/.cproject
+++ b/.cproject
@@ -22,13 +22,13 @@
 					<folderInfo id="org.eclipse.linuxtools.cdt.autotools.core.configuration.build.198157190." name="/" resourcePath="">
 						<toolChain id="org.eclipse.linuxtools.cdt.autotools.core.toolChain.210386578" name="GNU Autotools Toolchain" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolChain">
 							<targetPlatform id="org.eclipse.linuxtools.cdt.autotools.core.toolchain.targetPlatform.1835469653" isAbstract="false" name="GNU Autotools Target Platform" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolchain.targetPlatform"/>
-							<builder id="org.eclipse.linuxtools.cdt.autotools.core.toolchain.builder.15383968" keepEnvironmentInBuildfile="false" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolchain.builder"/>
+							<builder id="org.eclipse.linuxtools.cdt.autotools.core.toolchain.builder.15383968" keepEnvironmentInBuildfile="false" name="Autotools Makefile Generator" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolchain.builder"/>
 							<tool id="org.eclipse.linuxtools.cdt.autotools.core.gnu.toolchain.tool.configure.93407856" name="configure" superClass="org.eclipse.linuxtools.cdt.autotools.core.gnu.toolchain.tool.configure">
 								<option id="org.eclipse.linuxtools.cdt.autotools.core.option.configure.name.2057544513" name="Name" superClass="org.eclipse.linuxtools.cdt.autotools.core.option.configure.name" value="org.eclipse.linuxtools.cdt.autotools.core.configuration.build.198157190" valueType="string"/>
 							</tool>
 							<tool id="org.eclipse.linuxtools.cdt.autotools.core.toolchain.tool.autogen.1743742833" name="autogen.sh" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolchain.tool.autogen"/>
 							<tool id="org.eclipse.linuxtools.cdt.autotools.core.toolchain.tool.gcc.879367158" name="GCC C Compiler" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolchain.tool.gcc">
-								<option id="gnu.c.compiler.option.include.paths.1656761154" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
+								<option id="gnu.c.compiler.option.include.paths.1656761154" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
 									<listOptionValue builtIn="false" value=""${workspace_loc:/cpp-xmltooling}""/>
 									<listOptionValue builtIn="false" value=""${workspace_loc:/cpp-log4shib}""/>
 									<listOptionValue builtIn="false" value="/opt/local/include"/>
@@ -36,10 +36,11 @@
 								<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1674694355" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
 							</tool>
 							<tool id="org.eclipse.linuxtools.cdt.autotools.core.toolchain.tool.gpp.954071986" name="GCC C++ Compiler" superClass="org.eclipse.linuxtools.cdt.autotools.core.toolchain.tool.gpp">
-								<option id="gnu.cpp.compiler.option.include.paths.1240614729" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
+								<option id="gnu.cpp.compiler.option.include.paths.1240614729" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
 									<listOptionValue builtIn="false" value=""${workspace_loc:/cpp-xmltooling}""/>
 									<listOptionValue builtIn="false" value=""${workspace_loc:/cpp-log4shib}""/>
 									<listOptionValue builtIn="false" value="/opt/local/include"/>
+									<listOptionValue builtIn="false" value=""C:\Users\cantor.2\Shibboleth\boost_1_66_0""/>
 								</option>
 								<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.373263360" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
 							</tool>
diff --git a/.project b/.project
index f83251b..3ef1869 100644
--- a/.project
+++ b/.project
@@ -5,6 +5,8 @@
 	<projects>
 		<project>cpp-log4shib</project>
 		<project>cpp-xmltooling</project>
+		<project>xerces-trunk</project>
+		<project>xml-security-cpp</project>
 	</projects>
 	<buildSpec>
 		<buildCommand>
diff --git a/saml/saml2/metadata/impl/ChainingMetadataProvider.cpp b/saml/saml2/metadata/impl/ChainingMetadataProvider.cpp
index 73bcd96..3a77bbc 100644
--- a/saml/saml2/metadata/impl/ChainingMetadataProvider.cpp
+++ b/saml/saml2/metadata/impl/ChainingMetadataProvider.cpp
@@ -105,6 +105,14 @@ namespace opensaml {
                 emitChangeEvent();
             }
 
+            void onEvent(const ObservableMetadataProvider& provider, const EntityDescriptor& entity) const {
+                // Reset the cache tag for the feed.
+                Lock lock(m_trackerLock);
+                SAMLConfig::getConfig().generateRandomBytes(m_feedTag, 4);
+                m_feedTag = SAMLArtifact::toHex(m_feedTag);
+                emitChangeEvent(entity);
+            }
+
         protected:
             void generateFeed() {
                 // No-op.

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list