[shibboleth-sp2] 01/23: CPPOST-98 Skip signature filters

Ferenc Wágner wferi at moszumanska.debian.org
Wed Feb 21 10:57:06 UTC 2018


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

wferi pushed a commit to branch master
in repository shibboleth-sp2.

commit 61740cc06992ad1c53e13a75a30643f55f36f2c7
Author: Rod Widdowson <rdw at steadingsoftware.com>
Date:   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();
                 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git



More information about the Pkg-shibboleth-devel mailing list