[java-identity-provider] branch main updated: Make SP entityID configurable when validating SAML response audience

Tom Zeller tzeller at dragonacea.biz
Wed Oct 30 21:56:00 UTC 2024


This is an automated email from the git hooks/post-receive script.

tzeller pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=83742922e4736bd2c85e63c00d21cfefec4e4c02

The following commit(s) were added to refs/heads/main by this push:
     new 83742922e Make SP entityID configurable when validating SAML response audience
83742922e is described below

commit 83742922e4736bd2c85e63c00d21cfefec4e4c02
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Wed Oct 30 16:55:49 2024 -0500

    Make SP entityID configurable when validating SAML response audience
    
    Work on SSO tests for more than one SP
    
    https://shibboleth.atlassian.net/browse/IDP-2323
---
 .../shibboleth/idp/test/flows/saml2/SAML2TestResponseValidator.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/idp-conf-impl/src/test/java/net/shibboleth/idp/test/flows/saml2/SAML2TestResponseValidator.java b/idp-conf-impl/src/test/java/net/shibboleth/idp/test/flows/saml2/SAML2TestResponseValidator.java
index d1ed5b736..9699fc62d 100644
--- a/idp-conf-impl/src/test/java/net/shibboleth/idp/test/flows/saml2/SAML2TestResponseValidator.java
+++ b/idp-conf-impl/src/test/java/net/shibboleth/idp/test/flows/saml2/SAML2TestResponseValidator.java
@@ -26,7 +26,6 @@ import java.util.Map;
 import javax.annotation.Nonnull;
 import javax.annotation.Nullable;
 
-import net.shibboleth.idp.test.flows.AbstractFlowTest;
 import net.shibboleth.shared.logic.Constraint;
 import net.shibboleth.shared.net.IPRange;
 
@@ -532,7 +531,7 @@ public class SAML2TestResponseValidator extends SAML2TestStatusResponseTypeValid
         Assert.assertEquals(audiences.size(), 1);
 
         final Audience audience = audiences.get(0);
-        Assert.assertEquals(audience.getURI(), AbstractFlowTest.SP_ENTITY_ID);
+        Assert.assertEquals(audience.getURI(), spEntityID);
     }
 
     /**

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list