[java-identity-provider] branch master updated: OSJ-187: Adjust MetadataFilter API to take a passed context
Brent Putman
putmanb at georgetown.edu
Wed Jul 31 18:51:36 EDT 2019
This is an automated email from the git hooks/post-receive script.
putmanb pushed a commit to branch master
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=4ed23a00d5650d82cc06c3891c817cc7f6b0fd20
The following commit(s) were added to refs/heads/master by this push:
new 4ed23a0 OSJ-187: Adjust MetadataFilter API to take a passed context
4ed23a0 is described below
commit 4ed23a00d5650d82cc06c3891c817cc7f6b0fd20
Author: Brent Putman <putmanb at georgetown.edu>
AuthorDate: Wed May 15 21:43:38 2019 -0400
OSJ-187: Adjust MetadataFilter API to take a passed context
---
.../idp/attribute/filter/policyrule/saml/impl/BaseMetadataTests.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/idp-attribute-filter-impl/src/test/java/net/shibboleth/idp/attribute/filter/policyrule/saml/impl/BaseMetadataTests.java b/idp-attribute-filter-impl/src/test/java/net/shibboleth/idp/attribute/filter/policyrule/saml/impl/BaseMetadataTests.java
index f1405e3..7a67ed9 100644
--- a/idp-attribute-filter-impl/src/test/java/net/shibboleth/idp/attribute/filter/policyrule/saml/impl/BaseMetadataTests.java
+++ b/idp-attribute-filter-impl/src/test/java/net/shibboleth/idp/attribute/filter/policyrule/saml/impl/BaseMetadataTests.java
@@ -32,6 +32,7 @@ import org.opensaml.core.xml.XMLObjectBaseTestCase;
import org.opensaml.messaging.context.navigate.ChildContextLookup;
import org.opensaml.saml.common.messaging.context.SAMLMetadataContext;
import org.opensaml.saml.metadata.resolver.filter.FilterException;
+import org.opensaml.saml.metadata.resolver.filter.MetadataFilterContext;
import org.opensaml.saml.metadata.resolver.filter.impl.EntitiesDescriptorNameProcessor;
import org.opensaml.saml.metadata.resolver.filter.impl.NodeProcessingMetadataFilter;
import org.opensaml.saml.saml2.core.Attribute;
@@ -75,7 +76,7 @@ public class BaseMetadataTests extends XMLObjectBaseTestCase {
filter.setNodeProcessors(Arrays.asList(new EntitiesDescriptorNameProcessor(),
new AttributeMappingNodeProcessor(new MockReloadableService<>(registry))));
filter.initialize();
- filter.filter(metadata);
+ filter.filter(metadata, new MetadataFilterContext());
for (EntityDescriptor entity : metadata.getEntityDescriptors()) {
if (IDP_ENTITY_ID.equals(entity.getEntityID())) {
@@ -122,4 +123,4 @@ public class BaseMetadataTests extends XMLObjectBaseTestCase {
return filterContext;
}
-}
\ No newline at end of file
+}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list