[java-opensaml] branch main updated: OSJ-419 - SAML20AssertionValidator creates mis-formatted error string
Scott Cantor
cantor.2 at osu.edu
Thu Oct 3 17:06:35 UTC 2024
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=6c67238d19c83db84c3a8fc20a4d3317f3dfe4c7
The following commit(s) were added to refs/heads/main by this push:
new 6c67238d1 OSJ-419 - SAML20AssertionValidator creates mis-formatted error string
6c67238d1 is described below
commit 6c67238d19c83db84c3a8fc20a4d3317f3dfe4c7
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