[java-plugin-shibd] 02/02: Add parent flow for logout consumer subflows.

Codeberg noreply at shibboleth.net
Thu May 21 14:32:02 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/55000de92b779773f85827d11b7281dc94f354e6

commit 55000de92b779773f85827d11b7281dc94f354e6
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Thu May 21 10:29:56 2026 -0400

    Add parent flow for logout consumer subflows.
---
 .../idp/flows/sp/logout/consumer/consumer-flow.xml | 50 ++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/logout/consumer/consumer-flow.xml b/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/logout/consumer/consumer-flow.xml
new file mode 100644
index 0000000..f9b6878
--- /dev/null
+++ b/sp-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/logout/consumer/consumer-flow.xml
@@ -0,0 +1,50 @@
+<flow xmlns="http://www.springframework.org/schema/webflow"
+      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+      xsi:schemaLocation="http://www.springframework.org/schema/webflow http://www.springframework.org/schema/webflow/spring-webflow.xsd"
+      abstract="true">
+
+    <!-- Rudimentary impediment to direct execution of subflow. -->
+    <input name="calledAsSubflow" type="boolean" required="true" />
+
+    <!-- Defines the possible end-state events, and a global transition rule. -->
+
+    <!-- Successful completion of subflow. -->
+    <end-state id="proceed" />
+
+    <!-- Error events to reflect back from this subflow. -->
+    <end-state id="InvalidEvent" />
+    <end-state id="InvalidMessage" />
+    <end-state id="InvalidProfileContext" />
+    <end-state id="InvalidProfileConfiguration" />
+    <end-state id="InvalidRelyingPartyContext" />
+    <end-state id="InvalidRelyingPartyConfiguration" />
+    <end-state id="InvalidSecurityConfiguration" />
+    <end-state id="MessageProcessingError" />
+    <end-state id="NoPassive" />
+    <end-state id="ReselectFlow" />
+    <end-state id="RuntimeException" />
+
+    <action-state id="LogRuntimeException">
+        <on-entry>
+            <evaluate expression="LogRuntimeException.log('net.shibboleth.sp.profile.logout.consumer', flowExecutionException)" />
+        </on-entry>
+        <evaluate expression="'RuntimeException'" />
+        
+        <transition to="RuntimeException" />
+    </action-state>
+
+    <global-transitions>
+        <transition on-exception="java.lang.RuntimeException" to="LogRuntimeException" />
+        <transition on="InvalidProfileContext" to="InvalidProfileContext" />
+        <transition on="InvalidMessage" to="InvalidMessage" />
+        <transition on="InvalidProfileConfiguration" to="InvalidProfileConfiguration" />
+        <transition on="InvalidRelyingPartyContext" to="InvalidRelyingPartyContext" />
+        <transition on="InvalidRelyingPartyConfiguration" to="InvalidRelyingPartyConfiguration" />
+        <transition on="InvalidSecurityConfiguration" to="InvalidSecurityConfiguration" />
+        <transition on="NoPassive" to="NoPassive" />
+        <transition on="ReselectFlow" to="ReselectFlow" />
+        <transition on="MessageProcessingError" to="MessageProcessingError" />
+        <transition on="RuntimeException" to="RuntimeException" />
+    </global-transitions>
+
+</flow>

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


More information about the commits mailing list