[java-opensaml] 02/02: OSJ-458 - AssertionValidator for assertion replay checking
Codeberg
noreply at shibboleth.net
Fri Nov 20 17:39:53 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository java-opensaml.
View the commit online:
https://codeberg.org/Shibboleth/java-opensaml/commit/723cd99cdeee2fac98f472480b69c6b1e03bec80
commit 723cd99cdeee2fac98f472480b69c6b1e03bec80
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Fri Nov 20 11:12:54 2026 -0500
OSJ-458 - AssertionValidator for assertion replay checking
https://shibboleth.atlassian.net/browse/OSJ-458
Guard null parameter to avoid immutable collection failure.
---
.../org/opensaml/saml/saml2/assertion/SAML20AssertionValidator.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/opensaml-saml-api/src/main/java/org/opensaml/saml/saml2/assertion/SAML20AssertionValidator.java b/opensaml-saml-api/src/main/java/org/opensaml/saml/saml2/assertion/SAML20AssertionValidator.java
index ba60e12f7..4fcda465f 100644
--- a/opensaml-saml-api/src/main/java/org/opensaml/saml/saml2/assertion/SAML20AssertionValidator.java
+++ b/opensaml-saml-api/src/main/java/org/opensaml/saml/saml2/assertion/SAML20AssertionValidator.java
@@ -183,7 +183,7 @@ public class SAML20AssertionValidator {
this(newConditionValidators,
newConfirmationValidators,
newStatementValidators,
- List.of(newAssertionValidator),
+ newAssertionValidator != null ? CollectionSupport.singletonList(newAssertionValidator) : null,
newTrustEngine,
newSignaturePrevalidator);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list