[java-idp-integration-tests] branch main updated: Do not expect schacHomeOrganization attribute for IdP 4.1
Tom Zeller
tzeller at dragonacea.biz
Wed Jan 26 17:54:05 UTC 2022
This is an automated email from the git hooks/post-receive script.
tzeller pushed a commit to branch main
in repository java-idp-integration-tests.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-integration-tests.git;a=commit;h=2cc6cb195541e51036be3599ff5044beec1c897b
The following commit(s) were added to refs/heads/main by this push:
new 2cc6cb1 Do not expect schacHomeOrganization attribute for IdP 4.1
2cc6cb1 is described below
commit 2cc6cb195541e51036be3599ff5044beec1c897b
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Wed Jan 26 11:44:11 2022 -0600
Do not expect schacHomeOrganization attribute for IdP 4.1
https://shibboleth.atlassian.net/browse/IDP-1899
---
.../idp/test/saml2/SAML2AttributeQueryIntegrationTest.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/test/java/net/shibboleth/idp/test/saml2/SAML2AttributeQueryIntegrationTest.java b/src/test/java/net/shibboleth/idp/test/saml2/SAML2AttributeQueryIntegrationTest.java
index 2f2d49d..411fcc5 100644
--- a/src/test/java/net/shibboleth/idp/test/saml2/SAML2AttributeQueryIntegrationTest.java
+++ b/src/test/java/net/shibboleth/idp/test/saml2/SAML2AttributeQueryIntegrationTest.java
@@ -118,6 +118,12 @@ public class SAML2AttributeQueryIntegrationTest extends AbstractSAML2Integration
ssoValidator.subjectConfirmationDataAddressRanges.add(IPRange.parseCIDRBlock(ipRange));
}
}
+
+ if (idpVersion.startsWith("4.1")) {
+ log.debug("Will not expect schacHomeOrganization attribute for IdP version 4.1");
+ validator.expectedAttributes.remove(validator.homeOrgAttribute);
+ ssoValidator.expectedAttributes.remove(ssoValidator.homeOrgAttribute);
+ }
}
/**
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list