[java-plugin-shibd-saml] branch main updated: Add wiring for conditional replay checking of assertion.
Codeberg
noreply at shibboleth.net
Fri Nov 20 17:22:00 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository java-plugin-shibd-saml.
View the commit online:
https://codeberg.org/Shibboleth/java-plugin-shibd-saml/commit/0562a8bec461a716a17fc741454c05df816ed260
The following commit(s) were added to refs/heads/main by this push:
new 0562a8b Add wiring for conditional replay checking of assertion.
0562a8b is described below
commit 0562a8bec461a716a17fc741454c05df816ed260
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Fri Nov 20 10:34:10 2026 -0500
Add wiring for conditional replay checking of assertion.
---
.../shibboleth/idp/flows/sp/consumer/saml2/saml2-beans.xml | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/sp-saml-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/consumer/saml2/saml2-beans.xml b/sp-saml-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/consumer/saml2/saml2-beans.xml
index 8f32ad7..9a2a8a1 100644
--- a/sp-saml-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/consumer/saml2/saml2-beans.xml
+++ b/sp-saml-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/consumer/saml2/saml2-beans.xml
@@ -147,7 +147,13 @@
<bean class="org.opensaml.saml.saml2.assertion.impl.AuthnStatementValidator" />
</util:list>
</constructor-arg>
- <constructor-arg index="3" value="#{getObject('%{sp.saml.assertionValidator:}'.trim())}" />
+ <!-- Generic AssertionValidators -->
+ <constructor-arg index="3">
+ <util:list>
+ <value>#{%{sp.saml.checkReplay:true} ? getObject('AssertionReplayValidator') : null}</value>
+ <value>#{getObject('%{sp.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">
@@ -155,6 +161,11 @@
</constructor-arg>
</bean>
+ <bean id="AssertionReplayValidator" class="org.opensaml.saml.saml2.assertion.impl.AssertionReplayValidator">
+ <constructor-arg ref="shibboleth.ReplayCache" />
+ <constructor-arg value="#{null}" />
+ </bean>
+
<bean id="AssertionValidationContextBuilder" class="org.opensaml.saml.saml2.assertion.messaging.impl.DefaultAssertionValidationContextBuilder">
<property name="clockSkew" value="%{sp.saml.clockSkew:%{sp.policy.clockSkew:PT3M}}" />
<property name="lifetime" value="%{sp.saml.messageLifetime:%{sp.policy.messageLifetime:PT3M}}" />
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list