[cpp-sp] branch master updated: CPPOST-98 Skip signature filters

Rod Widdowson rdw at steadingsoftware.com
Mon Nov 27 11:22:46 EST 2017


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

rdw pushed a commit to branch master
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=61740cc06992ad1c53e13a75a30643f55f36f2c7

The following commit(s) were added to refs/heads/master by this push:
       new  61740cc   CPPOST-98 Skip signature filters
61740cc is described below

commit 61740cc06992ad1c53e13a75a30643f55f36f2c7
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Mon Nov 27 16:13:01 2017 +0000

    CPPOST-98 Skip signature filters
    
    https://issues.shibboleth.net/jira/browse/CPPOST-98
    
    Allow skipping of signature filters for reloading metadata cached
    from Dynamic Servers.
---
 shibsp/metadata/DynamicMetadataProvider.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/shibsp/metadata/DynamicMetadataProvider.cpp b/shibsp/metadata/DynamicMetadataProvider.cpp
index 047ca5a..df23c07 100644
--- a/shibsp/metadata/DynamicMetadataProvider.cpp
+++ b/shibsp/metadata/DynamicMetadataProvider.cpp
@@ -40,6 +40,7 @@
 #include <saml/saml2/metadata/Metadata.h>
 #include <saml/saml2/metadata/MetadataProvider.h>
 #include <saml/saml2/metadata/AbstractDynamicMetadataProvider.h>
+#include <saml/saml2/metadata/MetadataFilter.h>
 
 #include <xmltooling/util/Threads.h>
 #include <xmltooling/logging.h>
@@ -460,7 +461,7 @@ void *DynamicMetadataProvider::init_fn(void* pv)
                 auto_ptr<EntityDescriptor> entity (me->entityFromStream(thisFileEntry));
                 thisFileEntry.close();
                 if (entity.get()) {
-                    me->doFilters(*entity);
+                    me->doFilters(BatchLoadMetadataFilterContext(true),  *entity);
                     me->cacheEntity(entity.get());
                     entity.release();
                 }

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


More information about the commits mailing list