[java-plugin-shibd-saml] branch main updated: JSHIBD-29 - Distinguish User-Agent of SPs from IdPs

Codeberg noreply at shibboleth.net
Mon Oct 19 14:17:25 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/a3bf4641c54bb9b8d9ddbf756c186db7d1cb749d

The following commit(s) were added to refs/heads/main by this push:
     new a3bf464  JSHIBD-29 - Distinguish User-Agent of SPs from IdPs
a3bf464 is described below

commit a3bf4641c54bb9b8d9ddbf756c186db7d1cb749d
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Mon Oct 19 10:17:14 2026 -0400

    JSHIBD-29 - Distinguish User-Agent of SPs from IdPs
    
    https://shibboleth.atlassian.net/browse/JSHIBD-29
    
    Added conditional bean to contribute a plugin-specific User-Agent value.
---
 .../src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml      | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sp-saml-conf-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml b/sp-saml-conf-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
index 58f9126..520fa83 100644
--- a/sp-saml-conf-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
+++ b/sp-saml-conf-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
@@ -13,6 +13,9 @@
 
     default-init-method="initialize" default-destroy-method="destroy">
 
+    <bean class="net.shibboleth.sp.service.impl.ConditionalHttpClientUserAgent"
+        c:_0="#{ 'shibd-SAML/' + (T(net.shibboleth.sp.saml.conf.Version).getVersion() ?: 'Unknown') }" />
+
     <import resource="sp-soap-client.xml" />
 
     <!-- Session initiator flows. -->

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list