[java-opensaml] branch main updated: Fix test issue with map mutation.
Scott Cantor
cantor.2 at osu.edu
Thu Apr 20 17:18:16 UTC 2023
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-opensaml.
View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=e2f75e8a6f25843e752c9a93b58440d8865b5ff9
The following commit(s) were added to refs/heads/main by this push:
new e2f75e8a6 Fix test issue with map mutation.
e2f75e8a6 is described below
commit e2f75e8a6f25843e752c9a93b58440d8865b5ff9
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Apr 20 13:18:13 2023 -0400
Fix test issue with map mutation.
---
.../assertion/impl/HolderOfKeySubjectConfirmationValidatorTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/assertion/impl/HolderOfKeySubjectConfirmationValidatorTest.java b/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/assertion/impl/HolderOfKeySubjectConfirmationValidatorTest.java
index b4098d587..d22f6e184 100644
--- a/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/assertion/impl/HolderOfKeySubjectConfirmationValidatorTest.java
+++ b/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/assertion/impl/HolderOfKeySubjectConfirmationValidatorTest.java
@@ -144,9 +144,9 @@ public class HolderOfKeySubjectConfirmationValidatorTest extends BaseAssertionVa
KeyInfoSupport.addCertificate(keyInfo, cert1);
Map<String,Object> staticParams = buildBasicStaticParameters();
+ staticParams.put(SAML2AssertionValidationParameters.SC_HOK_PRESENTER_CERT, cert2);
ValidationContext validationContext = new ValidationContext(staticParams);
- staticParams.put(SAML2AssertionValidationParameters.SC_HOK_PRESENTER_CERT, cert2);
Assert.assertEquals(validator.validate(subjectConfirmation, getAssertion(), validationContext),
ValidationResult.INVALID);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list