[java-idp-integration-tests] 02/02: Do not expect schacHomeOrganization attribute for IdP 4.1
Tom Zeller
tzeller at dragonacea.biz
Wed Jan 26 17:05:52 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=1ef998a28ec31b6da4ceee1e978c42d736b950ca
commit 1ef998a28ec31b6da4ceee1e978c42d736b950ca
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Wed Jan 26 11:05:35 2022 -0600
Do not expect schacHomeOrganization attribute for IdP 4.1
https://shibboleth.atlassian.net/browse/IDP-1899
---
.../net/shibboleth/idp/test/saml2/AbstractSAML2IntegrationTest.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/test/java/net/shibboleth/idp/test/saml2/AbstractSAML2IntegrationTest.java b/src/test/java/net/shibboleth/idp/test/saml2/AbstractSAML2IntegrationTest.java
index c80dfe8..3515f42 100644
--- a/src/test/java/net/shibboleth/idp/test/saml2/AbstractSAML2IntegrationTest.java
+++ b/src/test/java/net/shibboleth/idp/test/saml2/AbstractSAML2IntegrationTest.java
@@ -110,6 +110,11 @@ public abstract class AbstractSAML2IntegrationTest extends BaseIntegrationTest {
validator.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);
+ }
}
/**
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list