[java-plugin-shibd] branch main updated: JSHIBD-26 - Review incrementing of profile metric in various flows

Codeberg noreply at shibboleth.net
Wed Oct 14 16:20:49 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.

View the commit online:
https://codeberg.org/Shibboleth/java-plugin-shibd/commit/b0e815f175677c6e1607e5432458a357aa110f14

The following commit(s) were added to refs/heads/main by this push:
     new b0e815f  JSHIBD-26 - Review incrementing of profile metric in various flows
b0e815f is described below

commit b0e815f175677c6e1607e5432458a357aa110f14
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Wed Oct 14 12:20:38 2026 -0400

    JSHIBD-26 - Review incrementing of profile metric in various flows
    
    https://shibboleth.atlassian.net/browse/JSHIBD-26
    
    Add counter bean to top-level flows.
---
 .../shibboleth/idp/flows/sp/logout-consumer/logout-consumer-beans.xml  | 2 ++
 .../idp/flows/sp/logout-initiator/logout-initiator-beans.xml           | 2 ++
 .../resources/META-INF/net/shibboleth/idp/flows/sp/ping/ping-beans.xml | 2 ++
 .../META-INF/net/shibboleth/idp/flows/sp/sealer/sealer-beans.xml       | 2 ++
 .../net/shibboleth/idp/flows/sp/session-cache/session-cache-beans.xml  | 2 ++
 .../idp/flows/sp/session-initiator/session-initiator-beans.xml         | 2 ++
 .../META-INF/net/shibboleth/idp/flows/sp/storage/storage-beans.xml     | 3 +++
 .../shibboleth/idp/flows/sp/token-consumer/token-consumer-beans.xml    | 2 ++
 8 files changed, 17 insertions(+)

diff --git a/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/logout-consumer/logout-consumer-beans.xml b/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/logout-consumer/logout-consumer-beans.xml
index 55559a7..75aa4ef 100644
--- a/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/logout-consumer/logout-consumer-beans.xml
+++ b/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/logout-consumer/logout-consumer-beans.xml
@@ -10,6 +10,8 @@
     <bean id="shibboleth.sp.profileId" class="java.lang.String" c:_0="http://shibboleth.net/ns/profiles/sp/logout-consumer" />
     <bean id="shibboleth.sp.loggingId" class="java.lang.String" c:_0="%{sp.service.logging.logout-consumer:LogoutConsumer}" />
     
+    <bean id="shibboleth.metrics.ProfileCounter" class="java/lang.String" c_0:="net.shibboleth.sp.profiles.logout-consumer" />
+    
     <bean id="SelectLogoutConsumerFlow"
         class="net.shibboleth.sp.profile.impl.SelectLogoutConsumerFlow" scope="prototype"
         p:availableFlows="#{getObject('shibboleth.sp.LogoutConsumerFlowDescriptorManager').getComponents()}" />
diff --git a/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/logout-initiator/logout-initiator-beans.xml b/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/logout-initiator/logout-initiator-beans.xml
index 2f557fd..8a5a90e 100644
--- a/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/logout-initiator/logout-initiator-beans.xml
+++ b/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/logout-initiator/logout-initiator-beans.xml
@@ -10,4 +10,6 @@
     <bean id="shibboleth.sp.profileId" class="java.lang.String" c:_0="http://shibboleth.net/ns/profiles/sp/logout-initiator" />
     <bean id="shibboleth.sp.loggingId" class="java.lang.String" c:_0="%{sp.service.logging.logout-initiator:LogoutInitiator}" />
 
+    <bean id="shibboleth.metrics.ProfileCounter" class="java/lang.String" c_0:="net.shibboleth.sp.profiles.logout-initiator" />
+
 </beans>
diff --git a/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/ping/ping-beans.xml b/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/ping/ping-beans.xml
index 6690bf7..9abba10 100644
--- a/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/ping/ping-beans.xml
+++ b/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/ping/ping-beans.xml
@@ -10,6 +10,8 @@
     <bean id="shibboleth.sp.profileId" class="java.lang.String" c:_0="http://shibboleth.net/ns/profiles/sp/ping" />
     <bean id="shibboleth.sp.loggingId" class="java.lang.String" c:_0="%{sp.service.logging.ping:Ping}" />
 
+    <bean id="shibboleth.metrics.ProfileCounter" class="java/lang.String" c_0:="net.shibboleth.sp.profiles.ping" />
+
     <bean id="DoPing" class="net.shibboleth.sp.profile.impl.DoPing" scope="prototype" />
 
 </beans>
