[java-identity-provider] branch maint-4 updated: Add schacHomeOrg to test validation.
Scott Cantor
cantor.2 at osu.edu
Fri Mar 15 19:18:48 UTC 2024
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch maint-4
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=918fe5e5e5fe25d0dbe121e08b3ae2138fe8a960
The following commit(s) were added to refs/heads/maint-4 by this push:
new 918fe5e5e Add schacHomeOrg to test validation.
918fe5e5e is described below
commit 918fe5e5e5fe25d0dbe121e08b3ae2138fe8a960
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Mar 15 15:18:43 2024 -0400
Add schacHomeOrg to test validation.
---
.../shibboleth/idp/test/flows/saml1/SAML1TestResponseValidator.java | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/idp-conf/src/test/java/net/shibboleth/idp/test/flows/saml1/SAML1TestResponseValidator.java b/idp-conf/src/test/java/net/shibboleth/idp/test/flows/saml1/SAML1TestResponseValidator.java
index ff624531e..bc3b7a94a 100644
--- a/idp-conf/src/test/java/net/shibboleth/idp/test/flows/saml1/SAML1TestResponseValidator.java
+++ b/idp-conf/src/test/java/net/shibboleth/idp/test/flows/saml1/SAML1TestResponseValidator.java
@@ -497,7 +497,7 @@ public class SAML1TestResponseValidator {
public void assertAttributes(@Nullable final List<Attribute> attributes) {
Assert.assertNotNull(attributes);
Assert.assertFalse(attributes.isEmpty());
- Assert.assertEquals(attributes.size(), usedAttributeDesignators ? 2 : 4);
+ Assert.assertEquals(attributes.size(), usedAttributeDesignators ? 2 : 5);
// Ignore attribute ordering
final Map<String, Attribute> actualAttributes = new HashMap<>();
@@ -516,6 +516,10 @@ public class SAML1TestResponseValidator {
Assert.assertNotNull(actualEPSAAttribute);
assertAttribute(actualEPSAAttribute, "urn:mace:dir:attribute-def:eduPersonScopedAffiliation", "member");
} else {
+ final Attribute actualHomeAttribute = actualAttributes.get("urn:oid:1.3.6.1.4.1.25178.1.2.9");
+ Assert.assertNotNull(actualHomeAttribute);
+ assertAttribute(actualHomeAttribute, "urn:oid:1.3.6.1.4.1.25178.1.2.9", "example.org");
+
final Attribute actualUidAttribute = actualAttributes.get("urn:mace:dir:attribute-def:uid");
Assert.assertNotNull(actualUidAttribute);
assertAttribute(actualUidAttribute, "urn:mace:dir:attribute-def:uid", "jdoe");
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list