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=c68de898ffcc68bbe23bb99ee7189afb3fa00e46
The following commit(s) were added to refs/heads/main by this push:
new c68de89 Expect schacHomeOrganization attribute for IdP 4.2+
c68de89 is described below
commit c68de898ffcc68bbe23bb99ee7189afb3fa00e46
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Thu Jan 27 09:16:04 2022 -0600
Expect schacHomeOrganization attribute for IdP 4.2+
https://shibboleth.atlassian.net/browse/IDP-1899
---
.../net/shibboleth/idp/test/saml2/AbstractSAML2IntegrationTest.java | 3 +++
.../idp/test/saml2/SAML2AttributeQueryIntegrationTest.java | 6 ++++++
2 files changed, 9 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 3515f42..587efd8 100644
--- a/src/test/java/net/shibboleth/idp/test/saml2/AbstractSAML2IntegrationTest.java
+++ b/src/test/java/net/shibboleth/idp/test/saml2/AbstractSAML2IntegrationTest.java
@@ -310,6 +310,9 @@ public abstract class AbstractSAML2IntegrationTest extends BaseIntegrationTest {
validator.expectedAttributes.clear();
validator.expectedAttributes.add(validator.mailAttribute);
+ if (!idpVersion.startsWith("4.1")) {
+ validator.expectedAttributes.add(validator.homeOrgAttribute);
+ }
validateResponse();
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 411fcc5..669e66b 100644
--- a/src/test/java/net/shibboleth/idp/test/saml2/SAML2AttributeQueryIntegrationTest.java
+++ b/src/test/java/net/shibboleth/idp/test/saml2/SAML2AttributeQueryIntegrationTest.java
@@ -802,6 +802,9 @@ public class SAML2AttributeQueryIntegrationTest extends AbstractSAML2Integration
ssoValidator.expectedAttributes.clear();
ssoValidator.expectedAttributes.add(validator.mailAttribute);
+ if (!idpVersion.startsWith("4.1")) {
+ ssoValidator.expectedAttributes.add(validator.homeOrgAttribute);
+ }
validateSSOResponse();
@@ -815,6 +818,9 @@ public class SAML2AttributeQueryIntegrationTest extends AbstractSAML2Integration
validator.expectedAttributes.clear();
validator.expectedAttributes.add(validator.mailAttribute);
+ if (!idpVersion.startsWith("4.1")) {
+ validator.expectedAttributes.add(validator.homeOrgAttribute);
+ }
validateResponse();
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.