[java-plugin-shibd] branch main updated: Initiator parent flows will set logging ID when finishing successfully.

Codeberg noreply at shibboleth.net
Mon Jun 29 18:55:36 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/8a5d78279744200a57e7b3d4b1892be73ef95de6

The following commit(s) were added to refs/heads/main by this push:
     new 8a5d782  Initiator parent flows will set logging ID when finishing successfully.
8a5d782 is described below

commit 8a5d78279744200a57e7b3d4b1892be73ef95de6
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Mon Jun 29 14:55:26 2026 -0400

    Initiator parent flows will set logging ID when finishing successfully.
---
 .../net/shibboleth/idp/flows/sp/initiator/initiator-flow.xml        | 6 +++++-
 .../net/shibboleth/idp/flows/sp/logout/initiator/initiator-flow.xml | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/initiator/initiator-flow.xml b/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/initiator/initiator-flow.xml
index 6f59546..6bc5542 100644
--- a/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/initiator/initiator-flow.xml
+++ b/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/initiator/initiator-flow.xml
@@ -9,7 +9,11 @@
     <!-- Defines the possible end-state events, and a global transition rule. -->
 
     <!-- Successful completion of subflow. -->
-    <end-state id="proceed" />
+    <end-state id="proceed">
+        <on-entry>
+            <evaluate expression="opensamlProfileRequestContext.setLoggingId(flowRequestContext.getActiveFlow().getApplicationContext().getBean('shibboleth.sp.loggingId'))" />
+        </on-entry>
+    </end-state>
 
     <!-- Error events to reflect back from this subflow. -->
     <end-state id="InvalidEvent" />
diff --git a/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/logout/initiator/initiator-flow.xml b/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/logout/initiator/initiator-flow.xml
index b8e9190..4b5b283 100644
--- a/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/logout/initiator/initiator-flow.xml
+++ b/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/logout/initiator/initiator-flow.xml
@@ -9,7 +9,11 @@
     <!-- Defines the possible end-state events, and a global transition rule. -->
 
     <!-- Successful completion of subflow. -->
-    <end-state id="proceed" />
+    <end-state id="proceed">
+        <on-entry>
+            <evaluate expression="opensamlProfileRequestContext.setLoggingId(flowRequestContext.getActiveFlow().getApplicationContext().getBean('shibboleth.sp.loggingId'))" />
+        </on-entry>
+    </end-state>
 
     <!-- Error events to reflect back from this subflow. -->
     <end-state id="InvalidEvent" />

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


More information about the commits mailing list