[java-identity-provider] branch main updated: OSJ-458: AssertionValidator for assertion replay checking
Codeberg
noreply at shibboleth.net
Fri Nov 20 03:32: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-identity-provider.
View the commit online:
https://codeberg.org/Shibboleth/java-identity-provider/commit/5e8d518ab961231c5f590865901cfb4b35392923
The following commit(s) were added to refs/heads/main by this push:
new 5e8d518ab OSJ-458: AssertionValidator for assertion replay checking
5e8d518ab is described below
commit 5e8d518ab961231c5f590865901cfb4b35392923
Author: Brent Putman <putmanb at georgetown.edu>
AuthorDate: Thu Nov 19 22:04:03 2026 -0500
OSJ-458: AssertionValidator for assertion replay checking
Adjust bean wiring for new AssertionReplayValidator.
---
.../net/shibboleth/idp/conf/attribute-resolver-system.xml | 12 ++++++++++--
.../net/shibboleth/idp/flows/authn/saml-authn-beans.xml | 11 ++++++++++-
2 files changed, 20 insertions(+), 3 deletions(-)
diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/attribute-resolver-system.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/attribute-resolver-system.xml
index 6980e451e..9869ffab4 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/attribute-resolver-system.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/attribute-resolver-system.xml
@@ -40,8 +40,16 @@
</constructor-arg>
<!-- Statement validators. -->
<constructor-arg index="2" value="#{getObject('%{idp.attribute-resolver.dc.SAML.statementValidators:}'.trim())}" />
- <!-- Generic AssertionValidator -->
- <constructor-arg index="3" value="#{getObject('%{idp.attribute-resolver.dc.SAML.assertionValidator:}'.trim())}" />
+ <!-- Generic AssertionValidators -->
+ <constructor-arg index="3">
+ <util:list>
+ <bean class="org.opensaml.saml.saml2.assertion.impl.AssertionReplayValidator">
+ <constructor-arg ref="shibboleth.ReplayCache" />
+ <constructor-arg value="#{null}" />
+ </bean>
+ <value>#{getObject('%{idp.attribute-resolver.dc.SAML.assertionValidator:}'.trim())}</value>
+ </util:list>
+ </constructor-arg>
<!-- SignatureTrustEngine -->
<!-- This is null b/c in this case we use a dynamically-resolved engine in the ValidationContext -->
<constructor-arg index="4" value="#{null}" />
diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/authn/saml-authn-beans.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/authn/saml-authn-beans.xml
index 4bd5ac767..2318c71fa 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/authn/saml-authn-beans.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/authn/saml-authn-beans.xml
@@ -366,7 +366,16 @@
<bean class="org.opensaml.saml.saml2.assertion.impl.AuthnStatementValidator" />
</util:list>
</constructor-arg>
- <constructor-arg index="3" value="#{getObject('%{idp.authn.SAML.assertionValidator:}'.trim())}" />
+ <!-- Generic AssertionValidators -->
+ <constructor-arg index="3">
+ <util:list>
+ <bean class="org.opensaml.saml.saml2.assertion.impl.AssertionReplayValidator">
+ <constructor-arg ref="shibboleth.ReplayCache" />
+ <constructor-arg value="#{null}" />
+ </bean>
+ <value>#{getObject('%{idp.authn.SAML.assertionValidator:}'.trim())}</value>
+ </util:list>
+ </constructor-arg>
<!-- This is null b/c in this case we use a dynamically-resolved engine in the ValidationContext -->
<constructor-arg index="4" value="#{null}" />
<constructor-arg index="5">
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list