diff --git a/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/sealer/sealer-beans.xml b/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/sealer/sealer-beans.xml
index 65024b1..38bc7fd 100644
--- a/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/sealer/sealer-beans.xml
+++ b/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/sealer/sealer-beans.xml
@@ -10,6 +10,8 @@
     <bean id="shibboleth.sp.profileId" class="java.lang.String" c:_0="http://shibboleth.net/ns/profiles/sp/sealer" />
     <bean id="shibboleth.sp.loggingId" class="java.lang.String" c:_0="%{sp.service.logging.sealer:Sealer}" />
 
+    <bean id="shibboleth.metrics.ProfileCounter" class="java/lang.String" c_0:="net.shibboleth.sp.profiles.sealer" />
+
     <bean id="DoSealerOperation"
         class="net.shibboleth.sp.profile.impl.DoSealerOperation" scope="prototype"
         p:httpServletRequestSupplier-ref="shibboleth.HttpServletRequestSupplier"
diff --git a/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/session-cache/session-cache-beans.xml b/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/session-cache/session-cache-beans.xml
index 754e839..a8139d2 100644
--- a/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/session-cache/session-cache-beans.xml
+++ b/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/session-cache/session-cache-beans.xml
@@ -10,6 +10,8 @@
     <bean id="shibboleth.sp.profileId" class="java.lang.String" c:_0="http://shibboleth.net/ns/profiles/sp/session-cache" />
     <bean id="shibboleth.sp.loggingId" class="java.lang.String" c:_0="%{sp.service.logging.session-cache:SessionCache}" />
 
+    <bean id="shibboleth.metrics.ProfileCounter" class="java/lang.String" c_0:="net.shibboleth.sp.profiles.session-cache" />
+
     <bean id="DoSessionCacheOperation"
         class="net.shibboleth.sp.profile.impl.DoSessionCacheOperation" scope="prototype"
         p:maxStorageTimeout="%{sp.session.maxStorageTimeout:P1D}"
diff --git a/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/session-initiator/session-initiator-beans.xml b/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/session-initiator/session-initiator-beans.xml
index fbad258..7e76ae1 100644
--- a/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/session-initiator/session-initiator-beans.xml
+++ b/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/session-initiator/session-initiator-beans.xml
@@ -10,6 +10,8 @@
     <bean id="shibboleth.sp.profileId" class="java.lang.String" c:_0="http://shibboleth.net/ns/profiles/sp/session-initiator" />
     <bean id="shibboleth.sp.loggingId" class="java.lang.String" c:_0="%{sp.service.logging.session-initiator:SessionInitiator}" />
     
+    <bean id="shibboleth.metrics.ProfileCounter" class="java/lang.String" c_0:="net.shibboleth.sp.profiles.session-initiator" />
+    
     <!-- Default configuration pulls state token from input message if present. -->
     <bean id="RecoverStateData"
         class="net.shibboleth.sp.profile.impl.RecoverStateData" scope="prototype" />
diff --git a/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/storage/storage-beans.xml b/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/storage/storage-beans.xml
index fa3d2a5..ea7ab29 100644
--- a/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/storage/storage-beans.xml
+++ b/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/storage/storage-beans.xml
@@ -9,6 +9,9 @@
 
     <bean id="shibboleth.sp.profileId" class="java.lang.String" c:_0="http://shibboleth.net/ns/profiles/sp/storage" />
     <bean id="shibboleth.sp.loggingId" class="java.lang.String" c:_0="%{sp.service.logging.storage:Storage}" />
+    
+    <bean id="shibboleth.metrics.ProfileCounter" class="java/lang.String" c_0:="net.shibboleth.sp.profiles.storage" />
+    
 
     <bean id="DoStorageOperation"
         class="net.shibboleth.sp.profile.impl.DoStorageOperation" scope="prototype"
diff --git a/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/token-consumer/token-consumer-beans.xml b/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/token-consumer/token-consumer-beans.xml
index 0b7628a..5ce7c18 100644
--- a/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/token-consumer/token-consumer-beans.xml
+++ b/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/token-consumer/token-consumer-beans.xml
@@ -9,6 +9,8 @@
 
     <bean id="shibboleth.sp.profileId" class="java.lang.String" c:_0="http://shibboleth.net/ns/profiles/sp/token-consumer" />
     <bean id="shibboleth.sp.loggingId" class="java.lang.String" c:_0="%{sp.service.logging.token-consumer:TokenConsumer}" />
+
+    <bean id="shibboleth.metrics.ProfileCounter" class="java/lang.String" c_0:="net.shibboleth.sp.profiles.token-consumer" />
     
     <bean id="SelectTokenConsumerFlow"
         class="net.shibboleth.sp.profile.impl.SelectTokenConsumerFlow" scope="prototype"

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


More information about the commits mailing list