[java-idp-integration-tests] branch main updated: Workaround expected attribute changes
Tom Zeller
tzeller at dragonacea.biz
Tue Mar 19 15:11:15 UTC 2024
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=32a869deeef15d0564cff98556304604f4b1b906
The following commit(s) were added to refs/heads/main by this push:
new 32a869d Workaround expected attribute changes
32a869d is described below
commit 32a869deeef15d0564cff98556304604f4b1b906
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Tue Mar 19 10:11:06 2024 -0500
Workaround expected attribute changes
See ba5c0bd8d18805e72ad43ab1d66d22755391bc95 in idp-conf-impl
---
.../idp/integration/tests/saml1/SAML1TestResponseValidator.java | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/test/java/net/shibboleth/idp/integration/tests/saml1/SAML1TestResponseValidator.java b/src/test/java/net/shibboleth/idp/integration/tests/saml1/SAML1TestResponseValidator.java
index 811a424..33eecd2 100644
--- a/src/test/java/net/shibboleth/idp/integration/tests/saml1/SAML1TestResponseValidator.java
+++ b/src/test/java/net/shibboleth/idp/integration/tests/saml1/SAML1TestResponseValidator.java
@@ -32,8 +32,12 @@ public class SAML1TestResponseValidator extends net.shibboleth.idp.test.flows.sa
@Override
public void assertAttributes(List<Attribute> attributes) {
if (idpVersion != null && idpVersion.startsWith("4")) {
- log.info("Expect 4 attributes instead of 5 for IdP V4");
- assertAttributesV4(attributes);
+ if (idpVersion.startsWith("4.3.2")) {
+ super.assertAttributes(attributes);
+ } else {
+ log.info("Expect 4 attributes instead of 5 for IdP V4 (4.3.1 or earlier)");
+ assertAttributesV4(attributes);
+ }
} else {
super.assertAttributes(attributes);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list