[java-opensaml] 05/09: OSJ-419 - SAML20AssertionValidator creates mis-formatted error string
Scott Cantor
cantor.2 at osu.edu
Thu Mar 13 18:41:56 UTC 2025
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch maint-5.1
in repository java-opensaml.
View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=c3972e68af223e1a583a4243425e8fc5a6ba1afc
commit c3972e68af223e1a583a4243425e8fc5a6ba1afc
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Oct 3 13:06:32 2024 -0400
OSJ-419 - SAML20AssertionValidator creates mis-formatted error string
https://shibboleth.atlassian.net/browse/OSJ-419
---
.../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 be8765241..9c139465b 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
@@ -422,7 +422,7 @@ public class SAML20AssertionValidator {
// Check assertion has not expired
if (expiration.isBefore(now)) {
context.getValidationFailureMessages().add(
- String.format("Assertion IssueInstant was expired: IssueInstant: '{}', expiration: '{}', now: '{}'",
+ String.format("Assertion IssueInstant was expired: IssueInstant: '%s', expiration: '%s', now: '%s'",
issueInstant, expiration, now));
return ValidationResult.INVALID;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list